| Safe Haskell | Safe-Inferred |
|---|---|
| Language | Haskell2010 |
Sound.Honk.Internal
Description
Low level FFI interface. You should rarely need to use this directly.
Types
Core functions
Open a handle to the console.
Use withBeepFd instead if possible, since it keeps track of closing
the handle automatically.
Arguments
| :: BeepFd | A console handle, as returned by |
| -> Rational | Duration, in seconds |
| -> Double | Frequency of the beep, in hertz |
| -> IO () |
Perform a beep.