SOUNDFONT
Plays your own .sf2 SoundFont libraries inside a modular patch.
Sound SourcesPer voice: one copy for every note that sounds
Overview
The SOUNDFONT player loads standard .sf2 SoundFont files and plays their presets from the keyboard, so you can use your own sample libraries alongside synthmax's synthesized sounds — through its filters, effects and mixers. Fonts load in the background, so even a 140 MB General MIDI set never interrupts the audio.
synthmax's factory patches never use SoundFonts and the installers don't include any; this module is for your own libraries.
Inputs and outputs
| Jack | Direction | Signal | What it does |
pitch | In | CV | 1 V/octave, 0 V = C4. |
gate | In | CV | Note on while above 0.5. |
velocity | In | CV | Note velocity, 0..1. |
left_out | Out | Audio (stereo) | The preset's stereo output. |
Controls
| Control | Range | Default | What it does |
| FONT | Any .sf2 in your soundfonts folder, or FILE to browse | — | Which SoundFont to play. |
| PRESET | Any preset in the font | First | Which instrument in the font. |
| GAIN | 0..2 | 1 | Output level. |
Specifications
| Format | .sf2 SoundFont 2 |
| Engine | TinySoundFont |
| Loading | Background worker thread; audio never blocks |
| Memory | One copy of a font's samples shared by every voice |
| Folder | Documents/synthmax/soundfonts |
How it works
Loading a font means reading and converting every sample in it, which can take a second or more, so a background worker does it. Each loaded file is kept once for the life of the process and every voice plays from its own lightweight copy that shares the samples. The worker hands a ready-to-play copy to the audio thread through an atomic swap, so nothing on the audio thread ever allocates or waits.
Use cases
- Layer a sampled instrument with a synth. SOUNDFONT strings and a sawtooth OSCILLATOR pad into one MIXER.
- Process samples through modules. SOUNDFONT into a FILTER swept by an envelope, then a STEREO DELAY.
Tips
- Put .sf2 files in Documents/synthmax/soundfonts and they appear in the FONT list.
- For velocity layers in your font, patch the keyboard's velocity in.