tmhglnd / mercury

A minimal and human-readable language and environment for the live coding of algorithmic electronic music.
http://www.timohoogland.com/mercury-livecoding
GNU General Public License v3.0
292 stars 13 forks source link

Freeze FX #42

Closed tmhglnd closed 2 years ago

tmhglnd commented 4 years ago

An FFT-freezer that records a few FFT frames freezes the instrument sound an play's back the frames. A trigger of 1 retriggers the frame-recording.

fx(freeze <trigger> <interpolate-between-trigger> <framecount>)
ring triggerFreeze [1 0 0 1]
new sample bowl_hi time(1) fx(freeze triggerFreeze)
tmhglnd commented 2 years ago

The freeze function was included as a first draft since 3ba3e3a5c2751354cf5ef9940956ccb1241e9b4a