An interactive demo that plays audio feedback in response to mouse clicks: a ping on left click and a buzzer on right click. The cursor position is tracked and displayed in real time.
Use this to verify that audio output is working correctly on your system, or as a template for mouse-driven experiments.
sudo apt install libsdl3-dev on Ubuntu/Debian)# Fullscreen
go run main.go
# Windowed (development / testing)
go run main.go -d
| Flag | Default | Description |
|---|---|---|
-s |
0 |
Participant ID (integer) |
-d |
off | Development mode: windowed 1024×768 |
| Action | Sound |
|---|---|
| Left mouse button | Ping |
| Right mouse button | Buzzer |
| Escape / Q | Quit |
This is a demonstration. No data file is written.