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.
#define BT_WAVELEVEL_DEFAULT_ROOT_NOTE (1+(4*16))
Default base-note for a wavelevel (c-3).
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
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.
Flags: Read / Write
Allowed values: <= G_MAXLONG
“root-note”
property “root-note” GstBtNote
the base note associated with the sample.
Flags: Read / Write / Construct
Default value: NONE
“song”
property“song” BtSong *
Set song object, the wavelevel belongs to.
Flags: Read / Write / Construct Only
“wave”
property“wave” BtWave *
Set wave object, the wavelevel belongs to.
Flags: Read / Write / Construct Only