Packages

c

cc.drx.Sound

SoundSample

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
Linear Supertypes
Ordering
  1. Alphabetic
  2. By Inheritance
Inherited
  1. SoundSample
  2. Serializable
  3. Product
  4. Equals
  5. Sound
  6. AnyRef
  7. Any
Implicitly
  1. by richDrxAny
  2. by DrxBoundOps
  3. by any2stringadd
  4. by StringFormat
  5. by Ensuring
  6. by ArrowAssoc
  1. Hide All
  2. Show All
Visibility
  1. Public
  2. Protected

Instance Constructors

  1. new SoundSample(samples: Iterable[A], sampleDomain: Bound[A], sampleRate: Frequency, channels: Int, length: Time)

Value Members

  1. final def !=(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  2. final def ##: Int
    Definition Classes
    AnyRef → Any
  3. 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
  4. def ++(that: SoundSample[A]): SoundSample[A]
  5. 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()
  6. final def ==(arg0: Any): Boolean
    Definition Classes
    AnyRef → Any
  7. 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
  8. 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
  9. final def asInstanceOf[T0]: T0
    Definition Classes
    Any
  10. val channels: Int
  11. def clone(): AnyRef
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.CloneNotSupportedException]) @native()
  12. 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
  13. 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
  14. 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
  15. 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
  16. 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
  17. final def eq(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  18. def finalize(): Unit
    Attributes
    protected[lang]
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.Throwable])
  19. 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()
  20. final def getClass(): Class[_ <: AnyRef]
    Definition Classes
    AnyRef → Any
    Annotations
    @native()
  21. final def isInstanceOf[T0]: Boolean
    Definition Classes
    Any
  22. val length: Time
  23. final def ne(arg0: AnyRef): Boolean
    Definition Classes
    AnyRef
  24. 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
  25. final def notify(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  26. final def notifyAll(): Unit
    Definition Classes
    AnyRef
    Annotations
    @native()
  27. 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
  28. def play(implicit render: Render): SoundOutput
    Definition Classes
    SoundSampleSound
  29. 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
  30. def productElementNames: Iterator[String]
    Definition Classes
    Product
  31. val sampleDomain: Bound[A]
  32. val sampleRate: Frequency
  33. val samples: Iterable[A]
  34. def save(file: File)(implicit render: Render): Unit
    Definition Classes
    SoundSampleSound
  35. 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
  36. def slice(timeBound: Bound[Time]): SoundSample[A]
  37. 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
  38. final def synchronized[T0](arg0: => T0): T0
    Definition Classes
    AnyRef
  39. 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
  40. 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
  41. def toString(): String
    Definition Classes
    SoundSample → AnyRef → Any
  42. final def wait(): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  43. final def wait(arg0: Long, arg1: Int): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException])
  44. final def wait(arg0: Long): Unit
    Definition Classes
    AnyRef
    Annotations
    @throws(classOf[java.lang.InterruptedException]) @native()

Deprecated Value Members

  1. 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

  2. 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)

  3. 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.

Inherited from Serializable

Inherited from Product

Inherited from Equals

Inherited from Sound

Inherited from AnyRef

Inherited from Any

Inherited by implicit conversion richDrxAny fromSoundSample[A] to DrxAny[SoundSample[A]]

Inherited by implicit conversion DrxBoundOps fromSoundSample[A] to BoundOps[SoundSample[A]]

Inherited by implicit conversion any2stringadd fromSoundSample[A] to any2stringadd[SoundSample[A]]

Inherited by implicit conversion StringFormat fromSoundSample[A] to StringFormat[SoundSample[A]]

Inherited by implicit conversion Ensuring fromSoundSample[A] to Ensuring[SoundSample[A]]

Inherited by implicit conversion ArrowAssoc fromSoundSample[A] to ArrowAssoc[SoundSample[A]]

Ungrouped