Buzzer Audio Preview

Buzzer Audio Preview

This page migrates the original tools/buzzer_audio_preview/ workbench into the documentation site. It keeps the same timing table used by the firmware cue design, but presents it with the docs-site theme and bilingual navigation.

Use it to compare cue shape, rhythm, and priority before touching firmware constants. The browser generates square waves with Web Audio; firmware still owns the final GPIO7 LEDC playback path.

GPIO7 PWM buzzer

Buzzer audio workbench

Audition the passive-buzzer cues used by firmware. The page uses browser Web Audio square waves and keeps the source timing visible for review.

13audible events
2two candidates each
GPIO7PWM
squarewaveform, 3ms fade
Click any play button to unlock browser audio output.
System

Boot tone

Played once after self-check reaches a runnable state.

systemstartup
RecommendedShort upward phrase that says the device is awake.
345ms660Hz/70ms, 880Hz/85ms, 1320Hz/120ms
AlternateA softer two-note boot acknowledgement.
285ms587Hz/90ms, 988Hz/150ms
Front-panel input

Operation cue

Played when a button press actually performs an operation.

buttonaccepted
RecommendedQuick confirmation that does not compete with alarms.
130ms1047Hz/45ms, 1319Hz/60ms
AlternateSingle crisp short note.
70ms1175Hz/70ms
Front-panel input

Operation denied tone

Played when a button action is rejected by safety policy.

buttondenied
RecommendedFalling double note, clear but not harsh.
225ms440Hz/80ms, 330Hz/110ms
AlternateShort double pulse, more forceful.
145ms260Hz/55ms, 260Hz/55ms
Port power

Port power-on tone

Played when a port output changes from disabled to enabled.

channelpower-on
RecommendedShort rising phrase, distinct from the boot tone.
180ms784Hz/60ms, 1175Hz/90ms
AlternateSingle high note with more action.
80ms1480Hz/80ms
Port power

Port power-off tone

Played when a port output changes from enabled to disabled.

channelpower-off
RecommendedShort falling phrase paired with the power-on tone.
185ms1175Hz/55ms, 784Hz/95ms
AlternateLower single note for disconnect.
95ms392Hz/95ms
Continuous alarms

Over-temperature alarm

Loops with a short gap until the over-temperature condition clears.

alarmtemperature
RecommendedThree mid-high notes, persistent but distinct from short-circuit.
360msgap 280ms1320Hz/70ms, 1320Hz/70ms, 988Hz/120ms
AlternateHigh-low sweep to indicate thermal protection.
330msgap 280ms1568Hz/80ms, 1047Hz/80ms, 1568Hz/80ms
Continuous alarms

Input over-power alarm

Loops with a short gap until input power returns to a safe envelope.

alarminput-power
RecommendedTwo equal pulses to communicate total input pressure.
310msgap 300ms740Hz/120ms, 740Hz/120ms
AlternateShort descending phrase with a more severe feel.
360msgap 300ms880Hz/80ms, 660Hz/80ms, 494Hz/110ms
Continuous alarms

Port short-circuit alarm

Loops with a short gap when a port has very low voltage and high current.

alarmshort-circuit
RecommendedFast low double pulse, highest urgency.
300msgap 220ms220Hz/70ms, 220Hz/70ms, 330Hz/70ms
AlternateHarder repeated low note.
230msgap 220ms196Hz/95ms, 196Hz/95ms
Interval alarms

Port current above 5 A

Loops with a long gap when a port remains above 5 A; lower priority than fault alarms.

alarmcurrent-5a
RecommendedTwo notes per cycle with a long reminder gap.
240msgap 1800ms988Hz/80ms, 988Hz/80ms
AlternateSingle brief marker, least intrusive.
100msgap 1800ms1047Hz/100ms
Port hints

Current reached 3 A

Played once when a port first crosses the 3 A current threshold.

hintcurrent-3a
RecommendedLight notification, not alarm-like.
150ms880Hz/55ms, 988Hz/55ms
AlternateSingle mid-high note.
75ms932Hz/75ms
Port hints

Current reached 5 A

Played once when a port first crosses 5 A; sustained current then becomes an interval alarm.

hintcurrent-5a
RecommendedClearer than 3 A, but not a fault alarm.
185ms988Hz/60ms, 784Hz/80ms
AlternateMore noticeable high double-tap.
165ms1319Hz/50ms, 1319Hz/70ms
Port hints

Insert hint

Played once when a port voltage rises past 3.3 V.

hintinsert
RecommendedBright single rise.
140ms784Hz/45ms, 1047Hz/70ms
AlternateVery short attach cue.
55ms1200Hz/55ms
Port hints

Remove hint

Played once when a port voltage falls below 3 V.

hintremove
RecommendedShort falling phrase paired with insert.
155ms1047Hz/45ms, 698Hz/80ms
AlternateLower-intensity offline cue.
85ms622Hz/85ms

Rules Carried Into Firmware

  • Undefined or no-op input events stay silent.
  • One-shot cues are below active alarm priority.
  • Continuous alarms loop until the matching protection condition clears.
  • Score JSON, MIDI, and WAV review assets are generated by tools/buzzer_audio_preview/generate_assets.py; runtime firmware does not read web assets.

References

  • docs/specs/7gf6b-firmware-buzzer-audio/SPEC.md
  • docs/software_design.md
  • tools/buzzer_audio_preview/README.md