Helpers
Math-map,dist,lerp, andDouble.tauAnimation- theEasingcurves,@Eased(ease toward a target),@Smoothed(smooth a noisy signal), and@Sprung(spring toward a target with momentum)Parameters-@Paramtunable parameters: live sliders in the inspector, optional smoothing, and binding from OSC or MIDIInput- mouse and keyboardAccessibility- color vision simulation, a palette check, the published safe set, and the reduce-motion settingData-loadTablefor CSV and TSV files, andloadJSONfor documents whose values you look up by name and indexLiveData-DataFeedreads one address again and again, so a sketch draws the current value instead of the value it read at launchWeather-Weather, the sky over a place or a name as plain readings (temperature, clouds, wind, rain, the condition in a word), andPlace.sun(at:)for where the sun is, with no networkAudio-import OllinAudiofor microphone, file, and oscillator sources. Ollin analyzes each source intoamplitude,spectrum, and band values that you read indraw()Listening- speech as a caption you can draw and phrases you can act on, and about 300 everyday sounds named as they happen. Both work from any audio sourceSynthesis-Synth, the instrument a sketch plays. It gives you notes by name or number,Voicepresets over a shaped and filtered oscillator, delay and reverb effects, and a room of your own as a convolution reverbComposition- ways to work out what to play: Euclidean rhythms, scales and chords, arpeggios, and Markov sequences. Each one computes its result as a pure value from a step number. A step sequencer with swing, chance, and ratchets and an arpeggiator over held notes read the beat you hand themMIDIFiles- a piece as a Standard MIDI File. Read one into notes a sketch plays or draws, write one back out so a phrase opens in a sequencer, and record a take off a liveSynth