Top | ![]() |
![]() |
![]() |
![]() |
gboolean
ags_midi_util_is_key_pressure (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_change_parameter (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_pitch_bend (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_change_program (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_change_pressure (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_quarter_frame (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_song_position (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_song_select (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_tune_request (unsigned char *buffer
);
Since: 1.0.0
gboolean
ags_midi_util_is_meta_event (unsigned char *buffer
);
Since: 1.0.0
unsigned char * ags_midi_util_to_smf (unsigned char *midi_buffer
,guint midi_buffer_length
,glong delta_time
,guint *smf_buffer_length
);
Convert real-time MIDI to SMF.
Since: 1.0.0
glong ags_midi_util_envelope_to_velocity (AgsComplex *attack
,AgsComplex *decay
,AgsComplex *sustain
,AgsComplex *release
,AgsComplex *ratio
,guint samplerate
,guint start_frame
,guint end_frame
);
Envelope to velocity.
attack |
attack |
|
decay |
decay |
|
sustain |
sustain |
|
release |
release |
|
ratio |
ratio |
|
samplerate |
samplerate |
|
start_frame |
start frame |
|
end_frame |
end frame |
Since: 0.7.2
void ags_midi_util_velocity_to_envelope (glong delta_time
,gboolean is_release
,AgsComplex **attack
,AgsComplex **decay
,AgsComplex **sustain
,AgsComplex **release
,AgsComplex **ratio
,guint *samplerate
,guint *start_frame
,guint *end_frame
);
Velocity to envelope.
delta_time |
delta time |
|
is_release |
is release |
|
attack |
attack |
|
decay |
decay |
|
sustain |
sustain |
|
release |
release |
|
ratio |
ratio |
|
samplerate |
samplerate |
|
start_frame |
start frame |
|
end_frame |
end frame |
Since: 0.7.2
glong ags_midi_util_envelope_to_pressure (AgsComplex *attack
,AgsComplex *decay
,AgsComplex *sustain
,AgsComplex *release
,AgsComplex *ratio
,guint samplerate
,guint start_frame
,guint end_frame
);
Envelope to pressure.
attack |
attack |
|
decay |
decay |
|
sustain |
sustain |
|
release |
release |
|
ratio |
ratio |
|
samplerate |
samplerate |
|
start_frame |
start frame |
|
end_frame |
end frame |
Since: 0.7.2
void ags_midi_util_pressure_to_envelope (glong delta_time
,gboolean is_sustain
,AgsComplex **attack
,AgsComplex **decay
,AgsComplex **sustain
,AgsComplex **release
,AgsComplex **ratio
,guint *samplerate
,guint *start_frame
,guint *end_frame
);
Pressure to envelope.
delta_time |
delta time |
|
is_sustain |
is sustain |
|
attack |
attack |
|
decay |
decay |
|
sustain |
sustain |
|
release |
release |
|
ratio |
ratio |
|
samplerate |
samplerate |
|
start_frame |
start frame |
|
end_frame |
end frame |
Since: 0.7.2
guint ags_midi_util_delta_time_to_offset (glong division
,glong tempo
,glong bpm
,glong delta_time
);
Delta time to offset
Since: 0.7.2