|
Synthesizer.Dimensional.Rate.Oscillator | Portability | requires multi-parameter type classes | Stability | provisional | Maintainer | synthesizer@henning-thielemann.de |
|
|
|
|
|
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
|
|
|
:: (C t, C u, Simple amp t wave sig) | | => wave y | waveform
| -> T t | start phase
| -> T (Recip u) t | frequency
| -> T s u t (T s sig y) | | oscillator with a functional waveform with constant frequency
|
|
|
|
:: (C t, C u, Smooth amp t wave sig) | | => wave y | waveform
| -> T t | start phase
| -> T (Recip u) t | frequency
| -> T s u t (T s sig y) | | oscillator with a functional waveform with constant frequency
|
|
|
|
:: (C t, C u, Simple amp t wave sig) | | => wave y | waveform
| -> T t | start phase
| -> T s u t (R s (Recip u) t t -> T s sig y) | | oscillator with a functional waveform with modulated frequency
|
|
|
|
:: (C t, C u, Smooth amp t wave sig) | | => wave y | waveform
| -> T t | start phase
| -> T s u t (R s (Recip u) t t -> T s sig y) | | oscillator with a functional waveform with modulated frequency
|
|
|
|
:: (C flat t, C t, C u, Simple amp t wave sig) | | => wave y | waveform
| -> T (Recip u) t | frequency
| -> T s u t (T s flat t -> T s sig y) | | oscillator with modulated phase
|
|
|
|
:: (C flat t, C t, C u, Simple amp t wave sig) | | => wave y | waveform
| -> 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
|
|
|
|
:: (C flat c, C t, C u) | | => c -> T t y | waveform
| -> T t | phase
| -> T (Recip u) t | frequency
| -> T s u t (T s flat c -> R s y) | | oscillator with modulated shape
|
|
|
|
:: (C flat c, C t, C u) | | => c -> T t y | waveform
| -> T t | phase
| -> T s u t (T s flat c -> R s (Recip u) t t -> R s y) | | oscillator with both shape and frequency modulation
|
|
|
|
:: (C t, C u) | | => T t y | | -> R r y | waveform
| -> T t | start phase
| -> T (Recip u) t | frequency
| -> 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.
|
|
|
|
:: (C t, C u) | | => T t y | | -> R r y | waveform
| -> T t | start 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.
|
|
|
shapeFreqModFromSampledTone | Source |
|
:: (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 | source 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) | |
|
|
shapePhaseFreqModFromSampledTone | Source |
|
:: (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 | source 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 |