zynaddsubfx

ZynAddSubFX open source synthesizer
Log | Files | Refs | Submodules | LICENSE

commit 19b76e79077dea81bc219120cf103bbe53ff25b2
parent 3b38e362d97d475242cd57effc4b14938d3c5574
Author: Christopher A. Oliver <caowasteland@gmail.com>
Date:   Wed,  6 Jan 2016 11:15:28 -0500

Revert "Fix test value to recognize new envelope slopes and endpoints."

This reverts commit 0d00240eb134fc6a92864b01695e1c0b3cb58629.

Diffstat:
Msrc/Tests/AdNoteTest.h | 8++++----
Msrc/Tests/PadNoteTest.h | 6+++---
Msrc/Tests/SubNoteTest.h | 2+-
3 files changed, 8 insertions(+), 8 deletions(-)

diff --git a/src/Tests/AdNoteTest.h b/src/Tests/AdNoteTest.h @@ -138,19 +138,19 @@ class AdNoteTest:public CxxTest::TestSuite note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], -0.099167f, 0.0001f); + TS_ASSERT_DELTA(outL[255], -0.102197f, 0.0001f); note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], -0.108730f, 0.0001f); + TS_ASSERT_DELTA(outL[255], -0.111261f, 0.0001f); note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], -0.030751f, 0.0001f); + TS_ASSERT_DELTA(outL[255], -0.021375f, 0.0001f); note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], 0.146882f, 0.0001f); + TS_ASSERT_DELTA(outL[255], 0.149149f, 0.0001f); while(!note->finished()) { note->noteout(outL, outR); diff --git a/src/Tests/PadNoteTest.h b/src/Tests/PadNoteTest.h @@ -166,15 +166,15 @@ class PadNoteTest:public CxxTest::TestSuite note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], 0.062217f, 0.0005f); + TS_ASSERT_DELTA(outL[255], 0.060818f, 0.0005f); note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], 0.038359f, 0.0005f); + TS_ASSERT_DELTA(outL[255], 0.036895f, 0.0005f); note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], -0.006975f, 0.0001f); + TS_ASSERT_DELTA(outL[255], -0.006623f, 0.0001f); while(!note->finished()) { note->noteout(outL, outR); diff --git a/src/Tests/SubNoteTest.h b/src/Tests/SubNoteTest.h @@ -132,7 +132,7 @@ class SubNoteTest:public CxxTest::TestSuite note->noteout(outL, outR); sampleCount += synth->buffersize; - TS_ASSERT_DELTA(outL[255], -0.0014f, 0.0001f); + TS_ASSERT_DELTA(outL[255], -0.0013f, 0.0001f); note->noteout(outL, outR); sampleCount += synth->buffersize;