REF / Music API / StreamMgr

Ascene . Agraph . Aengine
Anode . Modulator . Envelope
Songbook . Song . TimeKeeper
Voices . SampleMgr . StreamMgr
Loader . Async . Plot
Random . Rhythm . Util
MIDI . OSC . HID . Piano
Music Theory with Tonal

right-click to navigate to page sections


You appreciate internet radio and hunger to include internet audio streams into your soundscapes.

Hz can help you do this!

StreamMgr Functions

Function Description
async StreamMgr.AudioStreamOpen(host, stream, iid) Attempt to open an internet audio stream with the URL given by the combination of host and stream. If successful the function resolves to a threadId that is used to close the stream. The audio packets are delivered to the target Anode, identified by iid. This must be a node of type Hz.StreamIn
async StreamMgr.AudioStreamClose(threadId) Close the audio stream described by its threadid.

Example

streammgr.js

See Also

Hz.StreamIn . Radio Example

home .. topics .. interface .. reference .. examples .. tipjar