The library documents itself · Sound
stzSoundLive
39 own methods · 0 forms written with extensions, listed under their method
the source: base/sound/stzSoundLive.ring(opens in a new tab) · All classes · The area reference: Sound
Under each method, its extensions (Q CS XT Z ZZ IB W U): bold and ticked, it exists; struck, it does not. The extensions and what they mean
No method of this class is run on this page: the class reaches files, the network, processes, the clock, chance or sound, and an example run here would only be an example of its effects. Each method carries the explanation the library gives of itself.
Method
Explanation, as the source carries it
init
(no comment in the source: the name reads as a sentence) initno extension
SetTempo
settingsno extension
Tempo
(no comment in the source: the name reads as a sentence) tempono extension
SetDefaultInstrument
(no comment in the source: the name reads as a sentence) set default instrumentno extension
CaptureInsteadOfDevice
WHAT IT CANNOT STAND IN FOR: a device drains on ITS OWN thread, so while this thread is busy rendering a new loop's notes the card keeps playing what was posted. Here THIS thread is the consumer, so it stalls with the render and nothing is consumed. Whether a render while playing costs a note its frame is therefore a DEVICE question, and the guard asks it on the device.no extension
Capture
(no comment in the source: the name reads as a sentence) captureno extension
OnCycle
(no comment in the source: the name reads as a sentence) on cycleno extension
LiveLoop
NAMED LiveLoop, NOT Loop. The plan's section 4 writes oM.Loop(...), and that line cannot be written in Haro: `loop` is a keyword (it is Haro's `continue`), and a method may not take its name. LiveLoop is also Sonic Pi's word for the same thing (live_loop).no extension
LiveLoopOn
(no comment in the source: the name reads as a sentence) live loop onno extension
LiveLoopOf
A loop given a pattern object -- one already transformed by the algebra.no extension
Every
The plan's line: every n cycles, the loop transformed. A redefinition like any other -- it lands on a boundary.no extension
Silence
Stop one loop at the next boundary it can land on.no extension
Hush
(no comment in the source: the name reads as a sentence) hushno extension
Start
runningno extension
Tick
Post what is due, drain (capture mode), and report what is heard.no extension
WaitCycles
Play for `pnCycles` more cycles of HEARD time, ticking all the while.no extension
DriveWith
The reactive plane drives it instead: one timer, every 20 ms, for every session registered -- see StzSoundLiveTickAll above for why it is global.no extension
Stop
(no comment in the source: the name reads as a sentence) stopno extension
Release
Free the notes and the graph -- only once stopped: the timeline reads the notes' samples directly.no extension
IsRunning
what happenedno extension
CycleFrames
(no comment in the source: the name reads as a sentence) cycle framesno extension
FrameOfCycle
(no comment in the source: the name reads as a sentence) frame of cycleno extension
HeardFrames
Frames the listener has been given: the device's consumed frames, or what capture mode has drained.no extension
HeardCycle
(no comment in the source: the name reads as a sentence) heard cycleno extension
RenderFrames
(no comment in the source: the name reads as a sentence) render framesno extension
ConsoleLog
[ cycle, heardFrame, text ] -- one line per cycle as it was HEARDno extension
Ledger
(no comment in the source: the name reads as a sentence) ledgerno extension
Landings
[ name, version, landingCycle, heardCycleAtCall ]no extension
Late
(no comment in the source: the name reads as a sentence) lateno extension
Cancelled
(no comment in the source: the name reads as a sentence) cancelledno extension
MidCycleChanges
Withdrawals the engine refused because the note was already sounding -- a change that would have landed MID-CYCLE. MU3's kill criterion is that this stays 0.no extension
NotesRenderedLive
(no comment in the source: the name reads as a sentence) notes rendered liveno extension
SecondsRendering
(no comment in the source: the name reads as a sentence) seconds renderingno extension
DrainShortfall
(no comment in the source: the name reads as a sentence) drain shortfallno extension
Underruns
(no comment in the source: the name reads as a sentence) underrunsno extension
OnDevice
(no comment in the source: the name reads as a sentence) on deviceno extension
Renderer
(no comment in the source: the name reads as a sentence) rendererno extension
LastError
(no comment in the source: the name reads as a sentence) last errorno extension
Refusals
(no comment in the source: the name reads as a sentence) refusalsno extension

