Top | ![]() |
![]() |
![]() |
![]() |
AgsOpenSf2Sample * | ags_open_sf2_sample_new () |
#define | AGS_IS_OPEN_SF2_SAMPLE() |
#define | AGS_OPEN_SF2_SAMPLE() |
#define | AGS_OPEN_SF2_SAMPLE_CLASS() |
#define | AGS_OPEN_SF2_SAMPLE_GET_CLASS() |
GType | ags_open_sf2_sample_get_type () |
guint | audio-channel | Read / Write |
AgsChannel * | channel | Read / Write |
gchar * | filename | Read / Write |
gchar * | instrument | Read / Write |
AgsIpatchSample * | ipatch-sample | Read / Write |
gchar * | preset | Read / Write |
gchar * | sample | Read / Write |
#define | AGS_TYPE_OPEN_SF2_SAMPLE |
struct | AgsOpenSf2Sample |
struct | AgsOpenSf2SampleClass |
AgsOpenSf2Sample * ags_open_sf2_sample_new (AgsChannel *channel
,AgsIpatchSample *ipatch_sample
,gchar *filename
,gchar *preset
,gchar *instrument
,gchar *sample
,guint audio_channel
);
Creates an AgsOpenSf2Sample.
channel |
the AgsChannel |
|
ipatch_sample |
the AgsIpatchSample or |
|
filename |
the Soundfont2 file |
|
preset |
the preset |
|
instrument |
the instrument |
|
sample |
the sample |
|
audio_channel |
the audio channel |
Since: 2.0.0
#define AGS_IS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_TYPE((obj), AGS_TYPE_OPEN_SF2_SAMPLE))
#define AGS_OPEN_SF2_SAMPLE(obj) (G_TYPE_CHECK_INSTANCE_CAST((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2Sample))
#define AGS_OPEN_SF2_SAMPLE_CLASS(class) (G_TYPE_CHECK_CLASS_CAST((class), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
#define AGS_OPEN_SF2_SAMPLE_GET_CLASS(obj) (G_TYPE_INSTANCE_GET_CLASS((obj), AGS_TYPE_OPEN_SF2_SAMPLE, AgsOpenSf2SampleClass))
“audio-channel”
property“audio-channel” guint
The nth audio channel.
Flags: Read / Write
Default value: 0
Since: 2.0.0
“channel”
property“channel” AgsChannel *
The assigned AgsChannel
Flags: Read / Write
Since: 2.0.0
“filename”
property“filename” gchar *
The assigned filename.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“instrument”
property“instrument” gchar *
The assigned instrument.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“ipatch-sample”
property“ipatch-sample” AgsIpatchSample *
The assigned AgsIpatchSample
Flags: Read / Write
Since: 2.0.0
“preset”
property“preset” gchar *
The assigned preset.
Flags: Read / Write
Default value: NULL
Since: 2.0.0
“sample”
property“sample” gchar *
The assigned sample.
Flags: Read / Write
Default value: NULL
Since: 2.0.0