Safe Haskell | None |
---|---|

Language | Haskell98 |

- cuspL :: Args `[]` `["freq", "a", "b", "xi"]` a => a -> SDBody a Signal
- cuspN :: Args `[]` `["freq", "a", "b", "xi"]` a => a -> SDBody a Signal
- linCongC :: Args `[]` `["freq", "a", "c", "m", "xi"]` a => a -> SDBody a Signal
- linCongL :: Args `[]` `["freq", "a", "c", "m", "xi"]` a => a -> SDBody a Signal
- linCongN :: Args `[]` `["freq", "a", "c", "m", "xi"]` a => a -> SDBody a Signal

# Documentation

cuspL :: Args `[]` `["freq", "a", "b", "xi"]` a => a -> SDBody a Signal Source

"A linear-interpolating sound generator based on the difference equation:

x[n+1] = a - b * sqrt(abs(x[n]))"

Only has an AR instance

cuspN :: Args `[]` `["freq", "a", "b", "xi"]` a => a -> SDBody a Signal Source

"A non-interpolating sound generator based on the difference equation:

x[n+1] = a - b * sqrt(abs(x[n]))"

Only has an AR instance.

linCongC :: Args `[]` `["freq", "a", "c", "m", "xi"]` a => a -> SDBody a Signal Source

"A cubic-interpolating sound generator based on the difference equation:

x[n+1] = (a * x[n] + c) % m

The output signal is automatically scaled to a range of [-1, 1]."

Only has a AR method