It has no inputs. The control output has 10 lanes from 0 to 1, in order: accel.x, accel.y, accel.z, rot.alpha, rot.beta, rot.gamma, tilt, heading, shake, present. It needs a device with motion sensors; the browser may ask permission. Last values hold when the sensor stops and present falls after 220 ms. Nothing is uploaded.
Each help patch is an ordinary Toy that teaches one idea. The diagram shows the Patch; the preview shows its Frame. Open it in TuneToys to play and edit it.
1. Tilt the filter
beginner Teaches: smooth, range, sensing
Device tilt sweeps a filter.
Motion
Control10 lanes
One-pole smoothing of every lane. Range: 0–1000 ms. Default: 30 ms. Linear scale. Units: ms.
ms
Acceleration that maps to the ends of the lanes. Range: 0.5–8 g. Default: 2 g. Linear scale. Units: g.
g
Select lanes
ControlAuto
ControlAuto
Oscillator
MIDI1 lane
Audio2ch
Fundamental pitch, capped below Nyquist; detune uses cents. Range: 20–20000 Hz. Default: 220 Hz. Logarithmic scale. Units: Hz.
Hz
Output gain. Range: 0–0.5 ×. Default: 0.12 ×. Linear scale. Units: linear gain.
×
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–7. Default: 0. Linear scale. Units: unitless.
Cycle offset; Gate rising edges restart phase from this position. Range: 0–1 cycles. Default: 0 cycles. Linear scale. Units: cycles.
cycles
Pitch offset in cents. Range: -1200–1200 cents. Default: 0 cents. Linear scale. Units: cents.
cents
On or off. A rising edge retriggers; held on runs the oscillator or envelope. A control cable switches it at 0.5. Range: 0–1. Default: 1. Linear scale. Units: unitless.
Semitones a full pitch bend on the MIDI input moves the note, up or down. Range: 0–48 st. Default: 2 st. Linear scale. Units: st.
st
Time constant of the slide from one MIDI note's pitch to the next; 0 jumps. Range: 0–2000 ms. Default: 0 ms. Linear scale. Units: ms.
ms
Filter
Audio2ch
Audio2ch
Filter cutoff, capped at 0.45 times sample rate. Range: 20–20000 Hz. Default: 1200 Hz. Logarithmic scale. Units: Hz.
Selects the implemented algorithm. Choices are discrete and are not LFO targets. Range: 0–5. Default: 1. Linear scale. Units: unitless.
One or two cascaded state-variable stages; notch/all-pass retain their response semantics. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Reduces resonant gain as Q increases. Range: 0–1. Default: 0. Linear scale. Units: unitless.
Audio output
Audio2ch
Note
Note
Patch: Motion control output connected to Select lanes control input. Select lanes control output connected to Filter @cutoff input. Oscillator audio output connected to Filter audio input. Filter audio output connected to Patch outputs audio input.Connections as text
Motion control output connected to Select lanes control input
Select lanes control output connected to Filter @cutoff input
Oscillator audio output connected to Filter audio input
Filter audio output connected to Patch outputs audio input
Lane 7 is tilt. Motion sensors need a phone or tablet; a desktop reports present as 0.
Browsers may ask permission for motion on first Play.
Frame preview (static). Controls show their default values.