![]() |
![]() |
![]() |
GStreamer Buzztard Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Properties |
"frequency" gdouble : Read / Write "sample-rate" gint : Read / Write "volume-envelope" GstBtEnvelope* : Read / Write "wave" GstBtOscSynthWave : Read / Write
typedef enum { GSTBT_OSC_SYNTH_WAVE_SINE, GSTBT_OSC_SYNTH_WAVE_SQUARE, GSTBT_OSC_SYNTH_WAVE_SAW, GSTBT_OSC_SYNTH_WAVE_TRIANGLE, GSTBT_OSC_SYNTH_WAVE_SILENCE, GSTBT_OSC_SYNTH_WAVE_WHITE_NOISE, GSTBT_OSC_SYNTH_WAVE_PINK_NOISE, GSTBT_OSC_SYNTH_WAVE_GAUSSIAN_WHITE_NOISE, GSTBT_OSC_SYNTH_WAVE_RED_NOISE, GSTBT_OSC_SYNTH_WAVE_BLUE_NOISE, GSTBT_OSC_SYNTH_WAVE_VIOLET_NOISE } GstBtOscSynthWave;
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 |
GstBtOscSynth * gstbt_osc_synth_new (void
);
Create a new instance
Returns : |
the new instance |
"frequency"
property"frequency" gdouble : Read / Write
Frequency of tone.
Allowed values: >= 0
Default value: 0
"sample-rate"
property"sample-rate" gint : Read / Write
Sampling rate.
Allowed values: >= 1
Default value: 44100
"volume-envelope"
property"volume-envelope" GstBtEnvelope* : Read / Write
Volume envelope of tone.
"wave"
property"wave" GstBtOscSynthWave : Read / Write
Oscillator waveform.
Default value: Sine