synthesizer-core-0.7.1: Audio signal processing coded in Haskell: Low level part

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

Synthesizer.Plain.Cut

Contents

Description

 

Synopsis

dissection

takeUntilPause :: C a => a -> Int -> T a -> T a

Take signal until it falls short of a certain amplitude for a given time.

takeUntilInterval :: (a -> Bool) -> Int -> T a -> T a

Take values until the predicate p holds for n successive values. The list is truncated at the beginning of the interval of matching values.

glueing

selectBool :: (T a, T a) -> T Bool -> T a

select :: Ix i => Array i (T a) -> T i -> T a

arrange

Arguments

:: C v 
=> T Int (T v)

A list of pairs: (relative start time, signal part), The start time is relative to the start time of the previous event.

-> T v

The mixed signal.

Given a list of signals with time stamps, mix them into one signal as they occur in time. Ideally for composing music.

Cf. series