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

Portabilitynon-portable (requires POSIX or Win32)
Maintainerchrisyco@gmail.com
Safe HaskellSafe-Inferred

Sound.Honk

Contents

Description

Cross-platform interface to the PC speaker.

Here's an example:

 simpleBeep = playNote $ Note 1.0 440

For more examples, see the readme.

Synopsis

Types

Output

playNote :: Note -> IO ()Source

Play a note.

To play more than one note, use playNotes.

playNotes :: Foldable t => t Note -> IO ()Source

Play multiple notes in order, one after the other.

Utility functions