SilentTimeAudioPlayer Class

Inheritance diagram of SilentTimeAudioPlayer

class SilentTimeAudioPlayer(source_group, player)

Constructor:

__init__(source_group, player)

Create a new audio player.

Parameters:
  • source_group (SourceGroup) – Source group to play from.
  • player (Player) – Player to receive EOS and video frame sync events.

Methods:

clear()
delete()
get_time()
play()
set_cone_inner_angle(cone_inner_angle) See Player.cone_inner_angle.
set_cone_orientation(cone_orientation) See Player.cone_orientation.
set_cone_outer_angle(cone_outer_angle) See Player.cone_outer_angle.
set_cone_outer_gain(cone_outer_gain) See Player.cone_outer_gain.
set_max_distance(max_distance) See Player.max_distance.
set_min_distance(min_distance) See Player.min_distance.
set_pitch(pitch) See Player.pitch.
set_position(position) See Player.position.
set_volume(volume) See Player.volume.
stop()

Methods

SilentTimeAudioPlayer.clear()
SilentTimeAudioPlayer.delete()
SilentTimeAudioPlayer.get_time()
SilentTimeAudioPlayer.play()
SilentTimeAudioPlayer.stop()

Inherited members

Methods

SilentTimeAudioPlayer.set_cone_inner_angle(cone_inner_angle)

See Player.cone_inner_angle.

SilentTimeAudioPlayer.set_cone_orientation(cone_orientation)

See Player.cone_orientation.

SilentTimeAudioPlayer.set_cone_outer_angle(cone_outer_angle)

See Player.cone_outer_angle.

SilentTimeAudioPlayer.set_cone_outer_gain(cone_outer_gain)

See Player.cone_outer_gain.

SilentTimeAudioPlayer.set_max_distance(max_distance)

See Player.max_distance.

SilentTimeAudioPlayer.set_min_distance(min_distance)

See Player.min_distance.

SilentTimeAudioPlayer.set_pitch(pitch)

See Player.pitch.

SilentTimeAudioPlayer.set_position(position)

See Player.position.

SilentTimeAudioPlayer.set_volume(volume)

See Player.volume.

Table Of Contents

Previous topic

SilentAudioPlayerPacketConsumer Class

Next topic

create_audio_driver Function