lambdasound-1.2.0: A libary for generating low-level sounds with high-level combinators
Safe HaskellSafe-Inferred
LanguageGHC2021

LambdaSound.Play

Synopsis

Documentation

play :: Int -> Float -> Sound T Pulse -> IO () Source #

Play the sound with the given sample rate and the given volume.

You need to have SDL2 installed for playing!