| Top |
BtWavelevelBtWavelevel — a single part of a BtWave item |
| gpointer | data | Read / Write / Construct |
| gulong | length | Read / Write / Construct |
| glong | loop-end | Read / Write / Construct |
| glong | loop-start | Read / Write / Construct |
| gulong | rate | Read / Write / Construct |
| guchar | root-note | Read / Write / Construct |
| BtSong * | song | Read / Write / Construct Only |
| BtWave * | wave | Read / Write / Construct Only |
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 guchar root_note,const gulong length,const glong loop_start,const glong 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 / Construct
Allowed values: <= G_MAXINT64
“loop-end” property “loop-end” glong
end of the sample loop.
Flags: Read / Write / Construct
Allowed values: >= -1
Default value: -1
“loop-start” property “loop-start” glong
start of the sample loop.
Flags: Read / Write / Construct
Allowed values: >= -1
Default value: -1
“root-note” property “root-note” guchar
the base note associated with the sample.
Flags: Read / Write / Construct
Default value: 0
“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