synthesizer-core- Audio signal processing coded in Haskell: Low level part




sample :: (C a, Transform sig v) => T a v -> sig v -> T a vSource

sampledTone :: (C a, Transform sig v) => T a v -> T a v -> a -> sig v -> a -> T a vSource

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.