synthesizer-core-0.8.2: Audio signal processing coded in Haskell: Low level part
Synthesizer.Generic.Wave
Synopsis
sample :: (C a, Transform sig v) => T a v -> sig v -> T a v Source #
sampledTone :: (C a, Transform sig v) => T a v -> T a v -> a -> sig v -> a -> T a v Source #
Interpolate first within waves and then across waves, which is simpler but maybe less efficient for lists. However for types with fast indexing/drop like StorableVector this is optimal.