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

Safe HaskellSafe-Inferred

Sound.Honk

Contents

Description

Cross-platform interface to the PC speaker.

Here's an example:

 simpleBeep = play [Note 1.0 440]

For more examples, see the readme.

Synopsis

Types

Output

play :: [Note] -> IO ()Source

Play multiple notes in order, one after the other.

playOne :: Note -> IO ()Source

Play a single note.

Utility functions