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

Copyright(c) Henning Thielemann 2008-2011
LicenseGPL
Maintainersynthesizer@henning-thielemann.de
Stabilityprovisional
Portabilityrequires multi-parameter type classes
Safe HaskellNone
LanguageHaskell2010

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

Instances

Eq period => Eq (T period) Source # 

Methods

(==) :: T period -> T period -> Bool #

(/=) :: T period -> T period -> Bool #

Show period => Show (T period) Source # 

Methods

showsPrec :: Int -> T period -> ShowS #

show :: T period -> String #

showList :: [T period] -> ShowS #

processPeriod :: (body0 -> body1) -> T body0 -> T body1 Source #

fromPeriod :: body -> T body Source #

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

Periodization of a straight signal.

toSignal :: Monoid sig => T sig -> sig Source #

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