# audio/beep Play a quick sine beep — a convenience wrapper over `audio/tone` with the default sine wave and envelope. ## Syntax
[audio/beep ?freq ?dur]
## Parameters - `freq` — frequency in Hz (optional, default 880) - `dur` — duration in seconds (optional, default 0.1) ## Examples
[audio/beep]           # 880 Hz, 100 ms
[audio/beep 440 0.2]   # 440 Hz, 200 ms
## Returns Voice id (number), or `%Err{:message}` on an SDL-less host or when the tone cannot start. Arguments beyond `freq`/`dur` are ignored. ## See Also `audio/tone`, `audio/play`, `audio/available?`