RaisedCosine

case object RaisedCosine extends ParamShape

The "modulator" part for the roll-off in a raised cosine filter. It follows the formula

 x(n) = cos(a*n * Pi) / (1 - (2a*n)^2)

with a = freq/sr the normalized roll-off frequency, specified as the window's param, and the singularity of x(0) = 1.0.

trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
trait Shape
class Object
trait Matchable
class Any

Type members

Inherited types

type MirroredElemLabels = EmptyTuple
Inherited from:
Singleton
type MirroredElemTypes = EmptyTuple
Inherited from:
Singleton
type MirroredLabel <: String

The name of the type

The name of the type

Inherited from:
Mirror
type MirroredMonoType = Singleton
Inherited from:
Singleton
type MirroredType = Singleton
Inherited from:
Singleton

Value members

Concrete methods

def fill(winSize: Long, winOff: Long, buf: Array[Double], bufOff: Int, len: Int, param: Double): Unit

Inherited methods

def apply[L : NumInt](size: GE[L], param: D): D
Inherited from:
ParamShape
def fromProduct(p: Product): MirroredMonoType
Inherited from:
Singleton
def productElementNames: Iterator[String]
Inherited from:
Product
def productIterator: Iterator[Any]
Inherited from:
Product

Concrete fields

final val id: 8