final case class AudioCue(artifact: Value, spec: AudioFileSpec, offset: Long, gain: Double) extends Product with Serializable
A chunk of an audio file.
- artifact
the audio file
- spec
the audio file spec, carrying information about duration, sample rate, number of channels
- offset
an offset into the file, using
TimeRef.SampleRateas its base- gain
a linear gain factor
- Alphabetic
- By Inheritance
- AudioCue
- Serializable
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- All
Instance Constructors
-
new
AudioCue(artifact: Value, spec: AudioFileSpec, offset: Long, gain: Double)
- artifact
the audio file
- spec
the audio file spec, carrying information about duration, sample rate, number of channels
- offset
an offset into the file, using
TimeRef.SampleRateas its base- gain
a linear gain factor
Value Members
-
final
def
!=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
-
final
def
##(): Int
- Definition Classes
- AnyRef → Any
-
final
def
==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- val artifact: Value
-
final
def
asInstanceOf[T0]: T0
- Definition Classes
- Any
-
def
clone(): AnyRef
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )
-
final
def
eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
def
fileOffset: Long
A utility method that reports the offset with respect to the file's sample rate.
A utility method that reports the offset with respect to the file's sample rate. That is, it multiplies
offsetby the factorthis.sampleRate / TimeRef.SampleRate -
def
finalize(): Unit
- Attributes
- protected[java.lang]
- Definition Classes
- AnyRef
- Annotations
- @throws( classOf[java.lang.Throwable] )
- val gain: Double
-
final
def
getClass(): Class[_]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
-
final
def
isInstanceOf[T0]: Boolean
- Definition Classes
- Any
-
final
def
ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
-
final
def
notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
final
def
notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
-
def
numChannels: Int
A simple forward to
spec.numChannels -
def
numFrames: Long
A simple forward to
spec.numFrames - val offset: Long
-
def
sampleRate: Double
A simple forward to
spec.sampleRate - val spec: AudioFileSpec
-
final
def
synchronized[T0](arg0: ⇒ T0): T0
- Definition Classes
- AnyRef
-
final
def
wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws( ... )
-
final
def
wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @throws( ... )