honk-1.1.1.2: Cross-platform interface to the PC speaker.

Portabilityportable
Maintainerchrisyco@gmail.com
Safe HaskellSafe-Inferred

Sound.Honk.Util

Contents

Description

Random utility functions

Synopsis

Conversions

freqToMidi :: Floating a => a -> aSource

Convert a frequency to a MIDI note value.

midiToFreq :: Floating a => a -> aSource

Convert a MIDI note value to a frequency.

Combinators

loop :: Int -> [a] -> [a]Source

Repeat a sequence a specified number of times.