Audio.Channel¶
Name | - | Description | Default | Type |
---|---|---|---|---|
<input> |
Any input type is accepted. The input will be passed to the code specified in the Shards parameter. | Any |
||
<output> |
Outputs the output of the code specified in the Shards parameter. | Any |
||
InputBus |
The an integer representing the input bus number. 0 represents the audio device's Analog-to-Digital Converter (ADC). | 0 |
Int |
|
InputChannels |
A list of input channel indices to be used as input for the code specified in the Shards parameter. | none |
[Int] |
|
OutputBus |
The output bus number. 0 represents the audio device's Digital-to-Analog Converter (DAC). | 0 |
Int |
|
OutputChannels |
The list of output channel indices where the processed audio output from the code in the Shards parameter will be written. | none |
[Int] |
|
Volume |
A float value representing the volume level of this channel. Accepts values between 0.0 (mute) and 1.0 (full volume). | 0.7 |
Float Var(Float) |
|
Shards |
The code that will process the audio data. | none |
Shard [Shard] |
Experimental/unstable
This API is experimental and might produce unexpected results or crash.
This shard represents an audio channel in the mesh. It manages the routing and processing of audio data between input and output buses, applies volume control, and executes custom audio processing shards. Audio.Channel works in conjunction with Audio.Device to handle audio processing within the shards system.