Showing the changes to TestPlugin/Source/MyTest.cpp (1 of 29 files). Show all
Unified · Split
| @@ -58,7 +58,6 @@ void LEAFTest_init (float sampleRate, int blockSize) · 57 unmodified lines | |||
| 58 | tMinBLEPTable_init(&minblep, zeroCrossings, overSamplingRatio); | 58 | tMinBLEPTable_init(&minblep, zeroCrossings, overSamplingRatio); |
| 59 | 59 | ||
| 60 | tMBSaw_init(&saw, &minblep); | 60 | tMBSaw_init(&saw, &minblep); |
| 61 | tMBSaw_free(&saw); | ||
| 62 | 61 | ||
| 63 | tMBPulse_init(&pulse, &minblep); | 62 | tMBPulse_init(&pulse, &minblep); |
| 64 | 63 | ||
| @@ -95,9 +94,9 @@ float LEAFTest_tick (float input) · 30 unmodified lines | |||
| 95 | // if (phasor->phaseDidReset) tMBPulse_sync(&pulse, 0.0f); | 94 | // if (phasor->phaseDidReset) tMBPulse_sync(&pulse, 0.0f); |
| 96 | // if (phasor->phaseDidReset) tMBTriangle_sync(&tri, 0.0f); | 95 | // if (phasor->phaseDidReset) tMBTriangle_sync(&tri, 0.0f); |
| 97 | 96 | ||
| 98 | // return tMBSaw_tick(&saw); | 97 | return tMBSaw_tick(&saw); |
| 99 | // return tMBPulse_tick(&pulse); | 98 | // return tMBPulse_tick(&pulse); |
| 100 | return tMBTriangle_tick(&tri); | 99 | // return tMBTriangle_tick(&tri); |
| 101 | } | 100 | } |
| 102 | 101 | ||
| 103 | int firstFrame = 1; | 102 | int firstFrame = 1; |