synthesizer-dimensional-0.8.1: Audio signal processing with static physical dimensions

Safe HaskellNone
LanguageHaskell2010

Synthesizer.Dimensional.Rate

Description

This module contains types that may be used as sample rate type in a dimensional signal.

Synopsis

Documentation

data Phantom s Source #

This type does not store a sample rate. It just provides a phantom type parameter which asserts a common sample rate among several signals.

Constructors

Phantom 

Instances

newtype Actual rate Source #

Store the sample rate that a signal is sampled with.

Constructors

Actual rate 

type Dimensional u t = Actual (T (Recip u) t) Source #

common :: Eq rate => String -> rate -> rate -> rate Source #