-
Notifications
You must be signed in to change notification settings - Fork 0
Audio Engine
egyptron edited this page Sep 24, 2026
·
1 revision
Awake Simple S1 includes an integrated, dependency-free square-wave audio synthesizer. It produces retro 8-bit sound stingers directly through the Windows audio subsystem.
play sound "<sound_identifier>"
| Identifier | Frequency & Timing | Typical Use Case |
|---|---|---|
"attack" |
Double low-frequency strike | Basic physical hits, gunshots. |
"critical" |
Rapid 3-tier ascending punch | Critical hits, headshots, parries. |
"heal" |
Rising 3-tone harmonic chime | Consuming potions, restoring mana. |
"victory" |
4-tone triumphant fanfare | Quest complete, boss defeated. |
"defeat" |
3-tone descending minor slide | Game Over, fainting, player death. |
"flee" |
Rapid upward frequency sweep | Escapes, dodges, teleportation. |
display("Enemy ambushed you!")
play sound "attack"
wait 500 milliseconds
display("Drank Restoration Elixir.")
play sound "heal"
wait 1 seconds
display_success("Victory achieved!")
play sound "victory"