Live Signal Session
9 nodes
On this page 9
Dispose
FunctionStops the sound and closes the devices.
Signature
Dispose(Live Signal Session: Live Signal Session)
void Dispose(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Added Delay
FunctionThe wait the session itself adds between a sound arriving and its being heard: the output block and the inputs' average wait in their rings. The devices add their own; Live.LiveLatencyProbe measures the whole.
Signature
AddedDelay(Live Signal Session: Live Signal Session) -> TimeSpan
TimeSpan AddedDelay(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | TimeSpan |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Elapsed
FunctionHow long it has played.
Signature
Elapsed(Live Signal Session: Live Signal Session) -> TimeSpan
TimeSpan Elapsed(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | TimeSpan |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Engine
FunctionThe engine the sound plays on.
Signature
Engine(Live Signal Session: Live Signal Session) -> Live Engine
LiveEngine Engine(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | Live Engine |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Inputs
FunctionThe inputs it reads.
Signature
Inputs(Live Signal Session: Live Signal Session) -> IReadOnlyList<Live Input>
IReadOnlyList<LiveInput> Inputs(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | IReadOnlyList<Live Input> |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Is Playing
FunctionWhether it is still playing.
Signature
IsPlaying(Live Signal Session: Live Signal Session) -> Truth
bool IsPlaying(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | Truth |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Stop
FunctionStops the sound and closes the devices, and hands back what was played if it was being recorded, or an empty clip.
Signature
Stop(Live Signal Session: Live Signal Session) -> AudioBuffer
AudioBuffer Stop(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | AudioBuffer |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
To String
FunctionThis node carries no documentation.
Signature
ToString(Live Signal Session: Live Signal Session) -> Text
string ToString(LiveSignalSession Live Signal Session)
Parameters
| name | type | default | description |
|---|---|---|---|
| Live Signal Session | Live Signal Session | — |
Returns
| result | Text |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing
Start
FunctionStarts playing a stereo sound live: opens a recording device for each input it reads, then the output.
Signature
Start -> Live Signal Session
left: Signal
right: Signal
sampleRate: Integer
blockFrames: Optional Integer
record: Truth
output: I Live Output
capture: I Live CaptureLiveSignalSession Start(
Signal left,
Signal right,
int sampleRate = 44100,
int? blockFrames,
bool record = false,
ILiveOutput output,
ILiveCapture capture)Parameters
| name | type | default | description |
|---|---|---|---|
| left | Signal | — | The left side. |
| right | Signal | — | The right side; the left again for a mono sound. |
| sampleRate | Integer | 44100 | The rate to run at. |
| blockFrames | Optional Integer | — | Frames the device renders at a time; 5 ms when not given. See LiveEngine.BlockFrames. |
| record | Truth | False | Whether to keep what is played, for LiveSignalSession.Stop to hand back. |
| output | I Live Output | — | Where to play; LiveOutput.Current when not given. |
| capture | I Live Capture | — | Where inputs come from; LiveCapture.Current when not given. |
Returns
| result | Live Signal Session |
- Ships with
- Divooka ExploreDivooka Compute
- Graph kinds
- Flows Function Events Routine Constructs StateMachineState
- Declared by
- Live Signal Session
- Package
- Audio Processing