Skip to content
Open
Changes from 1 commit
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Prev Previous commit
Next Next commit
feat: add MIDI soundfont preferences
Extend MidiPreferences to support configurable soundfonts for both
MIDI.js and SpessaSynth synthesizers.

- Add midiJsSoundfont field with MusyngKite as default
- Add spessaSynthSoundfont field for custom SF2/SF3 URLs
- Support user-configurable synthesis quality vs performance
- Enables single MIDI.js port with multiple soundfont options

🤖 Generated with [Claude Code](https://claude.ai/code)

Co-Authored-By: Claude <noreply@anthropic.com>
  • Loading branch information
David Sexton and claude committed Sep 6, 2025
commit 549b62d5655bd6168de86a337d4891e9733adadb
4 changes: 4 additions & 0 deletions src/PreferencesStore.tsx
Original file line number Diff line number Diff line change
Expand Up @@ -35,6 +35,8 @@ export type MidiPreferences = {
enabled: boolean;
lastInputDeviceId?: string;
lastOutputDeviceId?: string;
midiJsSoundfont: string;
spessaSynthSoundfont: string;
};

export type PrefState = {
Expand Down Expand Up @@ -114,6 +116,8 @@ class PreferencesStore {
},
midi: {
enabled: false,
midiJsSoundfont: 'MusyngKite', // Default to MusyngKite
spessaSynthSoundfont: '', // Empty default, user will need to provide soundfont URL
},
};
}
Expand Down