Fetch JUCE into build/, tidy gitignore, expand README

This commit is contained in:
Armin 2026-09-12 21:53:16 +02:00
commit ab9ea542a7
12 changed files with 350 additions and 149 deletions

View file

@ -131,7 +131,7 @@ void SM26AudioProcessor::parameterChanged (const juce::String& parameterID, floa
if (parameterID == "preset")
{
int idx = (int) std::round (newValue * (float) (sm26::PresetStore::count() - 1));
int idx = juce::roundToInt (newValue);
idx = juce::jlimit (0, sm26::PresetStore::count() - 1, idx);
engine.setPresetIndex (idx);
applyPresetKnobs();