Machines
All machines are functions that return a Machine object. Pass the machine
to cast() along with a scale and sequence to produce audio.
Machine list
| Machine | Category | Description |
|---|---|---|
| vasynth | Synth | Virtual analog (VCO→VCF→ADSR) |
| fmsynth | Synth | 4-op FM synthesis |
| modal | Physical Model | Exciter × resonator × material |
| mallet | Physical Model | Marimba / xylophone / vibraphone / tubular-bells |
| strings | Physical Model | Violin / viola / cello / guitar / harp |
| bells | Physical Model | Tubular bells / vibraphone / steel-drum |
| drum | Physical Model | Modal percussion (kick / tom / cymbal / gong) |
| glass | Physical Model | Glass-toned mallet (material fixed to glass) |
| pad | Physical Model | Sustained string pad (bow exciter) |
| wind | Physical Model | Wind instruments (flute / reed / brass) |
| keys | Electric | Rhodes / Wurlitzer / Clavinet / Hammond |
| piano | Acoustic | Grand piano physical model |
| sampler | Sampler | Audio file playback with pitch shifting |
| kick | Drums | FM kick drum |
| snare | Drums | FM + noise snare |
| hat | Drums | TR-808 style hi-hat |
| midiOut | MIDI | Web MIDI API note output |
| stereoIn | Input | getUserMedia stereo audio input |
| granular | Sampler | Granular synthesis from audio buffer |