# Music Reacting Lightup?

**URL:** <https://forums.blinkstick.com/t/music-reacting-lightup/165>\
**Category:** Uncategorized\
**Created:** [March 20, 2015, 8:38pm UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165 "2015-03-20T20:38:18Z")\
**Posts on this page:** 6\
**Page:** 1

<div class="post-metadata">

**Author:** ![scheffer\_tom\_ts](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/s/13edae/32.png) [@scheffer\_tom\_ts](https://forums.blinkstick.com/u/scheffer_tom_ts)\
**Post date:** [March 20, 2015, 8:38pm UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/1 "2015-03-20T20:38:18Z")

</div>

Is there any way for an script that reacts on the audio of spotify or windows media player that maybe analyze the audio file for the beats per minute and blink in this speed or something like that ?

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [March 20, 2015, 8:50pm UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/2 "2015-03-20T20:50:48Z")

</div>

Not yet. What is the operating system or programming language you would like to have this running on?

That’s actually a very cool idea. I might add this to the client application I’m finishing for new release now.

---

<div class="post-metadata">

**Author:** ![mischa](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/mischa/32/93_2.png) [@mischa](https://forums.blinkstick.com/u/mischa)\
**Post date:** [March 21, 2015, 1:27am UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/3 "2015-03-21T01:27:29Z")

</div>

Got the same idea a few days ago. I’m using NAudio to get the current audio output level and “display” the level on my BlinkStrip. Here’s how to get the output level in C#:

```
using NAudio.CoreAudioApi;

MMDeviceEnumerator devEnum = new MMDeviceEnumerator();
defaultDevice = devEnum.GetDefaultAudioEndpoint(DataFlow.Render, Role.Multimedia);
float SoundLevel = defaultDevice.AudioMeterInformation.MasterPeakValue;

```

SoundLevel will be between 0 and 1. Perfect for use as the Lightness in HSLColor.

---

<div class="post-metadata">

**Author:** ![arvydas](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/arvydas/32/242_2.png) [@arvydas](https://forums.blinkstick.com/u/arvydas)\
**Post date:** [March 21, 2015, 5:53pm UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/4 "2015-03-21T17:53:17Z")

</div>

I was thinking of using something like FFT to display spectrum analyzer on [Strip](https://www.blinkstick.com/products/blinkstick-strip) or [Square](https://www.blinkstick.com/products/blinkstick-square).

---

<div class="post-metadata">

**Author:** ![mischa](https://forums.blinkstick.com/user_avatar/forums.blinkstick.com/mischa/32/93_2.png) [@mischa](https://forums.blinkstick.com/u/mischa)\
**Post date:** [March 21, 2015, 6:21pm UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/5 "2015-03-21T18:21:44Z")

</div>

Spectrum Analyzer on multiple Strips was my first thought, but after looking at some examples I switched to just the output volume level. A bit too complex for my level of C# skills, I’ll just have a look at your code when (if) you have implemented it. 😉

---

<div class="post-metadata">

**Author:** ![Bryan](https://forums.blinkstick.com/letter_avatar_proxy/v4/letter/b/db5fbb/32.png) [@Bryan](https://forums.blinkstick.com/u/Bryan)\
**Post date:** [January 17, 2016, 10:30am UTC](https://forums.blinkstick.com/t/music-reacting-lightup/165/6 "2016-01-17T10:30:27Z")

</div>

i’m very interested in this. is it still being considered for the windows client?

like, for instance; assign an individual led to a frequency range(hz) - including color.  
and once said frequency has been detected within the audio, it triggers the led.  
allso if it could analyse the intensity of the frequency as well, that could dictate the brightness.

that would be amazing in anything from jukeboxes to arcadecabs 🙂
