Sequence Entry

class aud.SequenceEntry

SequenceEntry objects represent an entry of a sequenced sound.

attenuation

This factor is used for distance based attenuation of the source.

cone_angle_inner

The opening angle of the inner cone of the source. If the cone values of a source are set there are two (audible) cones with the apex at the location of the source and with infinite height, heading in the direction of the source’s orientation. In the inner cone the volume is normal. Outside the outer cone the volume will be cone_volume_outer and in the area between the volume will be interpolated linearly.

cone_angle_outer

The opening angle of the outer cone of the source.

See also

cone_angle_inner

cone_volume_outer

The volume outside the outer cone of the source.

See also

cone_angle_inner

distance_maximum

The maximum distance of the source. If the listener is further away the source volume will be 0.

distance_reference

The reference distance of the source. At this distance the volume will be exactly volume.

move()

Moves the entry.

Parameters:
  • begin (float) – The new start time.
  • end (float) – The new end time or a negative value if unknown.
  • skip (float) – How many seconds to skip at the beginning.
muted

Whether the entry is muted.

relative

Whether the source’s location, velocity and orientation is relative or absolute to the listener.

setAnimationData()

Writes animation data to a sequenced entry.

Parameters:
  • type (int) – The type of animation data.
  • frame (int) – The frame this data is for.
  • data (sequence of float) – The data to write.
  • animated (bool) – Whether the attribute is animated.
sound

The sound the entry is representing and will be played in the sequence.

volume_maximum

The maximum volume of the source.

volume_minimum

The minimum volume of the source.