Top | ![]() |
![]() |
![]() |
![]() |
BtWavelevelBtWavelevel — a single part of a BtWave item |
BtWavelevel contain the digital audio data of a BtWave to be used for a certain key-range.
BtWavelevel * bt_wavelevel_new (const BtSong * const song
,const BtWave * const wave
,const GstBtNote root_note
,const gulong length
,const gulong loop_start
,const gulong loop_end
,const gulong rate
,gconstpointer sample
);
Create a new instance
#define BT_WAVELEVEL_DEFAULT_ROOT_NOTE (1+(4*16))
Default base-note for a wavelevel (c-3).
struct BtWavelevel;
A tone level for a BtWave. In most cases a BtWave has only one BtWavelevel.
“length”
property “length” gulong
length of the sample.
Owner: BtWavelevel
Flags: Read / Write
Allowed values: <= G_MAXINT64
“loop-end”
property “loop-end” gulong
end of the sample loop.
Owner: BtWavelevel
Flags: Read / Write
“loop-start”
property “loop-start” gulong
start of the sample loop.
Owner: BtWavelevel
Flags: Read / Write
“rate”
property “rate” gulong
sampling rate of the sample.
Owner: BtWavelevel
Flags: Read / Write
“root-note”
property “root-note” GstBtNote
the base note associated with the sample.
Owner: BtWavelevel
Flags: Read / Write / Construct
Default value: NONE
“song”
property“song” BtSong *
Set song object, the wavelevel belongs to.
Owner: BtWavelevel
Flags: Read / Write / Construct Only
“wave”
property“wave” BtWave *
Set wave object, the wavelevel belongs to.
Owner: BtWavelevel
Flags: Read / Write / Construct Only