ResampledSink Node
Runs an embedded single-input sink node, created from the node configuration in node, at the sample rate given in sampleRate, and resamples the incoming audio to that rate before passing it on. Use it to run a sink that needs a specific sample rate in a graph running at another rate. Accepts mono or stereo audio.
Configuration
node
Type: Node
The embedded node to create, given as a node configuration map with type and optional id and config. It must be a sink node with a single input bus. Required.
| Field | Type | Description |
|---|---|---|
id (Optional) | String | Identifier of the node within the graph. Referenced by connections. Auto-generated when omitted, which makes the node unreachable from connections. |
objectID (Optional) | objectID | Identifier of the object within its parent scope. |
type | String | Fully-qualified node type, e.g. Switchboard.AudioPlayer or Superpowered.Reverb. An unqualified name is matched against every registered node factory in turn. |
sampleRate
Type: Int
The sample rate, in Hz, that the embedded node runs at. The incoming audio is resampled to this rate before it is passed to the embedded node. Required.
Properties
Inherits properties from its parents, Node, SwitchboardObject.
This object does not provide any additional properties.
Actions
Inherits actions from its parent, SwitchboardObject.
This object does not provide any additional actions.
Events
This object does not provide any events.