Top | ![]() |
![]() |
![]() |
![]() |
BtSongInfoBtSongInfo — class that keeps the meta-data for a BtSong instance |
gchar * | author | Read / Write |
gulong | bars | Read / Write |
gulong | bpm | Read / Write |
gchar * | change-dts | Read / Write |
gchar * | create-dts | Read / Write |
gchar * | file-name | Read / Write |
gchar * | genre | Read / Write |
gchar * | info | Read / Write |
gchar * | name | Read / Write |
BtSong * | song | Read / Write / Construct Only |
gpointer | taglist | Read |
gulong | tpb | Read / Write |
Exposes the meta-data of a song as GObject properties. These are for one pure data fields such as author and song name. These fields get used when recording a song to a file (rendering) in the form of meta-tags.
Further there are fields that determine rythm and song-speed. The speed is determined by “bpm”. The rythm is determined by “bars” and “tpb”. If 'bars' is 16, than on can have 1/16 notes. And if 'ticks per beat' is 4 one will have 4 beats - a classic 4/4 meassure. For a 3/4 meassure, 'bars' would be 12. Thus bars = beats * tpb.
BtSongInfo *
bt_song_info_new (const BtSong * const song
);
Create a new instance
“bars”
property “bars” gulong
how many bars per meassure.
Flags: Read / Write
Allowed values: [1,64]
“bpm”
property “bpm” gulong
how many beats should be played in a minute.
Flags: Read / Write
Allowed values: [1,1000]
“change-dts”
property “change-dts” gchar *
song changed date time stamp (iso 8601 format).
Flags: Read / Write
Default value: NULL
“create-dts”
property “create-dts” gchar *
song creation date time stamp (iso 8601 format).
Flags: Read / Write
Default value: NULL
“file-name”
property “file-name” gchar *
songs file name.
Flags: Read / Write
Default value: NULL
“info”
property “info” gchar *
songs freeform info.
Flags: Read / Write
Default value: "comment me!"
“song”
property“song” BtSong *
song object, the song-info belongs to.
Flags: Read / Write / Construct Only