porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h
Go to the documentation of this file.
1 /* Include ma_vocoder_node.h after miniaudio.h */
2 #ifndef ma_vocoder_node_h
3 #define ma_vocoder_node_h
4 
5 #include "voclib.h"
6 
7 #ifdef __cplusplus
8 extern "C" {
9 #endif
10 
11 
12 /*
13 The vocoder node has two inputs and one output. Inputs:
14 
15  Input Bus 0: The source/carrier stream.
16  Input Bus 1: The excite/modulator stream.
17 
18 The source (input bus 0) and output must have the same channel count, and is restricted to 1 or 2.
19 The excite (input bus 1) is restricted to 1 channel.
20 */
21 typedef struct
22 {
24  ma_uint32 channels; /* The number of channels of the source, which will be the same as the output. Must be 1 or 2. The excite bus must always have one channel. */
26  ma_uint32 bands; /* Defaults to 16. */
27  ma_uint32 filtersPerBand; /* Defaults to 6. */
29 
31 
32 
33 typedef struct
34 {
38 
39 MA_API ma_result ma_vocoder_node_init(ma_node_graph* pNodeGraph, const ma_vocoder_node_config* pConfig, const ma_allocation_callbacks* pAllocationCallbacks, ma_vocoder_node* pVocoderNode);
40 MA_API void ma_vocoder_node_uninit(ma_vocoder_node* pVocoderNode, const ma_allocation_callbacks* pAllocationCallbacks);
41 
42 #ifdef __cplusplus
43 }
44 #endif
45 #endif /* ma_vocoder_node_h */
ma_node_base
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/miniaudio_engine.h:992
ma_vocoder_node_config::nodeConfig
ma_node_config nodeConfig
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:23
ma_vocoder_node_uninit
MA_API void ma_vocoder_node_uninit(ma_vocoder_node *pVocoderNode, const ma_allocation_callbacks *pAllocationCallbacks)
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.c:76
ma_vocoder_node_config::channels
ma_uint32 channels
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:24
ma_vocoder_node_config_init
MA_API ma_vocoder_node_config ma_vocoder_node_config_init(ma_uint32 channels, ma_uint32 sampleRate)
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.c:5
MA_API
#define MA_API
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/extras/miniaudio_split/miniaudio.h:174
ma_allocation_callbacks
Definition: porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h:1823
ma_vocoder_node
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:33
ma_result
int ma_result
Definition: porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h:1658
ma_vocoder_node_config::bands
ma_uint32 bands
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:26
ma_vocoder_node::baseNode
ma_node_base baseNode
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:35
ma_uint32
uint32_t ma_uint32
Definition: porcupine/demo/c/dr_libs/tests/external/miniaudio/miniaudio.h:1503
ma_vocoder_node_config::sampleRate
ma_uint32 sampleRate
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:25
ma_node_config
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/miniaudio_engine.h:935
voclib_instance
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/voclib.h:128
ma_node_graph
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/miniaudio_engine.h:1053
ma_vocoder_node::voclib
voclib_instance voclib
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:36
voclib.h
ma_vocoder_node_config
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:21
ma_vocoder_node_init
MA_API ma_result ma_vocoder_node_init(ma_node_graph *pNodeGraph, const ma_vocoder_node_config *pConfig, const ma_allocation_callbacks *pAllocationCallbacks, ma_vocoder_node *pVocoderNode)
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.c:38
ma_vocoder_node_config::filtersPerBand
ma_uint32 filtersPerBand
Definition: porcupine/demo/c/pvrecorder/src/miniaudio/research/_extras/nodes/ma_vocoder_node/ma_vocoder_node.h:27


picovoice_driver
Author(s):
autogenerated on Fri Apr 1 2022 02:13:56