synthesizer-0.0.3: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Storable.Oscillator
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Contents
Oscillators with arbitrary but constant waveforms
Oscillators with specific waveforms
Description
Tone generators
Synopsis
freqToPhase :: (C a, Storable a) => T a -> T a -> T (T a)
static :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> a -> T b
phaseMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> a -> T a -> T b
shapeMod :: (C a, Storable a, Storable b, Storable c) => ChunkSize -> (c -> T a b) -> T a -> a -> T c -> T b
freqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T b
phaseFreqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T b
shapeFreqMod :: (C a, Storable a, Storable b, Storable c) => ChunkSize -> (c -> T a b) -> T a -> T c -> T a -> T b
staticSine :: (C a, C a, Storable a) => ChunkSize -> T a -> a -> T a
freqModSine :: (C a, C a, Storable a) => ChunkSize -> T a -> T a -> T a
phaseModSine :: (C a, C a, Storable a) => ChunkSize -> a -> T a -> T a
staticSaw :: (C a, Storable a) => ChunkSize -> T a -> a -> T a
freqModSaw :: (C a, Storable a) => ChunkSize -> T a -> T a -> T a
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 bSource
oscillator with constant frequency
phaseMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> a -> T a -> T bSource
oscillator with modulated phase
shapeMod :: (C a, Storable a, Storable b, Storable c) => ChunkSize -> (c -> T a b) -> T a -> a -> T c -> T bSource
oscillator with modulated shape
freqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T bSource
oscillator with modulated frequency
phaseFreqMod :: (C a, Storable a, Storable b) => ChunkSize -> T a b -> T a -> T a -> T bSource
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 bSource
oscillator with both shape and frequency modulation
Oscillators with specific waveforms
staticSine :: (C a, C a, Storable a) => ChunkSize -> T a -> a -> T aSource
sine oscillator with static frequency
freqModSine :: (C a, C a, Storable a) => ChunkSize -> T a -> T a -> T aSource
sine oscillator with modulated frequency
phaseModSine :: (C a, C a, Storable a) => ChunkSize -> a -> T a -> T aSource
sine oscillator with modulated phase, useful for FM synthesis
staticSaw :: (C a, Storable a) => ChunkSize -> T a -> a -> T aSource
saw tooth oscillator with modulated frequency
freqModSaw :: (C a, Storable a) => ChunkSize -> T a -> T a -> T aSource
saw tooth oscillator with modulated frequency
Produced by Haddock version 2.3.0