| Top |
| glong | ags_midi_util_envelope_to_velocity () |
| void | ags_midi_util_velocity_to_envelope () |
| glong | ags_midi_util_envelope_to_pressure () |
| void | ags_midi_util_pressure_to_envelope () |
| guint | ags_midi_util_delta_time_to_offset () |
| glong | ags_midi_util_offset_to_delta_time () |
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 delta_time,gdouble bpm,gdouble delay_factor,gdouble *delay,guint *attack);
Delta time to offset
Since: 0.7.2