AgsAudio.SFZSample

g Ags.Connectable Ags.Connectable AgsAudio.SFZSample AgsAudio.SFZSample Ags.Connectable->AgsAudio.SFZSample AgsAudio.SoundResource AgsAudio.SoundResource AgsAudio.SoundResource->AgsAudio.SFZSample GObject.GInterface GObject.GInterface GObject.GInterface->Ags.Connectable GObject.GInterface->AgsAudio.SoundResource GObject.Object GObject.Object GObject.Object->AgsAudio.SFZSample

Subclasses:None

Properties

Name Type Flags Short Description
audio-channels int r/w The audio channels to be used
buffer-size int r/w The buffer size to be used
filename str r/w The filename to be used
format int r/w The format to be used
group AgsAudio.SFZGroup r/w The group it is assigned with
loop-end int r/w The loop end to be used
loop-start int r/w The loop start to be used
region AgsAudio.SFZRegion r/w The region it is assigned with

Signals

Inherited:GObject.Object (1)

Fields

Inherited:GObject.Object (1)
Name Type Access Description
audio_channel_written int r  
audio_channels int r  
buffer object r  
buffer_offset int r  
buffer_size int r  
current int r  
file object r  
filename str r  
flags int r  
format int r  
full_buffer object r  
gobject GObject.Object r  
group GObject.Object r  
info object r  
length int r  
loop_end int r  
loop_start int r  
obj_mutex GLib.RecMutex r  
offset int r  
pointer int r  
region GObject.Object r  
uuid Ags.UUID r  

Class Details

class AgsAudio.SFZSample(**kwargs)
Bases:GObject.Object, Ags.Connectable, AgsAudio.SoundResource
Abstract:No
Structure:AgsAudio.SFZSampleClass
classmethod new()
Returns:the new AgsAudio.SFZSample.
Return type:AgsAudio.SFZSample

Creates a new instance of AgsAudio.SFZSample.

New in version 3.0.0.

set_flags(flags)
Parameters:flags (int) – see AgsAudio.SFZSampleFlags-enum

Enable a feature of self.

New in version 3.0.0.

test_flags(flags)
Parameters:flags (int) – the flags
Returns:True if flags are set, else False
Return type:bool

Test flags to be set on self.

New in version 3.0.0.

unset_flags(flags)
Parameters:flags (int) – see AgsAudio.SFZSampleFlags-enum

Disable a feature of self.

New in version 3.0.0.

Property Details

AgsAudio.SFZSample.props.audio_channels
Name:audio-channels
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The audio channels to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.buffer_size
Name:buffer-size
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The buffer size to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.filename
Name:filename
Type:str
Default Value:None
Flags:READABLE, WRITABLE

The filename to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.format
Name:format
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The format to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.group
Name:group
Type:AgsAudio.SFZGroup
Default Value:None
Flags:READABLE, WRITABLE

The group assigned with.

New in version 3.0.0.

AgsAudio.SFZSample.props.loop_end
Name:loop-end
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The loop end to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.loop_start
Name:loop-start
Type:int
Default Value:0
Flags:READABLE, WRITABLE

The loop start to be used.

New in version 3.0.0.

AgsAudio.SFZSample.props.region
Name:region
Type:AgsAudio.SFZRegion
Default Value:None
Flags:READABLE, WRITABLE

The region assigned with.

New in version 3.0.0.