final class GEOps1[A] extends AnyVal
GEOps1
are operations for graph elements (GE
). Instead of having these operations directly defined
in each element, which is a huge list, they appear here as extension methods. GEOps1
are unary
operators, whereas GEOps2
are binary and n-ary operators.
- Alphabetic
- By Inheritance
- GEOps1
- AnyVal
- Any
- Hide All
- Show All
- Public
- Protected
Value Members
- final def !=(arg0: Any): Boolean
- Definition Classes
- Any
- final def ##: Int
- Definition Classes
- Any
- def ++(that: GE[A]): GE[A]
Concatenates another signal to this (finite) signal.
- def +:(elem: GE[A]): GE[A]
Prepends a single frame.
- def :+(elem: GE[A]): GE[A]
Appends a single frame.
- final def ==(arg0: Any): Boolean
- Definition Classes
- Any
- def abs(implicit num: Num[A]): GE[A]
- def acos(implicit w: Widen[A, Double]): D
- def ampDb(implicit w: Widen[A, Double]): D
Converts from a linear value (or amplitude) to decimals
- def appended(elem: GE[A]): GE[A]
Appends a single frame.
- final def asInstanceOf[T0]: T0
- Definition Classes
- Any
- def asin(implicit w: Widen[A, Double]): D
- def atan(implicit w: Widen[A, Double]): D
- def ceil(implicit ev: =:=[GE[A], D]): D
- def concat(that: GE[A]): GE[A]
Concatenates another signal to this (finite) signal.
- def cos(implicit w: Widen[A, Double]): D
- def cosh(implicit w: Widen[A, Double]): D
- def cpsMidi(implicit w: Widen[A, Double]): D
Converts from frequency in Hertz (or cycles-per-second) to MIDI note number.
- def cpsOct(implicit w: Widen[A, Double]): D
- def cubed(implicit num: Num[A]): GE[A]
- def dbAmp(implicit w: Widen[A, Double]): D
Converts from decimals to a linear value (or amplitude)
- def differentiate(implicit num: Num[A]): GE[A]
- def distinct(implicit eq: Eq[A]): GE[A]
Filters elements to return only distinct values (removes duplicate values)
- def drop[L](length: GE[L])(implicit arg0: NumInt[L]): GE[A]
Drops the first
length
elements of this signal. - def dropRight[L](length: GE[L])(implicit arg0: NumInt[L]): GE[A]
Drops the last
length
elements of this signal. - def dropWhile(p: GE[Boolean]): GE[A]
- def elastic(n: GE[Int] = 1): GE[A]
Inserts a number of buffering blocks to avoid signal deadlock in diamond shape topologies.
Inserts a number of buffering blocks to avoid signal deadlock in diamond shape topologies.
- def exp(implicit w: Widen[A, Double]): D
- def filter(p: GE[Boolean]): GE[A]
- def filterNot(p: GE[Boolean]): GE[A]
- def floor(implicit ev: =:=[GE[A], D]): D
- def frac(implicit ev: =:=[GE[A], D]): D
- def getClass(): Class[_ <: AnyVal]
- Definition Classes
- AnyVal → Any
- def head: GE[A]
Outputs the first element of this signal, then terminates.
- def indices: L
Outputs a monotonous sequence from zero to the signal length minus one.
- def init: GE[A]
- def isDefinedAt[L](index: GE[L])(implicit w: Widen[L, Long]): GE[Boolean]
- def isEmpty: B
- final def isInstanceOf[T0]: Boolean
- Definition Classes
- Any
- def isNaN(implicit ev: =:=[GE[A], D]): B
Tests the input signal for NaNs (not-a-number).
Tests the input signal for NaNs (not-a-number). For instance, taking the logarithm of a negative number produces a NaN. Useful to detect and replace those special values.
- def last: GE[A]
Outputs the last element of this (finite) signal, then terminates.
- def length: L
Outputs a signal value, the length of the input signal.
- def log(implicit w: Widen[A, Double]): D
Natural logarithm
- def log10(implicit w: Widen[A, Double]): D
Base-10 logarithm
- def log2(implicit w: Widen[A, Double]): D
Base-2 logarithm
- def maximum(implicit ord: Ord[A]): GE[A]
Returns the maximum value cross all elements (or an empty stream if the input is empty)
- def midiCps(implicit w: Widen[A, Double]): D
Converts from MIDI note number to frequency in Hertz (or cycles-per-second)
- def midiRatio(implicit w: Widen[A, Double]): D
- def minimum(implicit ord: Ord[A]): GE[A]
Returns the minimum value cross all elements (or an empty stream if the input is empty)
- def nextPowerOfTwo(implicit num: NumInt[A]): GE[A]
- def nonEmpty: GE[Boolean]
- def octCps(implicit w: Widen[A, Double]): D
- def out(index: Int): GE[A]
Creates a proxy that represents a specific output channel of the element.
Creates a proxy that represents a specific output channel of the element.
- index
channel-index, zero-based. Indices which are greater than or equal to the number of outputs are wrapped around.
- returns
a monophonic element that represents the given channel of the receiver
- def prepended(elem: GE[A]): GE[A]
Prepends a single frame.
- def product(implicit num: Num[A]): GE[A]
- def ratioMidi(implicit w: Widen[A, Double]): D
- def reciprocal(implicit w: Widen[A, Double]): D
The reciprocal is one divided by the input signal.
- def signum(implicit num: Num[A]): GE[A]
- def sin(implicit w: Widen[A, Double]): D
- def sinh(implicit w: Widen[A, Double]): D
- def size: L
Outputs a signal value, the length of the input signal.
Outputs a signal value, the length of the input signal. Same as
length
. - def slice[L](from: GE[L], until: GE[L])(implicit arg0: NumInt[L]): GE[A]
- def splitAt[L](n: GE[L])(implicit arg0: NumInt[L]): (GE[A], GE[A])
- def sqrt(implicit w: Widen[A, Double]): D
- def squared(implicit num: Num[A]): GE[A]
- def sum(implicit num: Num[A]): GE[A]
- def tail: GE[A]
- def take[B](length: GE[B])(implicit arg0: NumInt[B]): GE[A]
Takes at most
length
elements of this signal, then terminates. - def takeRight[L](length: GE[L])(implicit arg0: NumInt[L]): GE[A]
Takes at most the last
length
elements of this (finite) signal. - def takeWhile(p: GE[Boolean]): GE[A]
- def tan(implicit w: Widen[A, Double]): D
- def tanh(implicit w: Widen[A, Double]): D
- def toDouble(implicit to: ScalarToNum[A]): D
- def toInt(implicit to: ScalarToNum[A]): I
- def toLong(implicit to: ScalarToNum[A]): L
- def toString(): String
- Definition Classes
- Any
- def unary_!(implicit num: NumBool[A]): GE[A]
- def unary_-(implicit num: Num[A]): GE[A]
- def unary_~(implicit num: NumInt[A]): GE[A]
- def unzip: (GE[A], GE[A])
- def zip(that: GE[A]): GE[A]