Top |
void | append-header | Run Last |
void | append-track | Run Last |
void | change-channel-pressure | Run Last |
void | change-parameter | Run Last |
void | change-pitch-bend | Run Last |
void | change-program | Run Last |
void | key-off | Run Last |
void | key-on | Run Last |
void | key-pressure | Run Last |
void | key-signature | Run Last |
void | on-error | Run Last |
void | quarter-frame | Run Last |
void | sequence-number | Run Last |
void | sequencer-meta-event | Run Last |
void | smtpe | Run Last |
void | song-position | Run Last |
void | song-select | Run Last |
void | sysex | Run Last |
void | tempo | Run Last |
void | text-event | Run Last |
void | time-signature | Run Last |
void | tune-request | Run Last |
void ags_midi_builder_midi_putc (AgsMidiBuilder *midi_builder
,int c
);
void ags_midi_builder_on_error (AgsMidiBuilder *midi_builder
,GError **error
);
Triggered as an error occurs.
Since: 0.7.3
void ags_midi_builder_append_header (AgsMidiBuilder *midi_builder
,guint offset
,guint format
,guint track_count
,guint division
,guint times
,guint bpm
,guint clicks
);
Appends MIDI header to midi_builder
.
midi_builder |
the AgsMidiBuilder |
|
offset |
start delta-time |
|
format |
either 0, 1 or 2. |
|
track_count |
the number of tracks |
|
division |
timing division |
|
times |
pulse per quarter note |
|
bpm |
beats per minute |
|
clicks |
timing clicks |
Since: 0.7.3
void ags_midi_builder_append_track (AgsMidiBuilder *midi_builder
,gchar *track_name
);
Append a track called track_name
to midi_builder
.
Since: 0.7.3
void ags_midi_builder_append_key_on (AgsMidiBuilder *midi_builder
,guint delta_time
,guint audio_channel
,guint note
,guint velocity
);
Append key-on for note
to midi_builder
with key dynamics velocity
, at delta_time
.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
delta-time |
|
audio_channel |
the audio channel |
|
note |
the note to play from 0 to 128 |
|
velocity |
key dynamics |
Since: 0.7.3
void ags_midi_builder_append_key_off (AgsMidiBuilder *midi_builder
,guint delta_time
,guint audio_channel
,guint note
,guint velocity
);
Append key-off for note
to midi_builder
with key dynamics velocity
, at delta_time
.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
delta-time |
|
audio_channel |
the audio channel |
|
note |
the note to play from 0 to 128 |
|
velocity |
key dynamics |
Since: 0.7.3
void ags_midi_builder_append_key_pressure (AgsMidiBuilder *midi_builder
,guint delta_time
,guint audio_channel
,guint note
,guint pressure
);
Append key-pressure for note
to midi_builder
with key dynamics pressure
, at delta_time
.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
delta-time |
|
audio_channel |
the audio channel |
|
note |
the note to play from 0 to 128 |
|
pressure |
key dynamics |
Since: 0.7.3
void ags_midi_builder_append_change_parameter (AgsMidiBuilder *midi_builder
,guint delta_time
,guint channel
,guint control
,guint value
);
Appends change parameter.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
channel |
the channel |
|
control |
the control |
|
value |
the value |
Since: 0.7.3
void ags_midi_builder_append_change_pitch_bend (AgsMidiBuilder *midi_builder
,guint delta_time
,guint channel
,guint pitch
,guint transmitter
);
Change pitch bend.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
channel |
the channel |
|
pitch |
the pitch |
|
transmitter |
the transmitter |
Since: 0.7.3
void ags_midi_builder_append_change_program (AgsMidiBuilder *midi_builder
,guint delta_time
,guint channel
,guint program
);
Appends change program.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
channel |
the channel |
|
program |
the program |
Since: 0.7.3
void ags_midi_builder_append_change_pressure (AgsMidiBuilder *midi_builder
,guint delta_time
,guint channel
,guint pressure
);
Appends change pressure.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
channel |
the channel |
|
pressure |
the pressure |
Since: 0.7.3
void ags_midi_builder_append_sysex (AgsMidiBuilder *midi_builder
,guint delta_time
,unsigned char *sysex_data
,guint length
);
Appends sysex data.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
sysex_data |
the sysex data |
|
length |
length |
Since: 0.7.3
void ags_midi_builder_append_quarter_frame (AgsMidiBuilder *midi_builder
,guint delta_time
,guint message_type
,guint values
);
Appends quarter frame.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
message_type |
the message type |
|
values |
values |
Since: 0.7.3
void ags_midi_builder_append_song_position (AgsMidiBuilder *midi_builder
,guint delta_time
,guint song_position
);
Appends song position.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
song_position |
the song position |
Since: 0.7.3
void ags_midi_builder_append_song_select (AgsMidiBuilder *midi_builder
,guint delta_time
,guint song_select
);
Appends song select.
Since: 0.7.3
void ags_midi_builder_append_tune_request (AgsMidiBuilder *midi_builder
,guint delta_time
);
Appends tune request.
Since: 0.7.3
void ags_midi_builder_append_sequence_number (AgsMidiBuilder *midi_builder
,guint delta_time
,guint sequence
);
Appends sequence number.
Since: 0.7.3
void ags_midi_builder_append_smtpe (AgsMidiBuilder *midi_builder
,guint delta_time
,guint hr
,guint mn
,guint se
,guint fr
,guint ff
);
Appends smtpe.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
hr |
hours |
|
mn |
minutes |
|
se |
seconds |
|
fr |
fraction |
|
ff |
fraction functio |
Since: 0.7.3
void ags_midi_builder_append_tempo (AgsMidiBuilder *midi_builder
,guint delta_time
,guint tempo
);
Appends tempo.
Since: 0.7.3
void ags_midi_builder_append_time_signature (AgsMidiBuilder *midi_builder
,guint delta_time
,guint nn
,guint dd
,guint cc
,guint bb
);
Appends time signature.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
nn |
numerator |
|
dd |
denominator |
|
cc |
ticks per metronome click |
|
bb |
32nd per quarter note |
Since: 0.7.3
void ags_midi_builder_append_key_signature (AgsMidiBuilder *midi_builder
,guint delta_time
,guint sf
,guint mi
);
Appends key signature.
Since: 0.7.3
void ags_midi_builder_append_sequencer_meta_event (AgsMidiBuilder *midi_builder
,guint delta_time
,guint len
,guint id
,guint data
);
Appends sequencer meta event.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
len |
the length |
|
id |
the id |
|
data |
the data |
Since: 0.7.3
void ags_midi_builder_append_text_event (AgsMidiBuilder *midi_builder
,guint delta_time
,gchar *text
,guint length
);
Appends text event.
midi_builder |
the AgsMidiBuilder |
|
delta_time |
the delta time |
|
text |
the string |
|
length |
the string length |
Since: 0.7.3
void ags_midi_builder_append_xml_node (AgsMidiBuilder *midi_builder
,xmlNode *node
);
Append from XML node node
.
Since: 0.7.3
void ags_midi_builder_from_xml_doc (AgsMidiBuilder *midi_builder
,xmlDoc *doc
);
Builds from XML document doc
.
Since: 0.7.3
void
ags_midi_builder_build (AgsMidiBuilder *midi_builder
);
Build the MIDI data.
Since: 0.7.3
AgsMidiBuilder *
ags_midi_builder_new (FILE *file
);
Creates a new AgsMidiBuilder
Since: 0.7.0
“append-header”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint offset, guint format, guint track_count, guint division, guint times, guint bpm, guint clicks, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“append-track”
signalvoid user_function (AgsMidiBuilder *midi_builder, gchar *track_name, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“change-channel-pressure”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint channel, guint pressure, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“change-parameter”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint channel, guint control, guint value, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“change-pitch-bend”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint channel, guint pitch, guint transmitter, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“change-program”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint channel, guint program, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“key-off”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint audio_channel, guint note, guint velocity, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“key-on”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint audio_channel, guint note, guint velocity, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“key-pressure”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint audio_channel, guint note, guint pressure, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“key-signature”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint sf, gboolean mi, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“on-error”
signalvoid user_function (AgsMidiBuilder *midi_builder, gpointer error, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“quarter-frame”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint message_type, guint values, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“sequence-number”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint sequence, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“sequencer-meta-event”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint len, guint id, guint data, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“smtpe”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint hr, guint mn, guint se, guint fr, guint ff, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“song-position”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint song_position, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“song-select”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint song_select, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“sysex”
signalvoid user_function (AgsMidiBuilder *midi_builder, gpointer sysex_data, guint length, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“tempo”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint tempo, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“text-event”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint text, guint length, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“time-signature”
signalvoid user_function (AgsMidiBuilder *midi_builder, guint delta_time, guint nn, guint dd, guint cc, guint bb, gpointer user_data)
Flags: Run Last
Since: 0.7.0
“tune-request”
signalvoid user_function (AgsMidiBuilder *midi_builder, gpointer user_data)
Flags: Run Last
Since: 0.7.0