| Top |
| guint | ags_midi_buffer_util_get_varlength_size () |
| void | ags_midi_buffer_util_put_varlength () |
| guint | ags_midi_buffer_util_get_varlength () |
| void | ags_midi_buffer_util_put_key_on () |
| guint | ags_midi_buffer_util_get_key_on () |
| void | ags_midi_buffer_util_put_key_off () |
| guint | ags_midi_buffer_util_get_key_off () |
| void | ags_midi_buffer_util_put_key_pressure () |
| guint | ags_midi_buffer_util_get_key_pressure () |
| guint | ags_midi_buffer_util_decode () |
guint
ags_midi_buffer_util_get_varlength_size
(glong varlength);
Retrieve the size needed to store the variable length.
Since: 0.7.2
void ags_midi_buffer_util_put_varlength (unsigned char *buffer,glong varlength);
Put the variable lenght value to buffer
.
Since: 0.7.2
guint ags_midi_buffer_util_get_varlength (unsigned char *buffer,glong *varlength);
Get the variable lenght value from buffer
.
Since: 0.7.4
void ags_midi_buffer_util_put_key_on (unsigned char *buffer,glong delta_time,glong channel,glong key,glong velocity);
Puts the given values to buffer
with appropriate channel message.
buffer |
the character buffer |
|
delta_time |
timing information |
|
channel |
valid channels from 0-15 |
|
key |
valid keys to play 0-128 |
|
velocity |
the key dynamics |
Since: 0.7.2
guint ags_midi_buffer_util_get_key_on (unsigned char *buffer,glong *delta_time,glong *channel,glong *key,glong *velocity);
Get the key-on message from buffer
.
buffer |
the character buffer |
|
delta_time |
the return location of timing information |
|
channel |
the return location of channel |
|
key |
the return location of key |
|
velocity |
the return location of velocity |
Since: 0.7.4
void ags_midi_buffer_util_put_key_off (unsigned char *buffer,glong delta_time,glong channel,glong key,glong velocity);
Puts the given values to buffer
with appropriate channel message.
buffer |
the character buffer |
|
delta_time |
timing information |
|
channel |
valid channels from 0-15 |
|
key |
valid keys to play 0-128 |
|
velocity |
the key dynamics |
Since: 0.7.2
guint ags_midi_buffer_util_get_key_off (unsigned char *buffer,glong *delta_time,glong *channel,glong *key,glong *velocity);
Get the key-off message from buffer
.
buffer |
the character buffer |
|
delta_time |
the return location of timing information |
|
channel |
the return location of channel |
|
key |
the return location of key |
|
velocity |
the return location of velocity |
Since: 0.7.4
void ags_midi_buffer_util_put_key_pressure (unsigned char *buffer,glong delta_time,glong channel,glong key,glong pressure);
Puts the given values to buffer
with appropriate channel message.
buffer |
the character buffer |
|
delta_time |
timing information |
|
channel |
valid channels from 0-15 |
|
key |
valid keys to play 0-128 |
|
pressure |
the key dynamics |
Since: 0.7.2
guint ags_midi_buffer_util_get_key_pressure (unsigned char *buffer,glong *delta_time,glong *channel,glong *key,glong *pressure);
Get the key-pressure message from buffer
.
buffer |
the character buffer |
|
delta_time |
the return location of timing information |
|
channel |
the return location of channel |
|
key |
the return location of key |
|
pressure |
the return location of pressure |
Since: 0.7.90