https://github.com/hoshimin/vu-meter
Just a volume visualization on a keyboard
https://github.com/hoshimin/vu-meter
cpp keyboard-leds numlock-indicator volume volume-indicator volume-meter vu-meter
Last synced: 27 days ago
JSON representation
Just a volume visualization on a keyboard
- Host: GitHub
- URL: https://github.com/hoshimin/vu-meter
- Owner: HoShiMin
- License: mit
- Created: 2022-06-19T18:33:09.000Z (almost 3 years ago)
- Default Branch: main
- Last Pushed: 2022-06-19T21:05:13.000Z (almost 3 years ago)
- Last Synced: 2025-04-19T18:31:50.769Z (about 1 month ago)
- Topics: cpp, keyboard-leds, numlock-indicator, volume, volume-indicator, volume-meter, vu-meter
- Language: C++
- Homepage:
- Size: 33.2 KB
- Stars: 8
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# 🎵 VU-meter
It's just a funny project that visualizes [volume units](https://en.wikipedia.org/wiki/VU_meter) (VU) in a terminal and on your keyboard LEDs for a playing music.
![]()
#### 🎚️ It demonstrates:
* [EndpointVolume API](https://docs.microsoft.com/en-us/windows/win32/coreaudio/endpointvolume-api) through a COM interface.
* [RawInput API](https://docs.microsoft.com/en-us/windows/win32/inputdev/about-raw-input) to track a state of NumLock, CapsLock and ScrollLock buttons.
* Console manipulation to draw graphs in a console app.#### 🎧 Usage:
Just turn on the music in your favorite player or in a browser, run the app and look at your keyboard LEDs!
> But there is one restriction: it doesn't work with audio playing through a direct mode (usually uses in foobar2000 to listen an HD audio).> And yes, the second one: it looks ugly in the modern Windows Terminal app for now, so if you have a chance to run it in an old good console (or from a Visual Studio directly) - run it and enjoy.
Anyway, feel yourself like a DJ and get fun! 😄