Showing the changes to TestPlugin/Source/MyTest.cpp (1 of 7 files). Show all
Unified · Split
| @@ -32,7 +32,7 @@ tNoise noise; · 31 unmodified lines | ||
| 32 | 32 | tButterworth bw; |
| 33 | 33 | |
| 34 | 34 | tWaveTable wt; |
| 35 | −tCompactWaveTable cwt; | |
| 35 | +tWaveTableS cwt; | |
| 36 | 36 | tWaveSynth ws; |
| 37 | 37 | |
| 38 | 38 | tBuffer samp; |
| @@ -64,7 +64,7 @@ void LEAFTest_init (float sampleRate, int blockSize) · 25 unmodified lines | ||
| 64 | 64 | LEAF_init(&leaf, sampleRate, blockSize, memory, MSIZE, &getRandomFloat); |
| 65 | 65 | |
| 66 | 66 | // tWaveTable_init(&wt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf); |
| 67 | −// tCompactWaveTable_init(&cwt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf); | |
| 67 | +// tWaveTableS_init(&cwt, __leaf_table_sawtooth[0], 2048, 10000.f, &leaf); | |
| 68 | 68 | |
| 69 | 69 | tMBTriangle_init(&btri, &leaf); |
| 70 | 70 | tMBPulse_init(&bpulse, &leaf); |
| @@ -118,7 +118,7 @@ void LEAFTest_block (void) · 47 unmodified lines | ||
| 118 | 118 | tMBPulse_setFreq(&bpulse, val * 160000.f - 80000.0f); |
| 119 | 119 | tMBSaw_setFreq(&bsaw, val * 10000.f); |
| 120 | 120 | // tWaveTable_setFreq(&wt, val * 160000.f - 80000.0f); |
| 121 | −// tCompactWaveTable_setFreq(&cwt, val * 10000.); | |
| 121 | +// tWaveTableS_setFreq(&cwt, val * 10000.); | |
| 122 | 122 | tWaveSynth_setFreq(&ws, 0, val * 10000.f); |
| 123 | 123 | // tRetune_tuneVoice(&retune, 0, val * 3.0f + 0.5f); |
| 124 | 124 | // tSimpleRetune_tuneVoice(&sretune, 0, 300); |