Vuo
2.4.1
|
A set of audio amplitudes for a single channel.
Classes | |
struct | VuoAudioSamples |
A set of audio amplitudes for a single channel. More... | |
Functions | |
VuoAudioSamples | VuoAudioSamples_makeFromJson (struct json_object *js) |
Decodes the JSON object js to create a new value. More... | |
struct json_object * | VuoAudioSamples_getJson (const VuoAudioSamples value) |
Encodes value as a JSON object. More... | |
char * | VuoAudioSamples_getSummary (const VuoAudioSamples value) |
Returns a compact string representation of value . More... | |
VuoAudioSamples | VuoAudioSamples_alloc (VuoInteger sampleCount) |
Allocates and registers the samples array. More... | |
bool | VuoAudioSamples_isEmpty (const VuoAudioSamples samples) |
bool | VuoAudioSamples_isPopulated (const VuoAudioSamples samples) |
Variables | |
const VuoInteger | VuoAudioSamples_bufferSize |
https://b33p.net/kosada/node/7650 More... | |
const VuoReal | VuoAudioSamples_sampleRate |
https://b33p.net/kosada/node/7649 More... | |
char * | VuoAudioSamples_getString (const VuoAudioSamples value) |
Automatically generated function. More... | |
void | VuoAudioSamples_retain (VuoAudioSamples value) |
Automatically generated function. More... | |
void | VuoAudioSamples_release (VuoAudioSamples value) |
Automatically generated function. More... | |
struct VuoAudioSamples |
Class Members | ||
---|---|---|
VuoInteger | sampleCount |
The number of elements in samples . |
VuoReal * | samples | Samples should typically be between -1 and 1, centered at 0. |
VuoReal | samplesPerSecond | The sample rate. E.g., 48000. |
VuoAudioSamples VuoAudioSamples_alloc | ( | VuoInteger | sampleCount | ) |
Allocates and registers the samples
array.
Definition at line 99 of file VuoAudioSamples.c.
struct json_object * VuoAudioSamples_getJson | ( | const VuoAudioSamples | value | ) |
Encodes value
as a JSON object.
Definition at line 73 of file VuoAudioSamples.c.
char * VuoAudioSamples_getString | ( | const VuoAudioSamples | value | ) |
Automatically generated function.
char * VuoAudioSamples_getSummary | ( | const VuoAudioSamples | value | ) |
Returns a compact string representation of value
.
Definition at line 91 of file VuoAudioSamples.c.
bool VuoAudioSamples_isEmpty | ( | const VuoAudioSamples | samples | ) |
Definition at line 116 of file VuoAudioSamples.c.
bool VuoAudioSamples_isPopulated | ( | const VuoAudioSamples | samples | ) |
Definition at line 132 of file VuoAudioSamples.c.
VuoAudioSamples VuoAudioSamples_makeFromJson | ( | json_object * | js | ) |
Decodes the JSON object js
to create a new value.
Definition at line 42 of file VuoAudioSamples.c.
void VuoAudioSamples_release | ( | VuoAudioSamples | value | ) |
Automatically generated function.
void VuoAudioSamples_retain | ( | VuoAudioSamples | value | ) |
Automatically generated function.
|
extern |
https://b33p.net/kosada/node/7650
Definition at line 29 of file VuoAudioSamples.c.
|
extern |
https://b33p.net/kosada/node/7649
Definition at line 30 of file VuoAudioSamples.c.