Simple interface for single-engine projects
Add an audio function to the root node of the pink.simple engine.
(add-audio-events evt & evts)
Takes in list of events, wraps in audio events, and adds to engine's event list.
(add-events evt & evts)
Takes in list of events and adds to engine's event list.
Add a control function to the post-audio node for the pink.simple engine.
Add a control function to the pre-audio node for the pink.simple engine.
(apply-afunc-with-dur afunc dur & args)
Applies an afunc to args, wrapping results with (with-duration dur).
Clears the global pink.simple engine. Will clear out active and pending
functions and evnts from the root audio node, control functions, events.
Clears all pending events in engine's event list
Get the current tempo from the engine's built-in event-list.
(i afunc start dur & args)
Csound style note events: audio-func, start, dur, & args.
Wraps into an event that will call audio-func with args, and wrap
with with-duration call with dur. Most likely used in conjunction
with add-audio-events so that generated afuncs will be added to
to an engine.
Returns the current *beat* time of the engine.
Removes an audio function from the root node of the pink.simple engine.
Remove a control function from the post-audio node for the pink.simple engine.
Remove a control function from the pre-audio node for the pink.simple engine.
Convert SCO formatted note lists into events by applying i to all notes.
SCO format follows Csound style note events: audio-func, start, dur, & args.
Set the current tempo on the engine's built-in event-list.
Starts the global pink.simple engine.
Stops the global pink.simple engine.
Returns the current *tempo* of the engine.
Set the Pink simple engine's event list to process events without modifying event
start times. By default, Pink will process new events' start time as relative to
the cur-beat time. When absolute time is set, events will be merged as-is.
(with-afunc afunc notelist)
(with-afunc afunc note & notes)
Wraps note lists with calls to i with audio-func to use.