Introduce first cut of live shifter

This commit is contained in:
Chris Cannam
2023-06-29 16:49:30 +01:00
parent 1eddafd7a7
commit 5935d17ee0
14 changed files with 4284 additions and 2 deletions

View File

@@ -25,6 +25,7 @@
#undef RB_PLUGIN_LADSPA
#include "RubberBandPitchShifter.cpp"
#include "RubberBandR3PitchShifter.cpp"
#include "RubberBandLivePitchShifter.cpp"
#include <stdio.h>
@@ -35,8 +36,10 @@ const LV2_Descriptor *lv2_descriptor(uint32_t index)
{
if (index < 2) {
return RubberBandPitchShifter::getDescriptor(index);
} else {
} else if (index < 4) {
return RubberBandR3PitchShifter::getDescriptor(index - 2);
} else {
return RubberBandLivePitchShifter::getDescriptor(index - 4);
}
}