Class
AgsAudioAudio
Description
class AgsAudio.Audio : GObject.Object
implements Ags.Connectable {
flags: AgsAudioFlags,
connectable_flags: AgsConnectableFlags,
ability_flags: AgsSoundAbilityFlags,
behaviour_flags: AgsSoundBehaviourFlags,
staging_flags: None,
staging_completed: None,
obj_mutex: GRecMutex,
uuid: AgsUUID*,
audio_name: gchar*,
output_soundcard: GObject*,
output_soundcard_channel_map: gint*,
input_soundcard: GObject*,
input_soundcard_channel_map: gint*,
output_sequencer: GObject*,
input_sequencer: GObject*,
samplerate: guint,
buffer_size: guint,
format: AgsSoundcardFormat,
bpm: gdouble,
bank_dim: None,
min_audio_channels: guint,
max_audio_channels: guint,
min_output_pads: guint,
max_output_pads: guint,
min_input_pads: guint,
max_input_pads: guint,
audio_channels: guint,
output_pads: guint,
output_lines: guint,
input_pads: guint,
input_lines: guint,
audio_start_mapping: guint,
audio_end_mapping: guint,
midi_start_mapping: guint,
midi_end_mapping: guint,
midi_group: guint,
midi_channel: guint,
numerator: guint,
denominator: guint,
time_signature: gchar*,
is_minor: gboolean,
sharp_flats: guint,
octave: gint,
key: guint,
absolute_key: gint,
loop_start: guint64,
loop_end: guint64,
offset: guint64,
output: AgsChannel*,
input: AgsChannel*,
preset: GList*,
playback_domain: GObject*,
synth_generator: GList*,
sf2_synth_generator: GList*,
sfz_synth_generator: GList*,
cursor: GList*,
notation: GList*,
automation_port: gchar**,
automation: GList*,
wave: GList*,
output_audio_file: GObject*,
input_audio_file: GObject*,
instrument_name: gchar*,
track_name: gchar*,
midi: GList*,
output_midi_file: GObject*,
input_midi_file: GObject*,
recall_id: GList*,
recycling_context: GList*,
recall_container: GList*,
play_mutex: GRecMutex,
play: GList*,
recall_mutex: GRecMutex,
recall: GList*,
machine_widget: gpointer,
file_data: gpointer
}
No description available.
Instance methods
ags_audio_collect_all_audio_ports_by_specifier_and_context
Retrieve specified port of AgsAudio
.
since: 3.0.0
Methods inherited from AgsConnectable (13)
ags_connectable_add_to_registry
Add connectable to registry.
ags_connectable_connect
Connect the connectable.
ags_connectable_connect_connection
Disconnect the connectable.
ags_connectable_disconnect
Disconnect the connectable.
ags_connectable_disconnect_connection
Disconnect the connectable.
ags_connectable_get_uuid
Get UUID of connectable
.
ags_connectable_has_resource
Check the connectable to have resources.
ags_connectable_is_connected
Check if the connectable
was connected.
ags_connectable_is_ready
Connect the connectable.
ags_connectable_list_resource
List resources as an XML element and return it.
ags_connectable_remove_from_registry
Remove connectable from registry.
ags_connectable_xml_compose
Compose an XML element and return it.
ags_connectable_xml_parse
Parse node
as XML element and apply it.
Properties
AgsAudio.Audio:recall-container
The AgsRecallContainer
it contains in container-context.
since: 3.0.0
AgsAudio.Audio:sf2-synth-generator
The assigned GList
-struct containing AgsSF2SynthGenerator
information.
since: 3.4.0
AgsAudio.Audio:sfz-synth-generator
The assigned GList
-struct containing AgsSFZSynthGenerator
information.
since: 3.4.0
AgsAudio.Audio:synth-generator
The assigned GList
-struct containing AgsSynthGenerator
information.
since: 3.0.0
Signals
AgsAudio.Audio::cancel-recall
The ::cancel-recall signal notifies about canceld recalls.
since: 3.0.0
AgsAudio.Audio::check-scope
The ::check-scope method returns the appropriate recall id of sound_scope
.
since: 3.0.0
AgsAudio.Audio::cleanup-recall
The ::cleanup-recall signal notifies about cleanup recalls.
since: 3.0.0
AgsAudio.Audio::duplicate-recall
The ::duplicate-recall signal notifies about duplicated recalls.
since: 3.0.0
AgsAudio.Audio::recursive-run-stage
The ::recursive-run-stage signal is invoked while run staging
of audio
for sound_scope
.
since: 3.0.0
AgsAudio.Audio::resolve-recall
The ::resolve-recall signal notifies about resolved recalls.
since: 3.0.0
AgsAudio.Audio::set-audio-channels
The ::set-audio-channels signal notifies about changes in channel alignment.
since: 3.0.0
AgsAudio.Audio::set-pads
The ::set-pads signal notifies about changes in channel alignment.
since: 3.0.0
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct AgsAudioAudioClass {
GObjectClass gobject;
void (* set_audio_channels) (
AgsAudio* audio,
guint audio_channels,
guint audio_channels_old
);
void (* set_pads) (
AgsAudio* audio,
GType channel_type,
guint pads,
guint pads_old
);
void (* duplicate_recall) (
AgsAudio* audio,
AgsRecallID* recall_id,
guint pad,
guint audio_channel,
guint line
);
void (* resolve_recall) (
AgsAudio* audio,
AgsRecallID* recall_id
);
void (* init_recall) (
AgsAudio* audio,
AgsRecallID* recall_id,
AgsSoundStagingFlags staging_flags
);
void (* play_recall) (
AgsAudio* audio,
AgsRecallID* recall_id,
AgsSoundStagingFlags staging_flags
);
void (* done_recall) (
AgsAudio* audio,
AgsRecallID* recall_id
);
void (* cancel_recall) (
AgsAudio* audio,
AgsRecallID* recall_id
);
void (* cleanup_recall) (
AgsAudio* audio,
AgsRecallID* recall_id
);
GList* (* start) (
AgsAudio* audio,
gint sound_scope
);
void (* stop) (
AgsAudio* audio,
GList* recall_id,
gint sound_scope
);
GList* (* check_scope) (
AgsAudio* audio,
gint sound_scope
);
void (* recursive_run_stage) (
AgsAudio* audio,
gint sound_scope,
AgsSoundStagingFlags staging_flags
);
}
No description available.
Class members
gobject: GObjectClass
No description available.
set_audio_channels: void (* set_audio_channels) ( AgsAudio* audio, guint audio_channels, guint audio_channels_old )
No description available.
set_pads: void (* set_pads) ( AgsAudio* audio, GType channel_type, guint pads, guint pads_old )
No description available.
duplicate_recall: void (* duplicate_recall) ( AgsAudio* audio, AgsRecallID* recall_id, guint pad, guint audio_channel, guint line )
No description available.
resolve_recall: void (* resolve_recall) ( AgsAudio* audio, AgsRecallID* recall_id )
No description available.
init_recall: void (* init_recall) ( AgsAudio* audio, AgsRecallID* recall_id, AgsSoundStagingFlags staging_flags )
No description available.
play_recall: void (* play_recall) ( AgsAudio* audio, AgsRecallID* recall_id, AgsSoundStagingFlags staging_flags )
No description available.
done_recall: void (* done_recall) ( AgsAudio* audio, AgsRecallID* recall_id )
No description available.
cancel_recall: void (* cancel_recall) ( AgsAudio* audio, AgsRecallID* recall_id )
No description available.
cleanup_recall: void (* cleanup_recall) ( AgsAudio* audio, AgsRecallID* recall_id )
No description available.
start: GList* (* start) ( AgsAudio* audio, gint sound_scope )
No description available.
stop: void (* stop) ( AgsAudio* audio, GList* recall_id, gint sound_scope )
No description available.
check_scope: GList* (* check_scope) ( AgsAudio* audio, gint sound_scope )
No description available.
recursive_run_stage: void (* recursive_run_stage) ( AgsAudio* audio, gint sound_scope, AgsSoundStagingFlags staging_flags )
No description available.
Virtual methods
AgsAudio.AudioClass.recursive_run_stage
Resets audio
‘s sound_scope
specified by staging_flags
.
since: 3.0.0
AgsAudio.AudioClass.set_audio_channels
Resize audio channels AgsInput will be allocated first.
since: 3.0.0