25 WaveIndex(l10n::String name, l10n::String title_format_str, int32_t newP)
26 : PatchedParam(name, newP), FormattedTitle(title_format_str) {}
28 [[nodiscard]] std::string_view
getTitle()
const override {
return FormattedTitle::title(); }
31 Sound* sound =
static_cast<Sound*
>(modControllable);
32 Source* source = &sound->sources[whichThing];
33 return (sound->getSynthMode() != SynthMode::FM && source->oscType == OscType::WAVETABLE);