Navigation
API > API/Plugins > API/Plugins/MetasoundStandardNodes
A TStaticChannelAudioFormat represents deinterleaved multichannel audio where the number of channels is known at compile time. This is primarily useful to define such cases as Stereo, Mono, Qaud, 5.1, etc.
The audio buffers in FMultichannelAudioFormat are shared data references which can be accessed outside of the FMultichannelAudioFormat. All audio buffers within a FMultichannelAudioFormat object must contain the same number of audio frames.
| Name | TStaticChannelAudioFormat |
| Type | class |
| Header File | /Engine/Plugins/Runtime/Metasound/Source/MetasoundStandardNodes/Public/MetasoundAudioFormats.h |
| Include Path | #include "MetasoundAudioFormats.h" |
Syntax
template<int32 TNumChannels>
class TStaticChannelAudioFormat : public Metasound::IAudioDataType
Derived Classes
Constructors
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
TStaticChannelAudioFormat
(
int32 InNumFrames |
TStaticChannelAudioFormat Constructor | MetasoundAudioFormats.h | |
TStaticChannelAudioFormat
(
const FOperatorSettings& InOperatorSettings |
MetasoundAudioFormats.h | ||
TStaticChannelAudioFormat
(
const FAudioBufferWriteRef(&) InBuffers |
TStaticChannelAudioFormat constructor with an array of writable buffers. | MetasoundAudioFormats.h |
Constants
| Name | Type | Remarks | Include Path |
|---|---|---|---|
| NumChannels | int32 | MetasoundAudioFormats.h |
Variables
Protected
| Name | Type | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|---|
| ReadableBuffers | TArrayView< FAudioBufferReadRef > | MetasoundAudioFormats.h | ||
| ReadableBufferStorage | TArray< FAudioBufferReadRef > | MetasoundAudioFormats.h | ||
| WritableBuffers | TArrayView< FAudioBufferWriteRef > | MetasoundAudioFormats.h | ||
| WritableBufferStorage | TArray< FAudioBufferWriteRef > | MetasoundAudioFormats.h |
Functions
Public
| Name | Remarks | Include Path | Unreal Specifiers |
|---|---|---|---|
FAudioBufferReadRef GetBuffer () |
Return an readable buffer reference for a specific channel. | MetasoundAudioFormats.h | |
FAudioBufferWriteRef GetBuffer () |
Return an writable buffer reference for a specific channel. | MetasoundAudioFormats.h | |
const TArrayView< FAudioBufferReadRef > GetBuffers () |
Return an array view of the readable buffer references. | MetasoundAudioFormats.h | |
const TArrayView< FAudioBufferWriteRef > GetBuffers () |
Return an array view of the writable buffer references. | MetasoundAudioFormats.h | |
int32 GetMaxNumChannels () |
Return the maximum number of channels. | MetasoundAudioFormats.h | |
int32 GetNumChannels() |
Return the number of audio channels. | MetasoundAudioFormats.h | |
const TArray< FAudioBufferReadRef > GetStorage () |
Return an array of the readable buffer references. | MetasoundAudioFormats.h | |
const TArray< FAudioBufferWriteRef > GetStorage () |
Return an array of the writable buffer references. | MetasoundAudioFormats.h |