hsc3-lang-0.15: Haskell SuperCollider Language

Safe HaskellSafe-Inferred
LanguageHaskell98

Sound.SC3.Lang.Data.Modal

Description

Synopsis

Documentation

modal_frequency_ratios :: Fractional n => [(String, [n])] Source

Table of modal frequency ratios for specified sound sources.

import Sound.SC3
let {f = 221
    ;Just r = lookup "Tibetan bowl (180mm)" modal_frequency_ratios
    ;u n = replicate (length r) n
    ;k = klankSpec (map (* f) r) (u 1) (u 16)}
in audition (out 0 (klank (impulse AR 0.125 0 * 0.1) 1 0 1 k))

modal_frequencies :: Fractional n => [(String, [n])] Source

Table of modal frequencies for subset of modal_frequency_ratios.