synthesizer-dimensional-0.2: Audio signal processing with static physical dimensions
Source code
Contents
Index
Synthesizer.Dimensional.Cyclic.Signal
Portability
requires multi-parameter type classes
Stability
provisional
Maintainer
synthesizer@henning-thielemann.de
Description
Signals equipped with a phantom type parameter that reflects the sample rate.
Synopsis
newtype
T
seq yv =
Cons
{
samples
:: seq yv
}
type
R
s yv =
T
s (
T
T
) yv
fromPeriod
::
T
yv ->
R
s yv
fromPeriodList
:: [yv] ->
R
s yv
toPeriod
::
R
s yv ->
T
yv
fromSignal
::
C
yv =>
Int
->
R
s yv ->
R
s yv
toSignal
::
C
yv =>
R
s yv ->
R
s yv
Documentation
newtype
T
seq yv
Source
Constructors
Cons
samples
:: seq yv
the sampled values
Instances
Functor
seq =>
Functor
(
T
seq)
C
seq =>
C
(
T
seq)
(
C
seq,
Show
y) =>
Show
(
T
seq y)
type
R
s yv =
T
s (
T
T
) yv
Source
fromPeriod
::
T
yv ->
R
s yv
Source
fromPeriodList
:: [yv] ->
R
s yv
Source
toPeriod
::
R
s yv ->
T
yv
Source
fromSignal
::
C
yv =>
Int
->
R
s yv ->
R
s yv
Source
Periodization of a straight signal.
toSignal
::
C
yv =>
R
s yv ->
R
s yv
Source
Convert a cyclic signal to a straight signal containing a loop.
Produced by
Haddock
version 2.4.2