Skip to content

Sound

midi-sink was a visualizer that needed a synth beside it; since Phase 7 it carries one. Voxo is the sound engine: a library beside the core that receives the identical MIDI bytes — the one producer feeds two rings — and plays them on the platform’s default output. It has three sources: the sampler, which plays Decent Sampler presets and libraries (or one WAV at a root note, or a plain sine), the Suzu synth, and the two layered. The web has no sound core: in the browser the picture is the whole of it, except in the Suzu lab, where the synth runs alone.

  • Desktop — Settings → Sound → Internal sound (Voxo). Volume, Source, and under the sampler an Instrument path (a .dspreset, its folder holding the samples, or a .dslibrary) with Load instrument, Unload and Demo instrument; a Sample (WAV) with its Root note sounds when no instrument is loaded. Under Suzu, every knob of the current voice (patches).
  • iPad and Android — the Sound page of the sheet: Internal sound (Voxo), Volume, Source (Sampler, Suzu, Both layered), the Suzu patch (eleven: the bowed string, the bell and the three winds, and the six fitted to the Versilian Community Sample Library’s instruments — the patch table), the Synth trace rows (the synth’s orbits into the water, the scope on the canvas — the orbit trace), and the sampler’s instrument: the Dan Tranh demo, or one you import — Import a .dslibrary…, or a preset’s folder — copied into the app’s own Instruments folder (Files → On My iPad → midi-sink → Instruments on the iPad, where you can also drop them yourself) and never sent anywhere. Foreground only on the iPad: the sound pauses with the app and returns with it.

The Dan Tranh, a Vietnamese zither from the Versilian Community Sample Library (CC0), is the one instrument bundled, so a first launch makes a sound; everything else is yours and travels with its own terms — the licensing page.

The play surface’s own notes reach Voxo only under Local Control (CC 122, the MIDI meaning): The play surface sounds here on the Sound page. Off, your fingers and the pen still go out over MIDI to your DAW and still paint the water, but do not sound inside — the right setting when the DAW’s synth is the instrument and midi-sink the picture. External instruments always sound.

A Decent Sampler library may ask for features this version does not play — an effect, a scripted control, a sample format. midi-sink reads what it reads and says so: the compat report, shown once, calmly, when a library is loaded, lists what it asked for that plays without. The report’s contract is a test in the tree.

The same stream the visuals read, with its own consumers: velocity, the per-note bend (the member range), channel pressure, CC 74 (the sampler’s cutoff where the preset maps it; Suzu’s filter and the trumpet’s embouchure), CC 1 (the rotor’s K), CC 2 and CC 11 (breath — the bow and the winds’ mouth), CC 64 (the sustain pedal, below), CC 120 and CC 123 (the panic), and CC 122 (Local Control). The bus effects — a reverb (wet, room, damping), a delay (wet, time, feedback) and, since 3.0, a chorus (amount, rate, depth) — are targets in the CC map from 1000 up, beside the engine’s dimensions, so a controller’s knob can ride the room or the shimmer. A preset’s own chorus plays where the format puts it — on the bus, or inside a group as one chorus per note — and its phaser plays on the bus; both take the format’s mix, modDepth and modRate, the phaser its centerFrequency and feedback too.

The filters and the tone (3.0). A preset’s filter plays in every mode the format names — lowpass (and the legacy lowpass_4pl), lowpass_1pl, highpass, bandpass, notch — on the voice’s own filter, its resonance read as the Q the format means (the default 0.7 sits 3 dB down at the cutoff). A <modulators><envelope> bound to the cutoff or the Q plays per note: attack, decay, sustain, release, modAmount, and modBehavior set, add or multiply — the filter-sweep presets play as written. The bus EQ is the format’s peak, low_shelf and high_shelf (and an instrument-level notch), in their listed order, eight stages at most; gain trims in dB or linear; wave_shaper drives through a tanh with drive, driveBoost and outputLevel, on the bus or inside a group per note. The report’s “other filters” line is gone with them.

The modulators, legato and glide (3.0). A preset’s <lfo>s and <envelope>s play as the format documents them: the shapes sine, triangle, square and saw, a rate in hertz or in musical time — a quarter note, an eighth, a bar — on the session’s tempo (the Tempo setting), a delay, an amount, a global or a per-note scope, and the behaviours set, add, multiply and modulate. Each binding under them reaches the volume, the pan, the tuning (a vibrato), the filter’s cutoff and Q, a group effect’s parameters or the bus effects’ and the EQ’s. A group with glideTime glides: a new note walks from the previous note’s pitch over that time — only while the previous note is held under glideMode="legato", always, or never — and polyphony="1" makes it monophonic, the way the solo string and woodwind libraries expect; trigger="first" / "legato", previousNotes and legatoInterval choose the samples of a true-legato library. The report’s modulators line is gone: what it still lists is the custom interface, disk streaming, convolution and the note sequences.

The sustain pedal (3.0) is a position, not a switch. A note released under the pedal is held and decays at a rate that runs from the preset’s release at the top of the pedal’s travel to the group’s sustainDecay at the bottom — an attribute of Voxo’s own that a preset may declare; without it the pedal fully down holds the note as it always did, and a continuous pedal half way doubles the release. Pressing the pedal over a tail that is still sounding catches it where it is. The Decent Sampler pedal attributes play as the format documents them: a sample with onLoCC64/onHiCC64 fires once when the pedal crosses into its range (the thump going down, the damper lift coming up), loCC64/hiCC64 admit a pedal-down resonance group only while the pedal is down, and silencedByTags chokes an open hi-hat when the closed one strikes — in five milliseconds by the format’s default, or through its release with silencingMode="normal".

The device opens at the platform’s lowest stable block; the tablets’ latency gates measure touch-to-sound against the phase’s record on every core change. The acceptance test for load is the storm: fifteen channels of dense MPE through a heavy library (and, layered, through the Suzu chain or the hybrid string) for the length of a piece, with the visuals at rate — zero XRuns, zero dropped messages, or the step does not ship.

Background playback (the iPad’s sound is foreground-only, said plainly above), disk streaming of large libraries (everything decodes to RAM today, with an advisory gate), and a shell of the sound engine’s own are one later project, Voxo Dorean — not 2.0.

The instrument in a preset, the output device, the bounce

Section titled “The instrument in a preset, the output device, the bounce”

A session preset (and a recording’s header) names the library the sound played — by name and by a hash of its preset, never embedded — so the same file carries its instrument from one machine to the next. On loading, each shell looks for that library among its own: the file of that name first, then any library whose preset hashes the same (the desktop looks beside the current instrument and in ~/Music/midi-sink; the tablets in their Instruments folder). Found, it loads; not found, the preset plays without it and the Sound section says so, once, in a sentence.

The desktop’s Sound section has an Output device row since 3.0: System default follows the computer’s output through a switch; a named device is opened directly and remembered; a running instance moves to the new choice without a stop, and a name that is no longer present falls back to the default until it returns.

Every shell bounces a replay to a WAV through the same engine, deviceless: the desktop’s Replay section (Bounce to WAV), the iPad’s Replay page (the waveform button) and the Tab’s replay sheet (bounce) re-sound a recording through the session’s sound — the instrument, the synth patch, the tuning, the tempo — into <name>.wav beside it, 32-bit float stereo at 48 kHz. The same recording and the same session give the same bytes every time, on every shell: the bounce is the sound of a performance as the engine would have played it on a perfect clock. The desktop bench’s --replay-wav was its seed and now shares its body.

midi-sink 2.0.0 · AGPL-3.0 · source