This project aims to be a continuation of SteamControllerSinger (forked from Roboron3042's fork, originally by Pila) by fixing issues, adding features, and, most notably, Steam Deck and Steam Controller (2026) support.
- Turn on your Steam Controller (2015 or 2026) or Steam Deck
- Drag the MIDI file onto the steam-haptics-singer executable
- If prompted, press Enter
- Enjoy!
Songs ready to play can be found in the original guy's personal collection (as he called it). Otherwise, you can just try a MIDI and see what happens (most of the time it won't work well).
Usage: steam-haptics-singer [-p] [-y] [-d DEBUG_LEVEL] [-i INTERVAL] MIDI_FILE
-i INTERVAL Player sleep interval (in microseconds). Lower generally means better song fidelity, but higher cpu usage, and at some point going lower won't improve any more. Default value is 10000
-d DEBUG_LEVEL Libusb debug level. Default is 0, no debug output. max is 4, max verbosity output
-p Repeat song, plays again after ending
-y Legacy playback, forces usage of the old Steam Controller haptic instruction instead of the new one (causes issues)
MIDI files may need to be edited with a software such as MidiEditor to be correctly played with Steam Haptics Singer following the next tips:
- Notes from MIDI channel 0 are played on right haptic
- Notes from MIDI channel 1 are played on left haptic
- Notes from others channels are ignored
- Avoid multiple notes active at the same time on the same channel, since haptic actuators can only play one note at the time.
A Windows-only GUI built with Dear ImGui ships alongside the CLI. It exposes a file picker / drag-drop area, play / stop / repeat controls, interval and debug-level sliders, a per-channel note status line, and a scrolling log panel.
make gui
The first build runs scripts/fetch_imgui.sh to download Dear ImGui sources
into third_party/imgui/ (requires curl; install with pacman -S curl if
needed). The output is steam-haptics-singer-gui.exe.
The CLI binary is unaffected — make still builds steam-haptics-singer with
identical behavior.
If you don't have MSYS2 set up but you do have Visual Studio (or the VS Build Tools) with the C++ desktop workload installed, run:
scripts\build_msvc.bat
This script locates the latest VS install with vswhere, calls vcvars64.bat,
and compiles the GUI binary to build\steam-haptics-singer-gui.exe. It
expects:
- Dear ImGui sources already fetched into
third_party/imgui/(runbash scripts/fetch_imgui.shfirst; Git Bash is enough). - libusb 1.0 Windows binaries extracted into
vendor/libusb-1.0.27/. Download the.7zfrom libusb releases and extract with 7-Zip.
The MSVC build links libusb statically and uses DX11, so the resulting .exe
does not need any additional DLLs.
You will need libusb(-dev) and pkgconf. If you have them, just type make.
It's recommended to build this in a container such as steam-runtime or holo-docker in order for the packges to line up with the Steam Deck.
If you go the steam-runtime route, make sure to use sniper as scout is outdated.
git clone -b master https://github.com/CrazyCritic89/SteamHapticsSinger.git
cd SteamHapticsSinger
podman run --rm -v ./:/src -it registry.gitlab.steamos.cloud/steamrt/sniper/sdk bash
cd src
make
exit
[v1.10.1]
- Added wired Steam Controller (2026) support, wireless support through puck and bluetooth is still WIP
- The original Steam Controller has been renamed to Steam Controller (2015)
- Controllers now have their own type in the code
- Temporarily removed legacy parameter
- Notes now play at full volume (except the new Steam Controller, to prevent distortion)
[v1.10]
- Implemented Steam Deck-specific haptic command. This now makes songs play correctly on it.
- Updated midifile library
- Note stop now sets the frequency to 0
- Removed reclaim period, no longer needed and was causing issues
- Legacy command toggle with -y
- Repeat song toggle changed from -r to -p
- Changed debug level argument back from -l to -d
- Updated usage to show more info
- Naturals now have a dash in the middle (C5 -> C-5)
[My v1.9 Build :> (EXCLUSIVE)]
- Badly added Deck support. No improvements.
[v1.8]
- User can now define the reclaim period with -c option.
[v1.7]
- Fixed music stopped playing after a few seconds
[v1.6]
- Fixed major bugs in playback algorithm
[v1.5]
- Changed debug level argument from -d to -l
- Added -r argument to enable demo mode
- Enhanced arguments parsing
- Does not rely on Steam Controller duration anymore
- Updated note display
- Now stops playing when interrupting the process ( on Ctrl+C )
[v1.4]
- Fixed a bug in MIDI librairie that would compute a null duration for notes when ON event and previous OFF event had the same timetick
[v1.3]
- Added -iINTERVAL argument
- Added -dDEBUG_LEVEL argument
[v1.2]
- Fixed being stuck on "Command error" when disconnecting controller while playing. Now continue playing (even if keep failing)
- Removed the now deprecated 20ms note duration reduction