Interface
AgsSequencer
Prerequisite
In order to implement Sequencer, your type must inherit fromGObject
.
Signals
Ags.Sequencer::offset-changed
The ::offset-changed signal notifies about changed position within notation.
since: 3.0.0
Ags.Sequencer::tic
The ::tic signal is emitted every tic of the sequencer. This notifies about a newly played buffer.
since: 3.0.0
Interface structure
struct AgsSequencerInterface {
GTypeInterface ginterface;
void (* set_device) (
AgsSequencer* sequencer,
gchar* card_id
);
gchar* (* get_device) (
AgsSequencer* sequencer
);
void (* list_cards) (
AgsSequencer* sequencer,
GList** card_id,
GList** card_name
);
gboolean (* is_starting) (
AgsSequencer* sequencer
);
gboolean (* is_playing) (
AgsSequencer* sequencer
);
gboolean (* is_recording) (
AgsSequencer* sequencer
);
void (* play_init) (
AgsSequencer* sequencer,
GError** error
);
void (* play) (
AgsSequencer* sequencer,
GError** error
);
void (* record_init) (
AgsSequencer* sequencer,
GError** error
);
void (* record) (
AgsSequencer* sequencer,
GError** error
);
void (* stop) (
AgsSequencer* sequencer
);
void (* tic) (
AgsSequencer* sequencer
);
void (* offset_changed) (
AgsSequencer* sequencer,
guint note_offset
);
void* (* get_buffer) (
AgsSequencer* sequencer,
guint* buffer_length
);
void* (* get_next_buffer) (
AgsSequencer* sequencer,
guint* buffer_length
);
void (* lock_buffer) (
AgsSequencer* sequencer,
void* buffer
);
void (* unlock_buffer) (
AgsSequencer* sequencer,
void* buffer
);
void (* set_bpm) (
AgsSequencer* sequencer,
gdouble bpm
);
gdouble (* get_bpm) (
AgsSequencer* sequencer
);
void (* set_delay_factor) (
AgsSequencer* sequencer,
gdouble delay_factor
);
gdouble (* get_delay_factor) (
AgsSequencer* sequencer
);
void (* set_start_note_offset) (
AgsSequencer* sequencer,
guint start_note_offset
);
guint (* get_start_note_offset) (
AgsSequencer* sequencer
);
void (* set_note_offset) (
AgsSequencer* sequencer,
guint note_offset
);
guint (* get_note_offset) (
AgsSequencer* sequencer
);
AgsSequencerMidiVersion (* get_midi_version) (
AgsSequencer* sequencer
);
void (* set_midi_version) (
AgsSequencer* sequencer,
AgsSequencerMidiVersion midi_version
);
}
No description available.
Interface members
ginterface |
|
No description available. |
|
set_device |
|
No description available. |
|
get_device |
|
No description available. |
|
list_cards |
|
No description available. |
|
is_starting |
|
No description available. |
|
is_playing |
|
No description available. |
|
is_recording |
|
No description available. |
|
play_init |
|
No description available. |
|
play |
|
No description available. |
|
record_init |
|
No description available. |
|
record |
|
No description available. |
|
stop |
|
No description available. |
|
tic |
|
No description available. |
|
offset_changed |
|
No description available. |
|
get_buffer |
|
No description available. |
|
get_next_buffer |
|
No description available. |
|
lock_buffer |
|
No description available. |
|
unlock_buffer |
|
No description available. |
|
set_bpm |
|
No description available. |
|
get_bpm |
|
No description available. |
|
set_delay_factor |
|
No description available. |
|
get_delay_factor |
|
No description available. |
|
set_start_note_offset |
|
No description available. |
|
get_start_note_offset |
|
No description available. |
|
set_note_offset |
|
No description available. |
|
get_note_offset |
|
No description available. |
|
get_midi_version |
|
No description available. |
|
set_midi_version |
|
No description available. |