Top | ![]() |
![]() |
![]() |
![]() |
GstBtOscSynth * | gstbt_osc_synth_new () |
void | gstbt_osc_synth_trigger () |
void | gstbt_osc_synth_process () |
gdouble | frequency | Write |
gint | sample-rate | Read / Write |
gdouble | volume | Write |
GstBtOscSynthWave | wave | Read / Write |
enum | GstBtOscSynthWave |
enum | GstBtOscSynthNoiseWave |
enum | GstBtOscSynthTonalWave |
struct | GstBtOscSynth |
GEnum ├── GstBtOscSynthNoiseWave ├── GstBtOscSynthTonalWave ╰── GstBtOscSynthWave GObject ╰── GInitiallyUnowned ╰── GstObject ╰── GstBtOscSynth
An audio generator producing classic oscillator waveforms.
One can attach GstControlSources to some of the patameters to modulate them.
void
gstbt_osc_synth_trigger (GstBtOscSynth *self
);
Reset oscillator state. Typically called for new notes.
void gstbt_osc_synth_process (GstBtOscSynth *self
,guint size
,gint16 *data
);
Generate size
samples of audio and store them into data
.
Oscillator wave forms.
sine wave |
||
square wave |
||
saw wave |
||
triangle wave |
||
silence |
||
white noise |
||
pink noise |
||
white (zero mean) Gaussian noise; volume sets the standard deviation of the noise in units of the range of values of the sample type, e.g. volume=0.1 produces noise with a standard deviation of 0.1*32767=3277 with 16-bit integer samples, or 0.1*1.0=0.1 with floating-point samples. |
||
red (brownian) noise |
||
spectraly inverted pink noise |
||
spectraly inverted red (brownian) noise |
||
sample and hold. Create a random value and hold it for a time specified by “frequency”. |
||
spikes. Create a random level spikes at a rate specified by “frequency”. |
||
sample and glide. Create an random values and blend between them over a time specified by “frequency”. |
||
number of waves, this can change with new releases |
Noise oscillator wave forms from GstBtOscSynthWave.
silence |
||
white noise |
||
pink noise |
||
white (zero mean) Gaussian noise; volume sets the standard deviation of the noise in units of the range of values of the sample type, e.g. volume=0.1 produces noise with a standard deviation of 0.1*32767=3277 with 16-bit integer samples, or 0.1*1.0=0.1 with floating-point samples. |
||
red (brownian) noise |
||
spectraly inverted pink noise |
||
spectraly inverted red (brownian) noise |
Tonal oscillator wave forms from GstBtOscSynthWave.
silence |
||
sine wave |
||
square wave |
||
saw wave |
||
triangle wave |
||
sample and hold. Create an random value and hold it for a time specified by “frequency”. |
||
spikes. Create a random level spikes at a rate specified by “frequency”. |
||
sample and glide. Create an random values and blend between them over a time specified by “frequency”. |
“frequency”
property“frequency” gdouble
Frequency of tone.
Owner: GstBtOscSynth
Flags: Write
Allowed values: >= 0
Default value: 0
“sample-rate”
property“sample-rate” gint
Sampling rate.
Owner: GstBtOscSynth
Flags: Read / Write
Allowed values: >= 1
Default value: 44100
“volume”
property“volume” gdouble
Volume of tone.
Owner: GstBtOscSynth
Flags: Write
Allowed values: [0,1]
Default value: 0
“wave”
property“wave” GstBtOscSynthWave
Oscillator waveform.
Owner: GstBtOscSynth
Flags: Read / Write
Default value: Sine