synthesizer-0.2.0.1: Audio signal processing coded in HaskellSource codeContentsIndex
Synthesizer.Dimensional.Rate.Oscillator
Portabilityrequires multi-parameter type classes
Stabilityprovisional
Maintainersynthesizer@henning-thielemann.de
Contents
Oscillators with constant waveforms
Description
Synopsis
static :: (C t, C u, Simple amp t wave sig) => wave y -> T t -> T (Recip u) t -> T s u t (T s sig y)
staticAntiAlias :: (C t, C u, Smooth amp t wave sig) => wave y -> T t -> T (Recip u) t -> T s u t (T s sig y)
freqMod :: (C t, C u, Simple amp t wave sig) => wave y -> T t -> T s u t (R s (Recip u) t t -> T s sig y)
freqModAntiAlias :: (C t, C u, Smooth amp t wave sig) => wave y -> T t -> T s u t (R s (Recip u) t t -> T s sig y)
phaseMod :: (C flat t, C t, C u, Simple amp t wave sig) => wave y -> T (Recip u) t -> T s u t (T s flat t -> T s sig y)
phaseFreqMod :: (C flat t, C t, C u, Simple amp t wave sig) => wave y -> T s u t (T s flat t -> R s (Recip u) t t -> T s sig y)
shapeMod :: (C flat c, C t, C u) => (c -> T t y) -> T t -> T (Recip u) t -> T s u t (T s flat c -> R s y)
shapeFreqMod :: (C flat c, C t, C u) => (c -> T t y) -> T t -> T s u t (T s flat c -> R s (Recip u) t t -> R s y)
staticSample :: (C t, C u) => T t y -> R r y -> T t -> T (Recip u) t -> T s u t (R s y)
freqModSample :: (C t, C u) => T t y -> R r y -> T t -> T s u t (R s (Recip u) t t -> R s y)
shapeFreqModFromSampledTone :: (C t, Transform storage yv, C u, C amp storage input, C amp T output, C flat t) => T t yv -> T t yv -> T (Recip u) t -> T u t input yv -> t -> T t -> T s u t (T s flat t -> R s (Recip u) t t -> T s output yv)
shapePhaseFreqModFromSampledTone :: (C t, Transform storage yv, C u, C amp storage input, C amp T output, C flatS t, C flatP t) => T t yv -> T t yv -> T (Recip u) t -> T u t input yv -> t -> T t -> T s u t (T s flatS t -> T s flatP t -> R s (Recip u) t t -> T s output yv)
Oscillators with constant waveforms
staticSource
:: (C t, C u, Simple amp t wave sig)
=> wave ywaveform
-> T tstart phase
-> T (Recip u) tfrequency
-> T s u t (T s sig y)
oscillator with a functional waveform with constant frequency
staticAntiAliasSource
:: (C t, C u, Smooth amp t wave sig)
=> wave ywaveform
-> T tstart phase
-> T (Recip u) tfrequency
-> T s u t (T s sig y)
oscillator with a functional waveform with constant frequency
freqModSource
:: (C t, C u, Simple amp t wave sig)
=> wave ywaveform
-> T tstart phase
-> T s u t (R s (Recip u) t t -> T s sig y)
oscillator with a functional waveform with modulated frequency
freqModAntiAliasSource
:: (C t, C u, Smooth amp t wave sig)
=> wave ywaveform
-> T tstart phase
-> T s u t (R s (Recip u) t t -> T s sig y)
oscillator with a functional waveform with modulated frequency
phaseModSource
:: (C flat t, C t, C u, Simple amp t wave sig)
=> wave ywaveform
-> T (Recip u) tfrequency
-> T s u t (T s flat t -> T s sig y)
oscillator with modulated phase
phaseFreqModSource
:: (C flat t, C t, C u, Simple amp t wave sig)
=> wave ywaveform
-> T s u t (T s flat t -> R s (Recip u) t t -> T s sig y)
oscillator with a functional waveform with modulated phase and frequency
shapeModSource
:: (C flat c, C t, C u)
=> c -> T t ywaveform
-> T tphase
-> T (Recip u) tfrequency
-> T s u t (T s flat c -> R s y)
oscillator with modulated shape
shapeFreqModSource
:: (C flat c, C t, C u)
=> c -> T t ywaveform
-> T tphase
-> T s u t (T s flat c -> R s (Recip u) t t -> R s y)
oscillator with both shape and frequency modulation
staticSampleSource
:: (C t, C u)
=> T t y
-> R r ywaveform
-> T tstart phase
-> T (Recip u) tfrequency
-> T s u t (R s y)
oscillator with a sampled waveform with constant frequency This is essentially an interpolation with cyclic padding. You can also achieve this with a waveform constructed by Wave.sample.
freqModSampleSource
:: (C t, C u)
=> T t y
-> R r ywaveform
-> T tstart phase
-> T s u t (R s (Recip u) t t -> R s y)
oscillator with a sampled waveform with modulated frequency Should behave homogenously for different types of interpolation.
shapeFreqModFromSampledToneSource
:: (C t, Transform storage yv, C u, C amp storage input, C amp T output, C flat t)
=> T t yv
-> T t yv
-> T (Recip u) tsource frequency
-> T u t input yv
-> t
-> T t
-> T s u t (T s flat t -> R s (Recip u) t t -> T s output yv)
shapePhaseFreqModFromSampledToneSource
:: (C t, Transform storage yv, C u, C amp storage input, C amp T output, C flatS t, C flatP t)
=> T t yv
-> T t yv
-> T (Recip u) tsource frequency
-> T u t input yv
-> t
-> T t
-> T s u t (T s flatS t -> T s flatP t -> R s (Recip u) t t -> T s output yv)
Produced by Haddock version 2.4.2