case class SoundSample[A](samples: Iterable[A], sampleDomain: Bound[A], sampleRate: Frequency, channels: Int, length: Time) extends Sound with Product with Serializable
samples are assumed to be prescaled linear pressure mapped to PCM_SIGNED 16bit (Short) sound samples
- Source
- sound.scala
- Alphabetic
- By Inheritance
- SoundSample
- Serializable
- Product
- Equals
- Sound
- AnyRef
- Any
- by richDrxAny
- by DrxBoundOps
- by any2stringadd
- by StringFormat
- by Ensuring
- by ArrowAssoc
- Hide All
- Show All
- Public
- Protected
Instance Constructors
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- final def ##: Int
- Definition Classes
- AnyRef → Any
- def +(other: String): String
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toany2stringadd[SoundSample[A]] performed by method any2stringadd in scala.Predef.
- Definition Classes
- any2stringadd
- def ++(that: SoundSample[A]): SoundSample[A]
- def ->[B](y: B): (SoundSample[A], B)
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toArrowAssoc[SoundSample[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @inline()
- final def ==(arg0: Any): Boolean
- Definition Classes
- AnyRef → Any
- def applyIf(t: Boolean, f: (SoundSample[A]) => SoundSample[A]): SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def applyIf(t: (SoundSample[A]) => Boolean)(f: (SoundSample[A]) => SoundSample[A]): SoundSample[A]
better chaining for types
better chaining for types
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- val channels: Int
- def clone(): AnyRef
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.CloneNotSupportedException]) @native()
- def elementOf(xs: Set[SoundSample[A]]): Boolean
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def ensuring(cond: (SoundSample[A]) => Boolean, msg: => Any): SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toEnsuring[SoundSample[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: (SoundSample[A]) => Boolean): SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toEnsuring[SoundSample[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean, msg: => Any): SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toEnsuring[SoundSample[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- def ensuring(cond: Boolean): SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toEnsuring[SoundSample[A]] performed by method Ensuring in scala.Predef.
- Definition Classes
- Ensuring
- final def eq(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def finalize(): Unit
- Attributes
- protected[lang]
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.Throwable])
- def formatted(fmtstr: String): String
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toStringFormat[SoundSample[A]] performed by method StringFormat in scala.Predef.
- Definition Classes
- StringFormat
- Annotations
- @inline()
- final def getClass(): Class[_ <: AnyRef]
- Definition Classes
- AnyRef → Any
- Annotations
- @native()
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- val length: Time
- final def ne(arg0: AnyRef): Boolean
- Definition Classes
- AnyRef
- def noneIf(f: (SoundSample[A]) => Boolean): Option[SoundSample[A]]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def notify(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- final def notifyAll(): Unit
- Definition Classes
- AnyRef
- Annotations
- @native()
- def optionIf(f: (SoundSample[A]) => Boolean): Option[SoundSample[A]]
optionally wrap an object
optionally wrap an object
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def play(implicit render: Render): SoundOutput
- Definition Classes
- SoundSample → Sound
- def preApply[B](f: (SoundSample[A]) => B): B
a preApply f => f(a)
a preApply f => f(a)
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def productElementNames: Iterator[String]
- Definition Classes
- Product
- val sampleDomain: Bound[A]
- val sampleRate: Frequency
- val samples: Iterable[A]
- def save(file: File)(implicit render: Render): Unit
- Definition Classes
- SoundSample → Sound
- def sideEffect(f: (SoundSample[A]) => Unit): SoundSample[A]
side effect filter
side effect filter
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def slice(timeBound: Bound[Time]): SoundSample[A]
- def someIf(f: (SoundSample[A]) => Boolean): Option[SoundSample[A]]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- final def synchronized[T0](arg0: => T0): T0
- Definition Classes
- AnyRef
- val thisAny: SoundSample[A]
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- def till(maxArg: SoundSample[A]): Bound[SoundSample[A]]
Bound construction since the Range constructor is deprecated
Bound construction since the Range constructor is deprecated
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toBoundOps[SoundSample[A]] performed by method DrxBoundOps in cc.drx.predef.Enrich.This conversion will take place only if an implicit value of type Boundable[SoundSample[A]] is in scope.
- Definition Classes
- BoundOps
- def toString(): String
- Definition Classes
- SoundSample → AnyRef → Any
- final def wait(): Unit
- Definition Classes
- AnyRef
- Annotations
- @throws(classOf[java.lang.InterruptedException])
- 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()
Deprecated Value Members
- def ?>(f: (SoundSample[A]) => Boolean): Option[SoundSample[A]]
alias for option if
alias for option if
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) to many symbols are hard to undertand
- def |>[B](f: (SoundSample[A]) => B): B
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toDrxAny[SoundSample[A]] performed by method richDrxAny in cc.drx.predef.Enrich.
- Definition Classes
- DrxAny
- Annotations
- @deprecated
- Deprecated
(Since version v0.2.15) use
preApply
if you must (symbols are concise without concision)
- def →[B](y: B): (SoundSample[A], B)
- Implicit
- This member is added by an implicit conversion from SoundSample[A] toArrowAssoc[SoundSample[A]] performed by method ArrowAssoc in scala.Predef.
- Definition Classes
- ArrowAssoc
- Annotations
- @deprecated
- Deprecated
(Since version 2.13.0) Use
->
instead. If you still wish to display it as one character, consider using a font with programming ligatures such as Fira Code.