Class
AgsAudioMidiBuilder
Description
class AgsAudio.MidiBuilder : GObject.Object
{
flags: AgsMidiBuilderFlags,
obj_mutex: GRecMutex,
midi_smf_util: AgsMidiSmfUtil*,
data: guchar*,
length: guint,
file: FILE*,
midi_header: AgsMidiBuilderHeader*,
midi_track: GList*,
current_midi_track: AgsMidiBuilderTrack*
}
No description available.
Instance methods
ags_midi_builder_append_key_off
Append key-off for note
to midi_builder
with key dynamics velocity
, at delta_time
.
since: 3.0.0
ags_midi_builder_append_key_on
Append key-on for note
to midi_builder
with key dynamics velocity
, at delta_time
.
since: 3.0.0
ags_midi_builder_append_key_pressure
Append key-pressure for note
to midi_builder
with key dynamics pressure
, at delta_time
.
since: 3.0.0
Signals
AgsAudio.MidiBuilder::append-header
The ::append-header signal is emited during building of header.
since: 3.0.0
AgsAudio.MidiBuilder::append-track
The ::append-track signal is emited during building of track.
since: 3.0.0
AgsAudio.MidiBuilder::midi-putc
The ::midi-putc signal is emited during putting char to file.
since: 3.0.0
AgsAudio.MidiBuilder::on-error
The ::on-error signal is emited during building of event.
since: 3.0.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct AgsAudioMidiBuilderClass {
GObjectClass gobject;
void (* midi_putc) (
AgsMidiBuilder* midi_builder,
gint c
);
void (* on_error) (
AgsMidiBuilder* midi_builder,
GError** error
);
void (* append_header) (
AgsMidiBuilder* midi_builder,
guint offset,
guint format,
guint track_count,
guint division,
guint times,
guint bpm,
guint clicks
);
void (* append_track) (
AgsMidiBuilder* midi_builder,
gchar* track_name
);
void (* append_key_on) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint audio_channel,
guint note,
guint velocity
);
void (* append_key_off) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint audio_channel,
guint note,
guint velocity
);
void (* append_key_pressure) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint audio_channel,
guint note,
guint pressure
);
void (* append_change_parameter) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint channel,
guint control,
guint value
);
void (* append_change_pitch_bend) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint channel,
guint transmitter
);
void (* append_change_program) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint channel,
guint program
);
void (* append_change_pressure) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint channel,
guint pressure
);
void (* append_sysex) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guchar* sysex_data,
guint length
);
void (* append_quarter_frame) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint message_type,
guint values
);
void (* append_song_position) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint song_position
);
void (* append_song_select) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint song_select
);
void (* append_tune_request) (
AgsMidiBuilder* midi_builder,
guint delta_time
);
void (* append_sequence_number) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint sequence
);
void (* append_smtpe) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint rr,
guint hr,
guint mn,
guint se,
guint fr
);
void (* append_tempo) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint tempo
);
void (* append_time_signature) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint nn,
guint dd,
guint cc,
guint bb
);
void (* append_key_signature) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint sf,
guint mi
);
void (* append_sequencer_meta_event) (
AgsMidiBuilder* midi_builder,
guint delta_time,
guint len,
guint id,
guint data
);
void (* append_text_event) (
AgsMidiBuilder* midi_builder,
guint delta_time,
gchar* text,
guint length
);
}
No description available.
Class members
gobject: GObjectClass
No description available.
midi_putc: void (* midi_putc) ( AgsMidiBuilder* midi_builder, gint c )
No description available.
on_error: void (* on_error) ( AgsMidiBuilder* midi_builder, GError** error )
No description available.
append_header: void (* append_header) ( AgsMidiBuilder* midi_builder, guint offset, guint format, guint track_count, guint division, guint times, guint bpm, guint clicks )
No description available.
append_track: void (* append_track) ( AgsMidiBuilder* midi_builder, gchar* track_name )
No description available.
append_key_on: void (* append_key_on) ( AgsMidiBuilder* midi_builder, guint delta_time, guint audio_channel, guint note, guint velocity )
No description available.
append_key_off: void (* append_key_off) ( AgsMidiBuilder* midi_builder, guint delta_time, guint audio_channel, guint note, guint velocity )
No description available.
append_key_pressure: void (* append_key_pressure) ( AgsMidiBuilder* midi_builder, guint delta_time, guint audio_channel, guint note, guint pressure )
No description available.
append_change_parameter: void (* append_change_parameter) ( AgsMidiBuilder* midi_builder, guint delta_time, guint channel, guint control, guint value )
No description available.
append_change_pitch_bend: void (* append_change_pitch_bend) ( AgsMidiBuilder* midi_builder, guint delta_time, guint channel, guint transmitter )
No description available.
append_change_program: void (* append_change_program) ( AgsMidiBuilder* midi_builder, guint delta_time, guint channel, guint program )
No description available.
append_change_pressure: void (* append_change_pressure) ( AgsMidiBuilder* midi_builder, guint delta_time, guint channel, guint pressure )
No description available.
append_sysex: void (* append_sysex) ( AgsMidiBuilder* midi_builder, guint delta_time, guchar* sysex_data, guint length )
No description available.
append_quarter_frame: void (* append_quarter_frame) ( AgsMidiBuilder* midi_builder, guint delta_time, guint message_type, guint values )
No description available.
append_song_position: void (* append_song_position) ( AgsMidiBuilder* midi_builder, guint delta_time, guint song_position )
No description available.
append_song_select: void (* append_song_select) ( AgsMidiBuilder* midi_builder, guint delta_time, guint song_select )
No description available.
append_tune_request: void (* append_tune_request) ( AgsMidiBuilder* midi_builder, guint delta_time )
No description available.
append_sequence_number: void (* append_sequence_number) ( AgsMidiBuilder* midi_builder, guint delta_time, guint sequence )
No description available.
append_smtpe: void (* append_smtpe) ( AgsMidiBuilder* midi_builder, guint delta_time, guint rr, guint hr, guint mn, guint se, guint fr )
No description available.
append_tempo: void (* append_tempo) ( AgsMidiBuilder* midi_builder, guint delta_time, guint tempo )
No description available.
append_time_signature: void (* append_time_signature) ( AgsMidiBuilder* midi_builder, guint delta_time, guint nn, guint dd, guint cc, guint bb )
No description available.
append_key_signature: void (* append_key_signature) ( AgsMidiBuilder* midi_builder, guint delta_time, guint sf, guint mi )
No description available.
append_sequencer_meta_event: void (* append_sequencer_meta_event) ( AgsMidiBuilder* midi_builder, guint delta_time, guint len, guint id, guint data )
No description available.
append_text_event: void (* append_text_event) ( AgsMidiBuilder* midi_builder, guint delta_time, gchar* text, guint length )
No description available.
Virtual methods
AgsAudio.MidiBuilderClass.append_key_off
Append key-off for note
to midi_builder
with key dynamics velocity
, at delta_time
.
since: 3.0.0
AgsAudio.MidiBuilderClass.append_key_on
Append key-on for note
to midi_builder
with key dynamics velocity
, at delta_time
.
since: 3.0.0
AgsAudio.MidiBuilderClass.append_key_pressure
Append key-pressure for note
to midi_builder
with key dynamics pressure
, at delta_time
.
since: 3.0.0
AgsAudio.MidiBuilderClass.append_track
Append a track called track_name
to midi_builder
.
since: 3.0.0