| Top |
| AgsAudio * | audio | Read / Write |
| guint | buffer-size | Read / Write |
| guint | format | Read / Write |
| gchar * | machine-name | Read / Write |
| guint | samplerate | Read / Write |
| void | buffer-size-changed | Run Last |
| gpointer | find-port | Run Last |
| void | format-changed | Run Last |
| void | map-recall | Run Last |
| void | resize-audio-channels | Run Last |
| void | resize-pads | Run Last |
| void | samplerate-changed | Run Last |
| void | stop | Run Last |
| #define | AGS_MACHINE_DEFAULT_VERSION |
| #define | AGS_MACHINE_DEFAULT_BUILD_ID |
| enum | AgsMachineFlags |
| enum | AgsMachineFileInputFlags |
| enum | AgsMachineMappingFlags |
| enum | AgsMachineEditOptions |
| enum | AgsMachineConnectionOptions |
| enum | AgsMachineExportOptions |
| enum | AgsMachineImportOptions |
| struct | AgsMachineAutomationPort |
| #define | AGS_TYPE_MACHINE |
| struct | AgsMachine |
| struct | AgsMachineClass |
GObject ╰── GInitiallyUnowned ╰── GtkWidget ╰── GtkContainer ╰── GtkBin ╰── AgsMachine ├── AgsAudiorec ├── AgsDesk ├── AgsDrum ├── AgsDssiBridge ├── AgsEqualizer10 ├── AgsFFPlayer ├── AgsFMSyncsynth ├── AgsFMSynth ├── AgsLadspaBridge ├── AgsLiveDssiBridge ├── AgsLiveLv2Bridge ├── AgsLv2Bridge ├── AgsMatrix ├── AgsMixer ├── AgsPanel ├── AgsPitchSampler ├── AgsSF2Synth ├── AgsSFZSynth ├── AgsSpectrometer ├── AgsSyncsynth ╰── AgsSynth
#define AGS_MACHINE_AUTOMATION_PORT(ptr) ((AgsMachineAutomationPort *)(ptr))
void
ags_machine_reset_pattern_envelope (AgsMachine *machine);
Reset pattern envelope from preset.
Since: 3.6.20
AgsMachineAutomationPort * ags_machine_automation_port_alloc (GType channel_type,gchar *control_name);
Allocate AgsMachineAutomationPort
Since: 3.0.0
void
ags_machine_automation_port_free (AgsMachineAutomationPort *automation_port);
Free automation_port
Since: 3.0.0
GList * ags_machine_automation_port_find_channel_type_with_control_name (GList *list,GType channel_type,gchar *control_name);
Find AgsAutomationPort by specifying channel type and control name.
list |
a GList containing AgsAutomationPort |
|
channel_type |
the GType to match |
|
control_name |
the control name as string to match |
Since: 3.0.0
void ags_machine_samplerate_changed (AgsMachine *machine,guint samplerate,guint old_samplerate);
Notify about samplerate changed.
Since: 3.0.0
void ags_machine_buffer_size_changed (AgsMachine *machine,guint buffer_size,guint old_buffer_size);
Notify about buffer_size changed.
Since: 3.0.0
void ags_machine_format_changed (AgsMachine *machine,guint format,guint old_format);
Notify about format changed.
Since: 3.0.0
void ags_machine_resize_audio_channels (AgsMachine *machine,guint new_size,guint old_size);
Resize audio channel allocation.
Since: 3.0.0
void ags_machine_resize_pads (AgsMachine *machine,GType channel_type,guint new_size,guint old_size);
Resize pad allocation.
machine |
the AgsMachine |
|
channel_type |
the channel GType |
|
new_size |
new allocation |
|
old_size |
old allocation |
Since: 3.0.0
void
ags_machine_map_recall (AgsMachine *machine);
You may want the machine
to add its default recall.
Since: 3.0.0
void ags_machine_stop (AgsMachine *machine,GList *recall_id,gint sound_scope);
Notify about to stop playback of recall_id
.
machine |
the AgsMachine |
|
recall_id |
the GList containing AgsRecallID |
|
sound_scope |
the sound scope |
Since: 3.0.0
void
ags_machine_add_default_recalls (AgsMachine *machine);
ags_machine_add_default_recalls is deprecated and should not be used in newly-written code.
AgsMachine * ags_machine_find_by_name (GList *list,char *name);
Find the specified by name
machine.
Since: 3.0.0
void ags_machine_playback_set_active (AgsMachine *machine,AgsPlayback *playback,gboolean is_active);
Start/stop playback
of machine
.
machine |
the AgsMachine |
|
playback |
the AgsPlayback |
|
is_active |
if |
Since: 3.0.0
void ags_machine_set_run (AgsMachine *machine,gboolean run);
Start/stop playback of machine
.
Since: 3.0.0
void ags_machine_set_run_extended (AgsMachine *machine,gboolean run,gboolean sequencer,gboolean notation,gboolean wave,gboolean midi);
Start/stop playback of machine
.
machine |
the AgsMachine |
|
run |
if |
|
sequencer |
if doing sequencer |
|
notation |
if doing notation |
|
wave |
if doing wave |
|
midi |
if doing midi |
Since: 3.0.0
GtkListStore *
ags_machine_get_possible_links (AgsMachine *machine);
Find links suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 3.0.0
GtkListStore *
ags_machine_get_possible_audio_output_connections
(AgsMachine *machine);
Find audio output connections suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 3.0.0
GtkListStore *
ags_machine_get_possible_audio_input_connections
(AgsMachine *machine);
Find audio input connections suitable for machine
.
a GtkListStore containing one column with a string representing machines by its type and name.
Since: 3.0.0
GtkFileChooserDialog *
ags_machine_file_chooser_dialog_new (AgsMachine *machine);
Creates a new machine file chooser dialog in order to open audio files.
Since: 3.0.0
void ags_machine_open_files (AgsMachine *machine,GSList *filenames,gboolean overwrite_channels,gboolean create_channels);
Opens audio files and modifies or creates new channels if wished.
machine |
the AgsMachine |
|
filenames |
the filenames |
|
overwrite_channels |
reset channels |
|
create_channels |
instantiate new channels |
Since: 3.0.0
void ags_machine_popup_add_edit_options (AgsMachine *machine,guint edit_options);
Add options to edit submenu
Since: 3.0.0
void ags_machine_popup_add_connection_options (AgsMachine *machine,guint connection_options);
Add options to connection submenu
Since: 3.0.0
void ags_machine_popup_add_export_options (AgsMachine *machine,guint export_options);
void ags_machine_popup_add_import_options (AgsMachine *machine,guint import_options);
void
ags_machine_check_message (AgsMachine *machine);
Check message queue for message envelopes.
Since: 3.0.0
AgsMachine *
ags_machine_new (GObject *soundcard);
Creates an AgsMachine
Since: 3.0.0
#define AGS_IS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_TYPE((class), AGS_TYPE_MACHINE))
#define AGS_MACHINE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_MACHINE, AgsMachine))
#define AGS_MACHINE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_MACHINE, AgsMachineClass))
#define AGS_MACHINE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_MACHINE, AgsMachineClass))
struct AgsMachineAutomationPort {
GType channel_type;
gchar *control_name;
};
struct AgsMachineClass {
GtkBinClass bin;
void (*samplerate_changed)(AgsMachine *machine,
guint samplerate, guint old_samplerate);
void (*buffer_size_changed)(AgsMachine *machine,
guint buffer_size, guint old_buffer_size);
void (*format_changed)(AgsMachine *machine,
guint format, guint old_format);
void (*resize_audio_channels)(AgsMachine *machine,
guint new_size, guint old_size);
void (*resize_pads)(AgsMachine *machine,
GType channel_type,
guint new_size, guint old_size);
void (*map_recall)(AgsMachine *machine);
GList* (*find_port)(AgsMachine *machine);
void (*stop)(AgsMachine *machine,
GList *recall_id, gint sound_scope);
};
“audio” property“audio” AgsAudio *
The assigned AgsAudio to visualize.
Owner: AgsMachine
Flags: Read / Write
Since: 3.0.0
“buffer-size” property“buffer-size” guint
The buffer length.
Owner: AgsMachine
Flags: Read / Write
Default value: 1024
Since: 3.0.0
“format” property“format” guint
The format.
Owner: AgsMachine
Flags: Read / Write
Default value: 16
Since: 3.0.0
“machine-name” property“machine-name” gchar *
The machine's name.
Owner: AgsMachine
Flags: Read / Write
Default value: NULL
Since: 3.0.0
“samplerate” property“samplerate” guint
The samplerate.
Owner: AgsMachine
Flags: Read / Write
Default value: 48000
Since: 3.0.0
“buffer-size-changed” signalvoid user_function (AgsMachine *machine, guint buffer_size, guint old_buffer_size, gpointer user_data)
The ::buffer-size-changed signal notifies about changed buffer size.
machine |
the AgsMachine |
|
buffer_size |
the buffer size |
|
old_buffer_size |
the old buffer size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“find-port” signalgpointer user_function (AgsMachine *machine, gpointer user_data)
machine |
the AgsMachine to resize |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“format-changed” signalvoid user_function (AgsMachine *machine, guint format, guint old_format, gpointer user_data)
The ::format-changed signal notifies about changed format.
machine |
the AgsMachine |
|
format |
the format |
|
old_format |
the old format |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“map-recall” signalvoid user_function (AgsMachine *machine, gpointer user_data)
The ::map-recall should be used to add the machine's default recall.
Flags: Run Last
Since: 3.0.0
“resize-audio-channels” signalvoid user_function (AgsMachine *machine, guint new_size, guint old_size, gpointer user_data)
The ::resize-audio-channels signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
new_size |
the new size |
|
old_size |
the old size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“resize-pads” signalvoid user_function (AgsMachine *machine, gulong channel_type, guint new_size, guint old_size, gpointer user_data)
The ::resize-pads signal notifies about changed channel allocation within audio.
machine |
the AgsMachine to modify |
|
channel_type |
either |
|
new_size |
the new size |
|
old_size |
the old size |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“samplerate-changed” signalvoid user_function (AgsMachine *machine, guint samplerate, guint old_samplerate, gpointer user_data)
The ::samplerate-changed signal notifies about changed samplerate.
machine |
the AgsMachine |
|
samplerate |
the samplerate |
|
old_samplerate |
the old samplerate |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0
“stop” signalvoid user_function (AgsMachine *machine, gpointer recall_id, gint sound_scope, gpointer user_data)
The ::stop signal gets emited as audio stops playback.
machine |
the AgsMachine |
|
recall_id |
the GList containing AgsRecallID |
|
sound_scope |
the sound scope |
|
user_data |
user data set when the signal handler was connected. |
Flags: Run Last
Since: 3.0.0