GES.AudioTestSource

g GES.AudioSource GES.AudioSource GES.AudioTestSource GES.AudioTestSource GES.AudioSource->GES.AudioTestSource GES.Extractable GES.Extractable GES.TimelineElement GES.TimelineElement GES.Extractable->GES.TimelineElement GES.MetaContainer GES.MetaContainer GES.MetaContainer->GES.TimelineElement GES.Source GES.Source GES.Source->GES.AudioSource GES.TrackElement GES.TrackElement GES.TimelineElement->GES.TrackElement GES.TrackElement->GES.Source GObject.GInterface GObject.GInterface GObject.GInterface->GES.Extractable GObject.GInterface->GES.MetaContainer GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->GES.TimelineElement GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned

Subclasses:

None

Methods

Inherited:

GES.TrackElement (22), GES.TimelineElement (38), GObject.Object (37), GES.Extractable (3), GES.MetaContainer (40)

Structs:

GObject.ObjectClass (5)

get_freq ()

get_volume ()

set_freq (freq)

set_volume (volume)

Virtual Methods

Inherited:

GES.Source (2), GES.TrackElement (5), GES.TimelineElement (18), GObject.Object (7), GES.Extractable (3)

Properties

Inherited:

GES.TrackElement (5), GES.TimelineElement (9)

Signals

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Fields

Inherited:

GES.TrackElement (2), GES.TimelineElement (3), GObject.Object (1), GES.MetaContainer (1)

Name

Type

Access

Description

parent

GES.AudioSource

r

Class Details

class GES.AudioTestSource(**kwargs)
Bases:

GES.AudioSource

Abstract:

No

Structure:

GES.AudioTestSourceClass

Outputs a test audio stream using audiotestsrc. The default property values output silence. Useful for testing pipelines, or to fill gaps in an audio track.

get_freq()[source]
Returns:

The current frequency of self.

Return type:

float

Get the current frequency of self.

get_volume()[source]
Returns:

The current volume of self

Return type:

float

Get the current volume of self.

set_freq(freq)[source]
Parameters:

freq (float) – The frequency you want to apply on self

Lets you set the frequency applied on the track element

set_volume(volume)[source]
Parameters:

volume (float) – The volume you want to apply on self

Sets the volume of the test audio signal.