Entry stored in CsoundChildRegistry for one CsoundUnityChild instance operating in the IAudioGenerator path.
More...
|
| string[] | ChannelNames |
| | Names of the audio channels to output, indexed by Unity output channel (0 = left/mono, 1 = right). Length matches the child's AudioChannelsSetting.
|
| CsoundUnity | Parent |
| | The parent CsoundUnity this child reads from.
|
| CsoundUnityChild | Child |
| | The child itself, so Process can hand it each block it plays for namedAudioChannelData and OutputBuffer. Without this the component's observers only ever saw the OnAudioFilterRead path.
|
| float[][] | Snapshots |
| | Per-channel copies of the parent's published blocks, and the cursors into them.
|
| int[] | Cursors |
| int[] | StaleCounts |
| double | Zerodbfs |
| | 0dbfs value used to normalise Csound output to Unity's ±1 range.
|
Entry stored in CsoundChildRegistry for one CsoundUnityChild instance operating in the IAudioGenerator path.
◆ ChannelNames
| string [] Csound.Unity.CsoundChildEntry.ChannelNames |
|
package |
Names of the audio channels to output, indexed by Unity output channel (0 = left/mono, 1 = right). Length matches the child's AudioChannelsSetting.
◆ Child
The child itself, so Process can hand it each block it plays for namedAudioChannelData and OutputBuffer. Without this the component's observers only ever saw the OnAudioFilterRead path.
◆ Cursors
| int [] Csound.Unity.CsoundChildEntry.Cursors |
|
package |
◆ Parent
The parent CsoundUnity this child reads from.
Deliberately the instance and not its namedAudioChannelDataDict: those are the parent's live working arrays, written sample by sample on the parent's own audio callback, which is not ordered against this child's. Reading them directly meant sometimes seeing a half-written block — and a parent that stopped updating them (muted, paused, finished) left the child looping its last block for ever instead of falling silent. Snapshots are pulled from the parent's publishers instead.
◆ Snapshots
| float [][] Csound.Unity.CsoundChildEntry.Snapshots |
|
package |
Per-channel copies of the parent's published blocks, and the cursors into them.
◆ StaleCounts
| int [] Csound.Unity.CsoundChildEntry.StaleCounts |
|
package |
◆ Zerodbfs
| double Csound.Unity.CsoundChildEntry.Zerodbfs |
|
package |
0dbfs value used to normalise Csound output to Unity's ±1 range.
◆ IsReady
| bool Csound.Unity.CsoundChildEntry.IsReady |
|
getpackage |
The documentation for this class was generated from the following file: