Razer Chroma integration not working

Started by ForthtuN
971fa28301631224aa96c3b269ffdefe?s=128&d=mm

ForthtuN

So, i got the Nanoleaf Aurora + Rhythm. However i can not use the Rhythm control that often since it needs using a speaker, and that would annoy my family. So i have tried mostly everything but can't get the Razer chroma to work with nanoleaf. I got it mostly since i could integrate it with Chroma and i thought i could get it to sync with my music and games but thats a no-go it seems like. Anyone got it working? Feels like i maybe need to return it otherwise cause its really a dealbreaker for me, but would be nice to get it working!

D82f51c8f6028e0c3681d1e83dc4c3d4?s=128&d=mm

Rowak

First of all, this forum isn't very active, so you probably won't get a very timely response (if any) from someone who has had the same problem or who knows exactly how to solve your problem. I don't have Razer Chroma so I'm not exactly sure how it works, but I will try to help anyway.

It looks like the chroma + Aurora integration has problems judging by the comments on the Youtube promo and this Reddit page. If you simply want to sync your games/music with your Aurora there are other options available that don't use the built-in microphone. The easiest way is to just connect your computer to the rhythm through the 3.5mm aux port on the rhythm and your computer. This is the best and cheapest way to do this unless your Aurora is on the other side of the room.

If your Aurora is on the other side of the room, and alternate method is to connect a second computer (such as a raspberry pi) to the rhythm through the 3.5mm aux port, then stream your game/music to the second computer using software such as SoundIt. Note that you may experience more significant audio delay with this method.

Hopefully that helps, good luck.

971fa28301631224aa96c3b269ffdefe?s=128&d=mm

ForthtuN

Thanks for the answer.

Yes, i have thought about going the way to buy a chromecast audio and plug it into the Rhythm module. However i looked around and could see that some had problems with emi interference with cables sadly. Its also sad that it doesn't work with a program that actually syncs the computer sound to the nanoleaf module. For example the Philips hue has good intergration so it could be done.

D82f51c8f6028e0c3681d1e83dc4c3d4?s=128&d=mm

Rowak

I don't know anything about emi interference, but there are other software solutions that utilize the external streaming function on the Aurora to achieve the same effect as the rhythm module. People such as this guy and this guy have made their own audio visualizations that stream the effect data straight to the Aurora without the need of a rhythm module. After doing some digging and testing however I found that there actually isn't an easy way to use the output from your music/games as input for the Aurora using this type of software. I'll keep looking though and update you if I find anything.

D82f51c8f6028e0c3681d1e83dc4c3d4?s=128&d=mm

Rowak

Update: I managed to get what I mentioned in the above post working after a lot of googling and a bit of tinkering. I discovered a way of using the "stereo mix" option under the sound settings to capture any sound output from your computer and send it to the Aurora while listening to it at the same time. I used bharat's audio visualizer software as an example, although the code was broken pretty badly so I had to fix it up. The following method isn't perfect, the drawback is requires you setting your speaker volume at 1% (minimum), though you can't hear it at all at this level. If you're still interested in this, follow the steps below to set it up (Windows only):

  1. Go into your system sound settings (search sound in the start menu). Right click on the white space and enable "show disabled devices". Enable "Stereo Mix" under the "Recording" tab and set it as your default device.
  2. If you plan to use headphones, right click on the Stereo Mix device > click Properties > click the "Listen" tab > enable "Listen to this device" and select your headphones where it says "Playback through this device" > click apply, then ok.
  3. Click on the "Playback" tab and set your speaker device (not headphones) as your default playback device. Right click on your speaker device (not headphones), then click properties. Click on the "Levels" tab and set the output level (volume) to 1. Press apply, then ok.
  4. Download the example music visualizer software here (created by bharat) and extract all of the files to a new folder. The code on bharat's github is broken and not configured properly for your purposes, so use the download above.
  5. Download the latest version of Python (if you don't have it already).
  6. Following the steps on bharat's github page:
    1. Open the command prompt (search for it in the start menu).
    2. Run the command: pip install bokeh pyaudio numpy scipy nanoleaf requests.
    3. Hold the power button on your Aurora for 5 - 7 seconds until it starts blinking (to authenticate), then open the folder you downloaded and run the file named "visualizer.bat" (not visualizer.py).
    Your Aurora should now automatically switch to streaming mode then wait for audio input from your games/music. The visualization will last as long as you have the command prompt window open. You can exit streaming mode by changing the scene/effect.

Hopefully this works for you, good luck.

971fa28301631224aa96c3b269ffdefe?s=128&d=mm

FortuN

Thanks for the help!

I have been trying for many many hours now with the previous post to get that working, however as you said, there was alot of broken code so i never managed so fix it without errors all over.

Tested your version and after downgrading to python 3.6 (3.7 not working and gives alot of errors with pyaudio install) i've managed it to work. Since i have my speakers connected via USB it seems it doesen't want to work together with Stereo Mix, i would get no sound to my headset. But it did still work even when i disabled my stereo mix and had all music and everything on my headset so that was good since i didn't need to use my speaker. However it seems to capture the actual sound output, so the higher volume i have on my headphone output the more it lights up, and for it to not light upp all the time i need a very very low volume like 1-4%, but then i would not hear anything. I guess thats the real drawback doing this. Buy hey, it works and you managed to do it better than nanoleaf themselves have done. Its sad with the potential it could have to sync properly to razer chroma that is quite user-friendly, but won't work, cause there you could change the individual color and match it to games what color to display and the amplitude with its audiovisulization would be awesome.

But you did a great job finding this, so many thanks for actually taking your time helping.

D82f51c8f6028e0c3681d1e83dc4c3d4?s=128&d=mm

Rowak

Nice work! What you mentioned above are unfortunately limitations of the example I showed, however now that you know the concept works there are more possibilities. I'm working on a desktop app similar to the example, but it will have more visualization effects to choose from, as well as many configuration options (sensitivity, colors, direction, etc). It still unfortunately won't sync with razer chroma, but it will do what the example can do and better. If you're interested I'll update this post when I'm done (it will take a long time).