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

Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Safe HaskellNone

Synthesizer.Dimensional.Cyclic.Signal

Description

Treat a signal as period of a cyclic signal.

ToDo: In principle this module does no longer belong to dimensional package but could be moved to synthesizer-core.

Synopsis

Documentation

newtype T period Source

Constructors

Cons 

Fields

toPeriod :: period

the sampled values

Instances

Eq period => Eq (T period) 
Show period => Show (T period) 

processPeriod :: (body0 -> body1) -> T body0 -> T body1Source

fromPeriod :: body -> T bodySource

fromSignal :: (C yv, Write sig yv) => Int -> sig yv -> T (sig yv)Source

Periodization of a straight signal.

toSignal :: Monoid sig => T sig -> sigSource

Convert a cyclic signal to a straight signal containing a loop.