| NCsound | |
| NUnity | |
| NCsoundCSharp | |
| CCsound | The P/Invoke layer: the Csound 7 C API as it is reached from C#. The platform's library name and the callback delegates live here; Csound.NativeMethods holds the entry points themselves. Code outside the package should use CsoundUnity rather than calling these |
| NMIDI | |
| NInternal | |
| CIMidiReceiver | Platform-specific MIDI input receiver. Implementations enumerate connected MIDI sources, open input ports, and invoke the callback with raw MIDI bytes on every incoming message |
| CMidiPacketSplitter | Splits a run of MIDI bytes into the messages it holds |
| NNativeAudioInput | |
| CAndroidAudioInputFallback | Fallback audio input for Android devices that cannot use AAudio (API < 26). Uses Unity's Microphone API, which works on all Android versions but has higher latency than AAudio |
| CAudioInputDevice | Platform-agnostic descriptor for an audio input device returned by CsoundUnityNativeAudioInput.Devices |
| CAudioInputDeviceIndexAttribute | Draws a device index as the list of inputs the machine has, read before play, with the system's own first. Choosing that one turns CsoundUnityNativeAudioInput.UseSystemDefaultDevice on, and choosing a device turns it off and stores the position: one control for what is one decision |
| CAudioInputSampleRateAttribute | Draws an int field as a choice among the rates the selected input device declares, read from AudioInputDevice.SupportedSampleRates, with 0 standing for Csound's own rate. Falls back to a plain field on a device that declares no list |
| CCsoundUnityAudioInputRouter | Cross-platform audio input coordinator for CsoundUnity |
| CCsoundUnityNativeAudioInput | Manages native multi-channel audio input and routes captured samples into the Csound spin buffer each ksmps cycle |
| CNativeAudioInputBridge | P/Invoke declarations for the native audio input plugins. The API surface is identical on macOS (CoreAudio) and Android (AAudio); only the library name differs |
| CWebGLAudioInput | WebGL audio input: the browser microphone, as seen from C# |
| NTimelines | |
| CCsoundUnityChannelPlayableBehaviour | The PlayableBehaviour for a single clip on a CsoundUnityChannelTrack. Holds the target value for the Csound channel that will be blended by CsoundUnityMixerBehaviour. Supports three modes: Fixed (constant value), Random (S&H stepped), RandomSmooth (interpolated) |
| CCsoundUnityChannelPlayableClip | The PlayableAsset for a clip on a CsoundUnityChannelTrack. Holds the template CsoundUnityChannelPlayableBehaviour and creates a blendable ScriptPlayable<T> for it at runtime |
| CCsoundUnityChannelTrack | A Unity Timeline track that automates a named Csound channel value over time. Clips placed on this track will be blended together by CsoundUnityMixerBehaviour. Bind a CsoundUnity component to this track in the Timeline window |
| CCsoundUnityMixerBehaviour | The mixer PlayableBehaviour for CsoundUnityChannelTrack. Blends the values from all active CsoundUnityChannelPlayableBehaviour clips and sets the result on the named Csound channel each frame |
| CCsoundUnityMusicalTransport | Owns manual director evaluation while musical transport is enabled |
| CCsoundUnityScoreClipState | The saved state of one sequencer clip inside a CsoundUnityScoreState, plus what is needed to find the clip it came from again |
| CCsoundUnityScoreMixerBehaviour | No-op mixer for CsoundUnityScoreTrack. Required by Unity Timeline so that CsoundUnityScorePlayableClip can use UnityEngine.Timeline.ClipCaps.Blending, which enables the Clip Properties curve editor for animatable parameters. All actual score scheduling logic lives in CsoundUnityScorePlayableBehaviour.ProcessFrame |
| CCsoundUnityScorePlayableBehaviour | PlayableBehaviour for a clip on a CsoundUnityScoreTrack. Sends Csound score events when the clip plays. Supports Score, Swarm, Arpeggio, Euclidean, Stochastic, Chord, Pattern and Step |
| CPatternLane | One lane in a Pattern clip: maps to a single Csound instrument number and carries its own on/off step pattern plus velocity settings |
| CSequencerStep | One step in a StepLane. Values of 0 mean "use lane default" |
| CStepLane | One lane in a Step clip: maps to a single Csound instrument and carries per-step pitch, velocity, and duration data |
| CScoreInfo | The part of a clip that is set once and not animated: which mode it runs in, which instrument it plays, and the per mode settings. Timeline animates the fields on the behaviour itself, not these |
| CSchedulerCheckpoint | |
| CCsoundUnityScorePlayableClip | The PlayableAsset for a clip on a CsoundUnityScoreTrack. Holds the serialized CsoundUnityScorePlayableBehaviour and creates a ScriptPlayable<T> for it at runtime |
| CCsoundUnityScoreState | The saved state of every sequencer clip of one timeline. Created from CsoundUnity/Timeline Snapshot in the asset menu, or by the Save button on CsoundUnityTimelineController |
| CCsoundUnityScoreTrack | A Unity Timeline track that sends Csound score events. Clips placed on this track will trigger score events on the bound CsoundUnity component. Bind a CsoundUnity component to this track in the Timeline window |
| CCsoundUnitySharedBeatClock | Integrates director time into beats, or maps it at a fixed reference tempo for musical transport. Sampling the same director time twice returns the same tempo and position, so every clip in an evaluation sees the same grid |
| CFrame | |
| CCsoundUnitySharedBeatCursor | A clip's next unscheduled ordinal on the master's beat grid. Pattern length changes only the lane index, never the grid. This value is copied into the scheduler checkpoint on rebuilds |
| CCsoundUnityTimelineClipEvent | A clip entering or leaving the director's active arrangement position |
| CCsoundUnityTimelineClipUnityEvent | Inspector callbacks receiving clip lifecycle data |
| CCsoundUnityTimelineController | Provides runtime access to CsoundUnityScorePlayableBehaviour instances running inside a PlayableDirector |
| CCsoundUnityTimelineDebugMonitor | Draws an on screen readout of what the director is playing: the tracks, the clips active now and what each one is sending. The panel refreshes on its own interval, so reading it costs less than a value polled every frame |
| CCsoundUnityTimelineEventDispatcher | Tracks arrangement membership and predicted real-time onsets independently of graph behaviour lifetimes |
| CCsoundUnityTimelineEventSource | Source identity shared by clip, note and step notifications; contains no graph behaviour references |
| CCsoundUnityTimelineNoteEvent | A generated note sent to Csound; optional musical values are qualified by their Has flags |
| CCsoundUnityTimelineNoteUnityEvent | Inspector callbacks receiving generated-note data |
| CCsoundUnityTimelineStarter | Waits for CsoundUnity to be fully initialized before starting the PlayableDirector. Attach this to any GameObject in a Timeline scene that uses CsoundUnity clips. Set the PlayableDirector to NOT play on awake, then let this component start it |
| CCsoundUnityTimelineStepEvent | A sequencer position, emitted even for a rest; StepIndex is zero based |
| CCsoundUnityTimelineStepUnityEvent | Inspector callbacks receiving sequencer positions |
| CITempoProvider | A BPM source for score clips that opt in to shared tempo |
| CPatternUIBuilder | Generates and manages the runtime UI for CsoundUnityScorePlayableBehaviour.ScoreMode.Pattern clips. Inherits clip navigation, chip strip, and UI primitives from SequencerUIBase |
| CPatternLaneUI | The widgets of one pattern lane: its mute toggle and the row of step squares |
| CSequencerPreset | A saved sequencer setup: the mode, the grid, and the lanes with their steps. Created from CsoundUnity/Sequencer Preset in the asset menu, and applied by the Step and Pattern sequencer UI |
| CSequencerPresetCatalog | Built-in Pattern and Step preset data shared by the runtime builders and the clip inspector. Names are read-only; row and preset accessors return copies so applying or editing a preset cannot change the catalog. Application rules remain in the callers |
| CStepNote | One note or rest, expressed as MIDI pitch and optional velocity/duration overrides |
| CStepLane | Lane metadata and notes; editor and runtime choose which fields to apply |
| CStepPreset | A named Step preset. Returned arrays belong to the caller |
| CSequencerPresetLane | One lane of the sequencer: an instrument, its defaults, and its steps |
| CSequencerPresetStep | One step of one lane |
| CSequencerUIBase | Shared foundation for StepUIBuilder and PatternUIBuilder. Owns the clip-navigation chip strip, the BPM display, and all UI-helper primitives that are byte-for-byte identical in both concrete builders |
| CStepUIBuilder | Generates and manages the runtime UI for CsoundUnityScorePlayableBehaviour.ScoreMode.Step clips. Inherits clip navigation, chip strip, and UI primitives from SequencerUIBase |
| CStepCellUI | The widgets of one cell in a step lane: the coloured square and the note name drawn on it |
| CStepLaneUI | The widgets of one step lane: its mute toggle and the row of cells |
| NUtilities | |
| NComponents | |
| NUI | |
| CCsoundUnityButton | A Unity UI Button component that integrates with CsoundUnity. Can operate in two modes: ButtonMode.Score sends a score event to Csound when clicked, ButtonMode.Channel acts as a trigger on a named channel, toggling its value between 0 and 1 |
| CCsoundUnityDropdown | A Unity UI Dropdown component that integrates with CsoundUnity. Maps a Cabbage combobox widget to a Unity Dropdown, populating options automatically from the channel controller and sending the selected index (1-based, as Cabbage expects) to Csound |
| CCsoundUnityEncoder | An endless rotary encoder UI component that drives a single Csound channel, corresponding to a Cabbage encoder widget |
| CCsoundUnityKeyboard | Maps physical keyboard keys to MIDI note events sent to CsoundUnity. Corresponds to the Cabbage keyboard widget |
| CCsoundUnityKnob | A rotary knob UI component that drives a single Csound channel, corresponding to a Cabbage rslider widget |
| CCsoundUnityLabel | Displays text associated with a Cabbage label widget. On initialisation the label text is read from the CsoundChannelController whose channel name matches _channel. If no channel is set the text shown in the inspector's _labelText field is left as-is, allowing purely static labels |
| CCsoundUnityMeter | A read-only Unity UI Slider that displays a value written to a Csound channel by the orchestra (i.e. the data flows FROM Csound TO the UI, not vice-versa). Corresponds to the Cabbage meter widget. The slider's interactable flag is forced to false at runtime. Range (min/max) is read from the CsoundChannelController parsed from the CSD, so make sure the meter widget declares a range() |
| CCsoundUnityNSlider | Draggable number-box widget that integrates with CsoundUnity. Corresponds to the Cabbage nslider widget |
| CCsoundUnityPianoKey | Attach to each key button in a Canvas piano keyboard. Forwards pointer-down / pointer-up (mouse and touch) to CsoundUnityKeyboard as note-on / note-off events |
| CCsoundUnityRangeSlider | A Unity UI Range Slider that drives two Csound channels (min and max) simultaneously using two independent draggable handles on a shared track |
| CCsoundUnitySlider | A Unity UI Slider component that integrates with CsoundUnity. Automatically maps the slider range (0-1) to the min/max of a named Csound channel, and updates the channel value in real time as the slider is moved. Exposes both sides of the widget to code: Value, the slider's own position, and ChannelValue, the value in the channel's own range |
| CCsoundUnityToggle | A Unity UI Toggle component that integrates with CsoundUnity. Maps a Cabbage checkbox widget to a Unity Toggle, sending 0 or 1 to the named Csound channel |
| CCsoundUnityXYPad | A Unity UI XY Pad that sends two Csound channel values in real time via drag gestures |
| NMonoBehaviours | |
| CAudioDisplay | Visualises audio data as a waveform or frequency spectrum using a LineRenderer |
| CAudioOutputRecorder | Records what Unity finally plays, every channel of it, into a WAV file |
| CCopyFilesToPersistentDataPath | Copies files from Resources or StreamingAssets into Application.persistentDataPath so that Csound can find them via Environment Variables (e.g. SFDIR, SSDIR, SADIR) |
| CAdditionalFileInfo | One non-audio file to copy, such as a csd or a soundfont |
| CAudioFileInfo | One audio file to copy |
| CCsoundUnityDoppler | Writes the geometry between this object and the AudioListener into Csound channels, so an orchestra can produce its own Doppler shift and its own propagation delay |
| CCsoundUnityNativeAudioInputMonitor | On-screen panel for CsoundUnityNativeAudioInput: which device is open, whether anything is arriving, an input meter, and a list to switch device without leaving play mode |
| CTableLoader | Loads audio samples from an AudioClip into a Csound table |
| CURLButton | Opens a URL in the system browser. Wire OpenURL to a Button's onClick and type the address in the inspector, so a scene can carry a clickable credit or documentation link without a script of its own |
| CWaveformDrawer | Read samples from an AudioClip, draw its waveform in a RawImage, and use an Image as a progress bar |
| CAudioSamplesUtils | Utility class that provides various methods for working with audio samples. It includes methods to convert between different audio data types, extract channel data, and retrieve audio sample data from different sources |
| CFFTUtils | Utility class for real-time FFT spectrum analysis |
| CMusicUtils | Static utilities for music theory calculations: scale intervals, frequency conversion, tempo math. These are shared across CsoundUnity features (Timelines, standalone components, etc.) |
| CRemapUtils | Utility class for remapping numeric values between ranges, with optional clamping and exponential skewing |
| CSceneObjectUtils | Finds objects in loaded scenes and provides runtime lookup keys across supported Unity versions |
| CWriteAudioFileUtils | Utility class for writing WAV and AIFF audio files from Unity AudioClip data |
| CAudioChannelReader | Reads the audio a CsoundUnity instance publishes on one of its named audio channels, one finished block at a time, from any thread |
| CAudioInputRoute | Defines a single audio-rate connection from a source CsoundUnity instance into this instance's Csound spin (input) buffer |
| CAudioPathShared | The small decisions the three audio paths must make identically: which Csound channel feeds a Unity output channel, how far the startup fade has got, and what to divide a sample by |
| CCabbage3Bounds | Where a widget sits, in pixels |
| CCabbage3Channel | One channel of a widget. Cabbage 3 lets a widget carry any number of these, each with its own id and its own interaction, so they are channels rather than parts of one control |
| CCabbage3ChannelLabel | The name a channel shows in a plugin host's parameter list, never on screen |
| CCabbage3Document | The root object of a Cabbage 3 section |
| CCabbage3Label | The text a widget shows on screen |
| CCabbage3Parser | Reads the <Cabbage> JSON section of a Cabbage 3 csd into CsoundChannelController entries, the shape the Cabbage 2 line parser also produces, so presets, the inspector and the UI components see one model |
| CCabbage3Range | The numeric bounds of one Cabbage 3 channel |
| CCabbage3Reading | What reading a Cabbage 3 section produced: the channel controllers, and everything the csd declared that this version does not act on. One object, so a caller that wants the warnings does not read the csd a second time to get them |
| CCabbage3Size | A form's window size, which it carries instead of bounds |
| CCabbage3Widget | One widget. A single class for every type, because the widgets array is heterogeneous and type says which fields carry anything |
| CCarrierClip | Builds the clip CsoundUnity and CsoundUnityChild put on their AudioSource when the user has not put one there themselves. It carries no audio: it exists so FMOD gives the AudioSource a DSP node, without which OnAudioFilterRead is never called at all, and so that what arrives in that callback is the gain Unity wants applied — volume, mute, distance and the panner's placement, all of it already in those samples |
| CCsoundArrayChannelArguments | |
| CCsoundArrayChannelInfo | Metadata for the shape observed under the same channel lock as an array copy |
| CCsoundArrayChannelInterop | ABI prefixes from the bundled Csound headers; never copies or replaces an ARRAYDAT structure |
| CCsoundBridgeRegistry | Shared static registry of Csound bridges for the IAudioGenerator path |
| CCsoundChannelController | Utility class for controller and channels |
| CCsoundChannelDataArguments | |
| CCsoundChildControl | Control struct for CsoundUnityChild IAudioGenerator path. |
| CCsoundChildEntry | Entry stored in CsoundChildRegistry for one CsoundUnityChild instance operating in the IAudioGenerator path |
| CCsoundChildRealtime | Realtime struct for CsoundUnityChild IAudioGenerator path. |
| CCsoundChildRegistry | Shared static registry of CsoundChildEntry objects for the CsoundUnityChild IAudioGenerator path |
| CCsoundControl | Layer 2a — Control state (control thread). |
| CCsoundPvsChannelArguments | |
| CCsoundPvsChannelInfo | Metadata and frame counter observed atomically with a PVS snapshot |
| CCsoundPvsChannelInterop | PVSDAT/AUXCH prefixes from the bundled headers, independent of MYFLT precision |
| CCsoundRealtime | Layer 2b — Realtime state (audio thread). |
| CCsoundRootControl | Control struct for the AudioPath.RootOutput path (Unity 6+) |
| CCsoundRootRealtime | Realtime struct for the AudioPath.RootOutput path (Unity 6+) |
| CCsoundSharedBuffer | Wait-free, single-producer / multiple-consumer snapshot buffer used to hand blocks of audio from the thread that produces them to any number of threads that observe them |
| CCsoundTableCopyRequest | The result of an asynchronous table copy. Poll this on the calling thread |
| CCsoundUnity | Runs Csound inside a scene: compiles a .csd, performs it while the scene plays, and exposes its channels to the rest of the game |
| CCsoundUnityBridge | The managed wrapper around one native Csound instance: it creates Csound, compiles the csd, and exposes the calls CsoundUnity needs — channels, score events, the spin and spout buffers, function tables and teardown. One bridge belongs to one CsoundUnity |
| COpcodeArgumentTypes | Holds the output type string, input type string, and flags for a Csound opcode |
| CChannelInfo | Describes a single Csound software-bus channel: its name, data type, direction, and optional control hints |
| CChannelHints | This structure holds the parameter hints for control channels |
| CCsoundUnityChild | CsoundUnityChild is a component that can output AudioChannels found in the csd of the associated CsoundUnity gameObject |
| CCsoundUnityMidiInput | Platform-agnostic MIDI input component for CsoundUnity. Add this component to the same GameObject as CsoundUnity (or assign the CsoundUnity reference in the inspector). Make sure the CSD has <CsOptions> -M0 </CsOptions> to activate Csound's MIDI subsystem |
| CCsoundUnityPreset | A set of control channel values for one csd, saved as an asset |
| CCsoundUnityVectorMorph | Vector synthesis component: blends four CsoundUnityPreset placed at the corners of a unit square using bilinear interpolation, driven by a 2D position in [0,1]×[0,1]. Inspired by the Sequential Prophet VS and Korg Wavestation vector synthesis paradigm |
| CCsoundWorker | A Csound instance on a thread of its own, started with -n -d so it touches no audio device. Used for work that must not run on the audio thread: rendering a csd to a file, and scanning a csd for the channels its orchestra allocates |
| CEnvironmentSettings | This class describes a setting that is meant to be used to set Csound's Global Environment Variables |
| CINativeAudioInputProvider | Implemented by Csound.Unity.NativeAudioInput.CsoundUnityNativeAudioInput. When assigned to CsoundUnity.nativeAudioInputProvider, this method is called once per ksmps boundary (before PerformKsmps) on the Unity audio thread to write captured microphone samples into the Csound spin buffer |
| CSpoutRenderer | Drives Csound for one Unity audio block and copies spout into the block's buffer. The two Unity 6 audio paths, AudioPath.IAudioGenerator and AudioPath.RootOutput, both consist of this: they differ in where Unity hands the buffer to them, not in what they do with it, so they embed this and keep their own plumbing |