Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Implementaion of server b_gen routines.
The naming scheme is: _p generates one partial, _l generates a list of partials, _nrm is the unit normalised form.
Synopsis
- sum_l :: Num n => [[n]] -> [n]
- nrm_u :: (Fractional n, Ord n) => [n] -> [n]
- sine1_p :: (Enum n, Floating n) => Int -> (n, n) -> [n]
- sine1_l :: (Enum n, Floating n) => Int -> [n] -> [[n]]
- sine1 :: (Enum n, Floating n) => Int -> [n] -> [n]
- sine1_nrm :: (Enum n, Floating n, Ord n) => Int -> [n] -> [n]
- sine2_l :: (Enum n, Floating n) => Int -> [(n, n)] -> [[n]]
- sine2 :: (Enum n, Floating n) => Int -> [(n, n)] -> [n]
- sine2_nrm :: (Enum n, Floating n, Ord n) => Int -> [n] -> [n]
- sine3_p :: (Enum n, Floating n) => Int -> (n, n, n) -> [n]
- sine3_l :: (Enum n, Floating n) => Int -> [(n, n, n)] -> [[n]]
- sine3 :: (Enum n, Floating n) => Int -> [(n, n, n)] -> [n]
- gen_cheby :: (Enum n, Floating n, Ord n, Integral i) => i -> [n] -> [n]
- cheby :: (Enum n, Floating n, Ord n) => Int -> [n] -> [n]
Documentation
nrm_u :: (Fractional n, Ord n) => [n] -> [n] Source #
Unit normalisation.
sine1
sine1_p :: (Enum n, Floating n) => Int -> (n, n) -> [n] Source #
sine3_p
with zero phase.
import Sound.SC3.Plot {- hsc3-plot -} plot_p1_ln [sine1_p 512 (1,1)]
sine1_l :: (Enum n, Floating n) => Int -> [n] -> [[n]] Source #
Series of sine wave harmonics using specified amplitudes.
sine2
sine2_l :: (Enum n, Floating n) => Int -> [(n, n)] -> [[n]] Source #
Series of n sine wave partials using specified frequencies and amplitudes.
sine3
sine3_p :: (Enum n, Floating n) => Int -> (n, n, n) -> [n] Source #
Sine wave table at specified frequency, amplitude and phase.