Top |
guint | audio-channels | Read / Write |
guint | audio-end-mapping | Read / Write |
guint | audio-start-mapping | Read / Write |
AgsAutomation * | automation | Read / Write |
guint | buffer-size | Read / Write |
guint | format | Read / Write |
AgsInput * | input | Read |
guint | input-lines | Read |
guint | input-pads | Read / Write |
guint | midi-end-mapping | Read / Write |
GObject * | midi-file | Read / Write |
guint | midi-start-mapping | Read / Write |
AgsNotation * | notation | Read / Write |
AgsOutput * | output | Read |
guint | output-lines | Read |
guint | output-pads | Read / Write |
AgsRecall * | play | Read / Write |
AgsPlaybackDomain * | playback-domain | Read / Write |
AgsRecall * | recall | Read / Write |
AgsRecallContainer * | recall-container | Read / Write |
AgsRecallID * | recall-id | Read / Write |
AgsRecyclingContext * | recycling-context | Read / Write |
guint | samplerate | Read / Write |
guint | sequence-length | Read / Write |
GObject * | sequencer | Read / Write |
GObject * | soundcard | Read / Write |
AgsAudio organizes AgsChannel objects either as input or output and is responsible of their alignment. The class can contain AgsRecall objects in order to perform computation on all channels or in audio context. Therefor exists AgsRecyclingContext acting as tree context.
At least one AgsRecallID is assigned to it and has one more if
AGS_AUDIO_OUTPUT_HAS_RECYCLING
is set as flag.
If AGS_AUDIO_HAS_NOTATION
is set as flag one AgsNotation is allocated per audio
channel.
void ags_audio_set_soundcard (AgsAudio *audio
,GObject *soundcard
);
Sets a soundcard object on audio.
Since: 0.4
void ags_audio_set_flags (AgsAudio *audio
,guint flags
);
Enable a feature of AgsAudio.
Since: 0.4
void ags_audio_unset_flags (AgsAudio *audio
,guint flags
);
Disable a feature of AgsAudio.
Since: 0.4
void ags_audio_set_audio_channels (AgsAudio *audio
,guint audio_channels
);
Resize audio channels AgsInput will be allocated first.
Since: 0.3
void ags_audio_set_pads (AgsAudio *audio
,GType type
,guint pads
);
Sets pad count for the apropriate type
Since: 0.3
void ags_audio_set_samplerate (AgsAudio *audio
,guint samplerate
);
Sets samplerate.
Since: 0.7.3
void ags_audio_set_buffer_size (AgsAudio *audio
,guint buffer_size
);
Sets buffer length.
Since: 0.7.3
void ags_audio_set_format (AgsAudio *audio
,guint format
);
Sets buffer length.
Since: 0.7.45
void ags_audio_set_sequence_length (AgsAudio *audio
,guint sequence_length
);
Sets sequence length.
Since: 0.4
void ags_audio_add_notation (AgsAudio *audio
,GObject *notation
);
Adds a recall id.
Since: 0.4
void ags_audio_remove_notation (AgsAudio *audio
,GObject *notation
);
Removes a recall id.
Since: 0.4
void ags_audio_add_automation (AgsAudio *audio
,GObject *automation
);
Adds a recall id.
Since: 0.7.0
void ags_audio_remove_automation (AgsAudio *audio
,GObject *automation
);
Removes a recall id.
Since: 0.7.0
void ags_audio_add_recall_id (AgsAudio *audio
,GObject *recall_id
);
Adds a recall id.
Since: 0.4
void ags_audio_remove_recall_id (AgsAudio *audio
,GObject *recall_id
);
Removes a recall id.
Since: 0.4
void ags_audio_add_recycling_context (AgsAudio *audio
,GObject *recycling_context
);
Adds a recycling container.
Since: 0.4
void ags_audio_remove_recycling_context (AgsAudio *audio
,GObject *recycling_context
);
Removes a recycling container.
Since: 0.4
void ags_audio_add_recall_container (AgsAudio *audio
,GObject *recall_container
);
Adds a recall container.
Since: 0.4
void ags_audio_remove_recall_container (AgsAudio *audio
,GObject *recall_container
);
Removes a recall container.
Since: 0.4
void ags_audio_add_recall (AgsAudio *audio
,GObject *recall
,gboolean play
);
Adds a recall.
Since: 0.4
void ags_audio_remove_recall (AgsAudio *audio
,GObject *recall
,gboolean play
);
Removes a recall.
Since: 0.4
void ags_audio_recall_change_state (AgsAudio *audio
,gboolean enable
);
AgsRecallID *
ags_audio_init_run (AgsAudio *audio
);
Is emitted as audio is initialized.
Since: 0.4
void ags_audio_duplicate_recall (AgsAudio *audio
,AgsRecallID *recall_id
);
Duplicate all AgsRecall templates of this AgsAudio.
Since: 0.4
void ags_audio_init_recall (AgsAudio *audio
,gint stage
,AgsRecallID *recall_id
);
Initializes the recalls of audio
audio |
the AgsAudio |
|
stage |
stage benning at 0 up to 2, or just -1 |
|
recall_id |
the AgsRecallID to use or NULL |
Since: 0.4
void ags_audio_resolve_recall (AgsAudio *audio
,AgsRecallID *recall_id
);
Performs resolving of recalls.
Since: 0.4
gboolean
ags_audio_is_playing (AgsAudio *audio
);
Determine if AgsAudio is playing.
Since: 0.4
void ags_audio_play (AgsAudio *audio
,AgsRecallID *recall_id
,gint stage
);
Performs on single play call of appropriate stage.
audio |
the AgsAudio |
|
recall_id |
the AgsRecallID to apply to |
|
stage |
valid range is from 0 up to 2 |
Since: 0.4
void ags_audio_tact (AgsAudio *audio
,AgsRecallID *recall_id
);
Is emitted as audio is played.
Since: 0.4
void ags_audio_done (AgsAudio *audio
,AgsRecallID *recall_id
);
Is emitted as playing audio is done.
Since: 0.4
void ags_audio_cancel (AgsAudio *audio
,AgsRecallID *recall_id
);
Cancel processing audio data.
Since: 0.4
void ags_audio_remove (AgsAudio *audio
,AgsRecallID *recall_id
);
Remove processing audio data.
Since: 0.4
GList *
ags_audio_find_port (AgsAudio *audio
);
Retrieve all ports of AgsAudio.
Since: 0.4
void ags_audio_open_files (AgsAudio *audio
,GSList *filenames
,gboolean overwrite_channels
,gboolean create_channels
);
Open some files.
audio |
the AgsAudio |
|
filenames |
the files to open |
|
overwrite_channels |
if existing channels should be assigned |
|
create_channels |
if new channels should be created as not fitting if combined with |
Since: 0.4
GList * ags_audio_recursive_play_init (AgsAudio *audio
,gboolean playback
,gboolean sequencer
,gboolean notation
);
Initializes AgsAudio in order to do playback, sequencer or notation.
audio |
the AgsAudio object |
|
playback |
if doing playback |
|
sequencer |
if doing sequencer |
|
notation |
if doing notation |
Since: 0.4
“audio-channels”
property“audio-channels” guint
The count of audio channels of audio.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“audio-end-mapping”
property“audio-end-mapping” guint
The audio end mapping.
Flags: Read / Write
Default value: 0
Since: 0.7.3
“audio-start-mapping”
property“audio-start-mapping” guint
The audio start mapping.
Flags: Read / Write
Default value: 0
Since: 0.7.3
“automation”
property“automation” AgsAutomation *
The automation it contains.
Flags: Read / Write
Since: 0.7.2
“buffer-size”
property“buffer-size” guint
The buffer size.
Flags: Read / Write
Default value: 0
Since: 0.7.2
“input-lines”
property“input-lines” guint
The count of input lines of audio.
Flags: Read
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“input-pads”
property“input-pads” guint
The count of input pads of audio.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“midi-end-mapping”
property“midi-end-mapping” guint
The midi mapping range's start.
Flags: Read / Write
Default value: 0
Since: 0.7.3
“midi-file”
property“midi-file” GObject *
The midi file it is assigned with.
Flags: Read / Write
Since: 0.4
“midi-start-mapping”
property“midi-start-mapping” guint
The midi mapping range's start.
Flags: Read / Write
Default value: 0
Since: 0.7.3
“notation”
property“notation” AgsNotation *
The notation it contains.
Flags: Read / Write
Since: 0.7.2
“output-lines”
property“output-lines” guint
The count of output lines of audio.
Flags: Read
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“output-pads”
property“output-pads” guint
The count of output pads of audio.
Flags: Read / Write
Allowed values: <= 65535
Default value: 0
Since: 0.7.2
“playback-domain”
property“playback-domain” AgsPlaybackDomain *
The assigned playback domain.
Flags: Read / Write
Since: 0.7.2
“recall-container”
property“recall-container” AgsRecallContainer *
The recall container it contains.
Flags: Read / Write
Since: 0.7.2
“recall-id”
property“recall-id” AgsRecallID *
The assigned recall id.
Flags: Read / Write
Since: 0.7.2
“recycling-context”
property“recycling-context” AgsRecyclingContext *
The assigned recall id.
Flags: Read / Write
Since: 0.7.2
“samplerate”
property“samplerate” guint
The samplerate.
Flags: Read / Write
Default value: 0
Since: 0.7.2
“sequence-length”
property“sequence-length” guint
The sequence length.
Flags: Read / Write
Default value: 0
Since: 0.7.2
“sequencer”
property“sequencer” GObject *
The sequencer it is assigned with.
Flags: Read / Write
Since: 0.4
“soundcard”
property“soundcard” GObject *
The soundcard it is assigned with.
Flags: Read / Write
Since: 0.4
“done”
signalvoid user_function (AgsAudio *audio, GObject *recall_id, gpointer user_data)
Flags: Run Last
“set-audio-channels”
signalvoid user_function (AgsAudio *audio, guint audio_channels_new, guint audio_channels_old, gpointer user_data)
Flags: Run Last
“set-pads”
signalvoid user_function (AgsAudio *audio, gulong type, guint pads_new, guint pads_old, gpointer user_data)
Flags: Run Last