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

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

Synthesizer.Causal.Oscillator

Contents

Description

Tone generators

Synopsis

Oscillators with arbitrary but constant waveforms

phaseMod :: C a => T a b -> a -> T a bSource

oscillator with modulated phase

shapeMod :: C a => (c -> T a b) -> T a -> a -> T c bSource

oscillator with modulated shape

freqMod :: C a => T a b -> T a -> T a bSource

oscillator with modulated frequency

freqModAntiAlias :: C a => T a b -> T a -> T a bSource

oscillator with modulated frequency

phaseFreqMod :: C a => T a b -> T (a, a) bSource

oscillator with both phase and frequency modulation

shapeFreqMod :: C a => (c -> T a b) -> T a -> T (c, a) bSource

oscillator with both shape and frequency modulation

freqModSample :: C a => T a b -> T b -> T a -> T a bSource

oscillator with a sampled waveform with modulated frequency Should behave homogenously for different types of interpolation.

shapeFreqModSample :: (C c, C b) => T c (T b a) -> T (T b a) -> c -> T b -> T (c, b) aSource

shapeFreqModFromSampledTone :: (C t, Transform sig y) => T t y -> T t y -> t -> sig y -> t -> T t -> T (t, t) ySource

shapePhaseFreqModFromSampledTone :: (C t, Transform sig y) => T t y -> T t y -> t -> sig y -> t -> T t -> T (t, t, t) ySource

Oscillators with specific waveforms

freqModSine :: (C a, C a) => T a -> T a aSource

sine oscillator with modulated frequency

phaseModSine :: (C a, C a) => a -> T a aSource

sine oscillator with modulated phase, useful for FM synthesis

freqModSaw :: C a => T a -> T a aSource

saw tooth oscillator with modulated frequency