Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Band-limited oscillators
Synopsis
- saw :: Sig -> Sig
- isaw :: Sig -> Sig
- pulse :: Sig -> Sig
- tri :: Sig -> Sig
- sqr :: Sig -> Sig
- blosc :: Tab -> Sig -> Sig
- saw' :: D -> Sig -> Sig
- isaw' :: D -> Sig -> Sig
- pulse' :: D -> Sig -> Sig
- tri' :: D -> Sig -> Sig
- sqr' :: D -> Sig -> Sig
- blosc' :: Tab -> D -> Sig -> Sig
- data SyncSmooth
- sawSync :: Sig -> Sig -> Sig
- isawSync :: Sig -> Sig -> Sig
- pulseSync :: Sig -> Sig -> Sig
- triSync :: Sig -> Sig -> Sig
- sqrSync :: Sig -> Sig -> Sig
- bloscSync :: Tab -> Sig -> Sig -> Sig
- sawSync' :: D -> Sig -> Sig -> Sig
- isawSync' :: D -> Sig -> Sig -> Sig
- pulseSync' :: D -> Sig -> Sig -> Sig
- triSync' :: D -> Sig -> Sig -> Sig
- sqrSync' :: D -> Sig -> Sig -> Sig
- bloscSync' :: Tab -> D -> Sig -> Sig -> Sig
- sawSyncAbs :: Sig -> Sig -> Sig
- isawSyncAbs :: Sig -> Sig -> Sig
- pulseSyncAbs :: Sig -> Sig -> Sig
- triSyncAbs :: Sig -> Sig -> Sig
- sqrSyncAbs :: Sig -> Sig -> Sig
- bloscSyncAbs :: Tab -> Sig -> Sig -> Sig
- sawSyncAbs' :: D -> Sig -> Sig -> Sig
- isawSyncAbs' :: D -> Sig -> Sig -> Sig
- pulseSyncAbs' :: D -> Sig -> Sig -> Sig
- triSyncAbs' :: D -> Sig -> Sig -> Sig
- sqrSyncAbs' :: D -> Sig -> Sig -> Sig
- bloscSyncAbs' :: Tab -> D -> Sig -> Sig -> Sig
- sawSyncBy :: SyncSmooth -> Sig -> Sig -> Sig
- isawSyncBy :: SyncSmooth -> Sig -> Sig -> Sig
- pulseSyncBy :: SyncSmooth -> Sig -> Sig -> Sig
- triSyncBy :: SyncSmooth -> Sig -> Sig -> Sig
- sqrSyncBy :: SyncSmooth -> Sig -> Sig -> Sig
- bloscSyncBy :: SyncSmooth -> Tab -> Sig -> Sig -> Sig
- sawSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- isawSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- pulseSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- triSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- sqrSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- bloscSyncBy' :: SyncSmooth -> Tab -> D -> Sig -> Sig -> Sig
- sawSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig
- isawSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig
- pulseSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig
- triSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig
- sqrSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig
- bloscSyncAbsBy :: SyncSmooth -> Tab -> Sig -> Sig -> Sig
- sawSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- isawSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- pulseSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- triSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- sqrSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig
- bloscSyncAbsBy' :: SyncSmooth -> Tab -> D -> Sig -> Sig -> Sig
Documentation
blosc :: Tab -> Sig -> Sig Source #
A band-limited oscillator with user defined waveform (it's stored in the table).
blosc' :: Tab -> D -> Sig -> Sig Source #
A band-limited oscillator with user defined waveform (it's stored in the table).
Hard sync
data SyncSmooth Source #
Type of smooth shape to make smooth transitions on retrigger. Available types are:
- No smooth:
RawSync
- Ramp smooth:
SawSync
- Triangular smooth:
TriSync
- User defined shape:
UserSync
Instances
Default SyncSmooth Source # | |
Defined in Csound.Typed.Control.Vco def :: SyncSmooth # |
sawSync :: Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
sawSync ratio cps
isawSync :: Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
isawSync ratio cps
pulseSync :: Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
pulseSync ratio cps
triSync :: Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
triSync ratio cps
sqrSync :: Sig -> Sig -> Sig Source #
Square oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
sqrSync ratio cps
bloscSync :: Tab -> Sig -> Sig -> Sig Source #
Band-limited oscillator with hard-sync. The first argument is a ration between slave and master oscillators.
bloscSync tab ratio cps
sawSync' :: D -> Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
sawSync' phase ratio cps
isawSync' :: D -> Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
isawSync' phase ratio cps
pulseSync' :: D -> Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
pulseSync' phase ratio cps
triSync' :: D -> Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
triSync' phase ratio cps
sqrSync' :: D -> Sig -> Sig -> Sig Source #
Square oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
sqrSync' phase ratio cps
bloscSync' :: Tab -> D -> Sig -> Sig -> Sig Source #
Band-limited oscillator with hard-sync with phase. The second argument is a ration between slave and master oscillators.
bloscSync' phase tab ratio cps
Hard sync with absolute frequency for slave oscillator
sawSyncAbs :: Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
sawSyncAbs freq slaveCps masterCps
isawSyncAbs :: Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
isawSyncAbs freq slaveCps masterCps
pulseSyncAbs :: Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
pulseSyncAbs freq slaveCps masterCps
triSyncAbs :: Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
triSyncAbs freq slaveCps masterCps
sqrSyncAbs :: Sig -> Sig -> Sig Source #
Square oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
sqrSyncAbs freq slaveCps masterCps
bloscSyncAbs :: Tab -> Sig -> Sig -> Sig Source #
Bandlimited table oscillator with hard-sync.
The freq
argument is an absolute frequency of a slave oscillator.
bloscSyncAbs tab freq slaveCps masterCps
sawSyncAbs' :: D -> Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
sawSyncAbs' phase freq slaveCps masterCps
isawSyncAbs' :: D -> Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
isawSyncAbs' phase freq slaveCps masterCps
pulseSyncAbs' :: D -> Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
pulseSyncAbs' phase freq slaveCps masterCps
triSyncAbs' :: D -> Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
triSyncAbs' phase freq slaveCps masterCps
sqrSyncAbs' :: D -> Sig -> Sig -> Sig Source #
Square oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
sqrSyncAbs' phase freq slaveCps masterCps
bloscSyncAbs' :: Tab -> D -> Sig -> Sig -> Sig Source #
Bandlimited table oscillator with hard-sync with phase.
The freq
argument is an absolute frequency of a slave oscillator.
bloscSyncAbs' phase tab freq slaveCps masterCps
Hard sync with custom smoothing algorythm
sawSyncBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
sawSyncBy spec ratio cps
isawSyncBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync. We can specify the smoothness type. The first argument is a ration between slave and master oscillators.
isawSyncB specy ratio cps
pulseSyncBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
pulseSyncBy spec ratio cps
triSyncBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
triSyncBy spec ratio cps
sqrSyncBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
Square oscillator with hard-sync. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
sawSyncBy spec ratio cps
bloscSyncBy :: SyncSmooth -> Tab -> Sig -> Sig -> Sig Source #
Bandlimited table oscillator with hard-sync. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
bloscSyncBy spec tab ratio cps
sawSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Sawtooth oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
sawSyncBy' spec phase ratio cps
isawSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Integrated sawtooth oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
isawSyncBy' spec phase ratio cps
pulseSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Pulse oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
pulseSyncBy' spec phase ratio cps
triSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Triangle oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
triSyncBy' spec phase ratio cps
sqrSyncBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Square oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
sawSyncBy' spec phase ratio cps
bloscSyncBy' :: SyncSmooth -> Tab -> D -> Sig -> Sig -> Sig Source #
Bandlimited table oscillator with hard-sync with phase. We can specify the smoothness type.
The ratio
argument is a ration between slave and master oscillators.
bloscSyncBy' spec phase tab ratio cps
Hard sync with absolute frequency for slave oscillator
sawSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
A hard sync for sawtooth with absolute slave frequency.
sawSyncAbs syncType salveCps masterCps
isawSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
A hard sync for integrated sawtooth: 4 * x * (1 - x) with absolute slave frequency.
isawSyncAbs syncType salveCps masterCps
pulseSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
A hard sync for pulse wave with absolute slave frequency.
pulseSyncAbs syncType salveCps masterCps
triSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
A hard sync for triangle wave with absolute slave frequency.
triSyncAbs syncType salveCps masterCps
sqrSyncAbsBy :: SyncSmooth -> Sig -> Sig -> Sig Source #
A hard sync for square wave with absolute slave frequency.
sqrSyncAbs syncType salveCps masterCps
bloscSyncAbsBy :: SyncSmooth -> Tab -> Sig -> Sig -> Sig Source #
A hard sync for band-limited oscillator with user defined waveform (it's stored in the table) woth absolute frequency.
bloscSyncAbs syncType ftable salveCps masterCps
sawSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
A sawtooth.
isawSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Integrated sawtooth: 4 * x * (1 - x).
pulseSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
Pulse (not normalized).
triSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
A triangle wave.
sqrSyncAbsBy' :: SyncSmooth -> D -> Sig -> Sig -> Sig Source #
A square wave.
bloscSyncAbsBy' :: SyncSmooth -> Tab -> D -> Sig -> Sig -> Sig Source #
A band-limited oscillator with user defined waveform (it's stored in the table).