Fixed loading custom wavetables

This commit is contained in:
Roland Rabien 2023-10-03 08:23:48 -07:00
commit ee380f205e
2 changed files with 7 additions and 1 deletions

View file

@ -557,7 +557,7 @@ void WavetableAudioProcessor::reloadWavetables()
if (userTable2.getSize() > 0)
{
if (shouldLoad (0, osc2Table.toString(), sr))
if (shouldLoad (1, osc2Table.toString(), sr))
loadWaveTable (osc2Tables, sr, userTable2, "wav", osc2Size);
}
else if (auto mb = loadMemory (osc2Table.toString()); mb.getSize() > 0)