AudioClip

class AudioClip(val delegate: AudioClip) extends SFXDelegate[AudioClip]
Companion
object
trait SFXDelegate[AudioClip]
class Object
trait Matchable
class Any

Value members

Constructors

def this(source: String)

Create an AudioClip loaded from the supplied source URL

Create an AudioClip loaded from the supplied source URL

Concrete methods

The relative left and right volume levels of the clip.

The relative left and right volume levels of the clip.

def balance_=(v: Double): Unit

The number of times the clip will be played when play() is called.

The number of times the clip will be played when play() is called.

def cycleCount_=(v: Int): Unit

The relative "center" of the clip.

The relative "center" of the clip.

def pan_=(v: Double): Unit

The relative priority of the clip with respect to other clips.

The relative priority of the clip with respect to other clips.

def priority_=(v: Int): Unit

The relative rate at which the clip is played.

The relative rate at which the clip is played.

def rate_=(v: Double): Unit
def source: String

Get the source URL used to create this AudioClip.

Get the source URL used to create this AudioClip.

The relative volume level at which the clip is played.

The relative volume level at which the clip is played.

def volume_=(v: Double): Unit

Inherited methods

override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value Params
ref

Object to be compared.

Returns

if the other object is equals to this delegate or not.

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
Inherited from
SFXDelegate

Concrete fields

override val delegate: AudioClip