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

LambdaSound.Samples

Description

This module contains some basic samples which can be combined to generate interesting sounds

Synopsis

Documentation

sineWave :: Hz -> Sound I Pulse Source #

Pure sinus sound

Warm and round

triangleWave :: Hz -> Sound I Pulse Source #

Triangle wave

Similar to sine but colder

sawWave :: Hz -> Sound I Pulse Source #

Sawtooth wave

Warm and sharp

squareWave :: Hz -> Sound I Pulse Source #

Produces a square wave

Cold

noise :: Int -> Sound I Pulse Source #

Random noise between (-1,1). The given value is used as the seed value, so the same seed will result in the same noise