| Safe Haskell | Safe-Inferred |
|---|---|
| Language | GHC2021 |
LambdaSound.Sampling
Description
This module contains functions to sample sound and to save it in a file.
The LambdaSound.Play module exports a function to play sounds directly.
Documentation
sampleSound :: Hz -> Sound T Pulse -> IO (Vector S Pulse) Source #
Samples a sound with the given frequency (usually 44100 is good) with post-processing
This is recommended over sampleSoundRaw if you are unsure
sampleSoundRaw :: Hz -> Sound T Pulse -> IO (Vector S Pulse) Source #
Samples a sound with the given frequency (usually 44100 is good) without post-processing