B4J Programming Press on the image to return to the main documentation page.

jAudioClip

Written by Steve Laming

List of types:

AudioClip

AudioClip


Events:

None

Members:


  Balance As Double

  CycleCount As Int

  Initialize (URI As String)

  isPlaying As Boolean

  Pan As Double

  Play

  Play2 (volume As Double)

  Play3 (volume As Double, balance As Double, rate As Double, pan As Double, priority As Int)

  Priority As Int

  Rate As Double

  Source As String [read only]

  Stop

  Volume As Double

Members description:

Balance As Double
Get / Set the default balance level for this clip.
CycleCount As Int
Get / Set the default cycle count.
Initialize (URI As String)
Initialize the object.
Requires a URI obtainable as File.GetURI(Dir,FileName))
isPlaying As Boolean
Indicate whether this AudioClip is playing.
Pan As Double
Get / Set the default pan value.
Play
Play the AudioClip using all the default parameters.
Play2 (volume As Double)
Play the AudioClip using all the default parameters except volume.
Play3 (volume As Double, balance As Double, rate As Double, pan As Double, priority As Int)
Play the AudioClip using the given parameters.
Priority As Int
Get / Set the default playback priority.
Rate As Double
Get / Set the default playback rate.
Source As String [read only]
Get the source URL used to create this AudioClip.
Stop
Immediately stop all playback of this AudioClip.
Volume As Double
Get / Set the default volume level.
Top