|
CsoundUnity 4.0.0-alpha.3
|
Defines a single audio-rate connection from a source CsoundUnity instance into this instance's Csound spin (input) buffer. More...
Public Attributes | |
| CsoundUnity | source |
| The CsoundUnity instance to read audio from. | |
| string | sourceChannelName = "" |
| Name of the audio channel on source to read from (must be listed in source's Named Audio Channels). | |
| int | destSpinChannel = 0 |
Csound spin channel index on this instance to write into (0-based). Must be less than nchnls_i declared in this CSD. | |
| float | level = 1f |
| Send level applied to the source signal before it is written into the spin buffer. 1 = unity gain. Multiple routes targeting the same spin channel are summed, so this acts as a per-send fader — useful for mixing several generators into a single effect/reverb instance. | |
Defines a single audio-rate connection from a source CsoundUnity instance into this instance's Csound spin (input) buffer.
Add one or more routes to CsoundUnity.audioInputRoutes to chain Csound instances together: the source's named audio channel data is injected into the destination's spin channel before each PerformKsmps call, with exactly one DSP buffer of latency — constant, because what is injected is the last block the source finished and published, never whatever it happens to have written so far.
| int Csound.Unity.AudioInputRoute.destSpinChannel = 0 |
Csound spin channel index on this instance to write into (0-based). Must be less than nchnls_i declared in this CSD.
| float Csound.Unity.AudioInputRoute.level = 1f |
Send level applied to the source signal before it is written into the spin buffer. 1 = unity gain. Multiple routes targeting the same spin channel are summed, so this acts as a per-send fader — useful for mixing several generators into a single effect/reverb instance.
| CsoundUnity Csound.Unity.AudioInputRoute.source |
The CsoundUnity instance to read audio from.
| string Csound.Unity.AudioInputRoute.sourceChannelName = "" |
Name of the audio channel on source to read from (must be listed in source's Named Audio Channels).