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.SampleRate
as its base- gain
a linear gain factor
- Alphabetic
- By Inheritance
- AudioCue
- Serializable
- Product
- Equals
- AnyRef
- Any
- Hide All
- Show All
- Public
- Protected
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.SampleRate
as 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[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native() @HotSpotIntrinsicCandidate()
- 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
offset
by the factorthis.sampleRate / TimeRef.SampleRate
- val gain: Double
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- 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() @HotSpotIntrinsicCandidate()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native() @HotSpotIntrinsicCandidate()
- def numChannels: Int
A simple forward to
spec.numChannels
- def numFrames: Long
A simple forward to
spec.numFrames
- val offset: Long
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- 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(arg0: Long, arg1: Int): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- final def wait(arg0: Long): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException]) @native()
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
Deprecated Value Members
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable]) @Deprecated
- Deprecated