synthesizer-core-0.8.1.2: 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.Storable.Oscillator

Contents

Description

Tone generators

Synopsis

Oscillators with arbitrary but constant waveforms

freqToPhase :: (C a, Storable a) => T a -> T a -> T (T a) Source #

Convert a list of phase steps into a list of momentum phases phase is a number in the interval [0,1) freq contains the phase steps

static :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> a -> T b Source #

oscillator with constant frequency

phaseMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> a -> T a -> T b Source #

oscillator with modulated phase

shapeMod :: (C a, Storable a, Storable b, Storable c) => ChunkSize -> (c -> T a b) -> T a -> a -> T c -> T b Source #

oscillator with modulated shape

freqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T b Source #

oscillator with modulated frequency

phaseFreqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T b Source #

oscillator with both phase and frequency modulation

shapeFreqMod :: (C a, Storable a, Storable b, Storable c) => ChunkSize -> (c -> T a b) -> T a -> T c -> T a -> T b Source #

oscillator with both shape and frequency modulation

Oscillators with specific waveforms

staticSine :: (C a, C a, Storable a) => ChunkSize -> T a -> a -> T a Source #

sine oscillator with static frequency

freqModSine :: (C a, C a, Storable a) => ChunkSize -> T a -> T a -> T a Source #

sine oscillator with modulated frequency

phaseModSine :: (C a, C a, Storable a) => ChunkSize -> a -> T a -> T a Source #

sine oscillator with modulated phase, useful for FM synthesis

staticSaw :: (C a, Storable a) => ChunkSize -> T a -> a -> T a Source #

saw tooth oscillator with modulated frequency

freqModSaw :: (C a, Storable a) => ChunkSize -> T a -> T a -> T a Source #

saw tooth oscillator with modulated frequency