Synth

The Synth toolbox is the playback and MIDI side of music. Its custom preview, the MIDI visualizer, plays a score, a MIDI file or a MIDI operator through a SoundFont and lights each key as it sounds. Its nodes read and edit MIDI files (add notes, tempo, program changes, tracks), draw a score in numbered notation as an image, record audio, and compose a short piece in the visualizer's composer (Compose MIDI).

Use it to hear and check music you wrote with the Music toolbox, or to edit a MIDI file event by event.

  • Included in: Divooka Explore and Divooka Compute Standard. In Compute, add the Synth reference with Add reference (Ctrl+Shift+L).
  • Maturity: Experimental · Support: Tier 3 (proposed) · what these mean
  • Open it: node library (Ctrl+Shift+Space) → Synth, or search for a node with Ctrl+Space.
  • Examples and reference: Ctrl+Shift+E → Music Synth (3 examples) · node reference

New to graphs? Start with Your first program.

Example: play a score in the MIDI visualizer

Open Music Synth > Canon in C (Ctrl+Shift+E). Its Cantus half writes the canon in numbered notation as text. Run it with F5, select the score node and open its custom preview: the MIDI visualizer plays the canon through the GeneralUser GS SoundFont and shows each of the 128 keys as it sounds. Render Score Sheet draws the same score as an image.

To use your own MIDI: Make MIDI File Reader with a file path, then preview it the same way.

Tips and limits

  • The SoundFont ships with Divooka. It is the 31 MB GeneralUser GS bank.
  • The visualizer is a window of its own. Close it to stop playback.

What is in the toolbox

Category Some of its nodes
MIDI Operations Add Channel After Touch, Add Control Change, Add Key After Touch, Add Key Signature and 30 more
MIDI File Reader Format, Ticks Per Quarter Note, Tracks, Tracks Count and 4 more
Audio Recording Helper Created Audio Data Name, Record Audio
MIDI Composer Composition Data Name, Compose MIDI
Numbered Notation Rendering Render Score, Render Score Sheet
Sound File Path Resolver Get Current Sound File Path

See also