AterialDawn Posted October 12, 2015 Share Posted October 12, 2015 This is a Visualizer for Corsair RGB keyboards using the CUE-SDK C# Wrapper (http://forum.corsair.com/forums/showthread.php?t=149863) written by Darth Affe, and the Bass Library/Bass.net. Using WASAPI (Vista+) I am able to grab currently playing sound, and write some neat visualizers for it. As soon as the SDK released I immediately thought of converting that project to a keyboard visualizer and I must say that it looks quite good! Demo Video: [ame] [/ame] Github repo is : https://github.com/AterialDawn/CUEAudioVisualizer Compiled binary is attached below. A plugin system for adding more visualizers is pending, and any and all feedback is appreciated. The code is not final and probably will be changing a lot. Credits go to Darth Affe for his incredibly handy CUE-SDK C# Wrapper, LegifyX for the Icon, and me for the incredibly hideous code. Changelog: v1.0.0 : First release v1.0.1 : Settings are actually saved now! Whoops. v1.2.0 : More robust WASAPI error handling, few more visualizers added, and plugins support (documentation coming soon™) v1.3.0 : Added a sensitivity slider, as well as a smoothing slider. Located in the Options submenu.CUEAudioVisualizer_v1.2.0.zipCUEAudioVisualizer_v1.3.0.zip Link to comment Share on other sites More sharing options...
krazykid Posted October 12, 2015 Share Posted October 12, 2015 So this? http://forum.corsair.com/v3/showthread.php?t=139027 Edit: its time to get up to date Elestriel! :P Link to comment Share on other sites More sharing options...
AterialDawn Posted October 12, 2015 Author Share Posted October 12, 2015 That requires CUE to be closed as it talks directly to the keyboard, this uses the official SDK to talk to the keyboard so CUE can be left running, plus with this app you can select a device to use as it's audio source. Link to comment Share on other sites More sharing options...
Darth Affe Posted October 13, 2015 Share Posted October 13, 2015 Yay, this looks really cool :) If it's fine with you, I'd really like to adopt parts of your audio analysis into my spectrum example project (for V1.0), since it looks way better, than the one I wrote :p Link to comment Share on other sites More sharing options...
AterialDawn Posted October 13, 2015 Author Share Posted October 13, 2015 Of course! Feel free to do whatever you want with the code, as long as some form of credit is given! Link to comment Share on other sites More sharing options...
DracroniC Posted October 15, 2015 Share Posted October 15, 2015 Good stuff. Does exactly what it's supposed to and well. I like how this one responds to the low end a lot better than the other options. Link to comment Share on other sites More sharing options...
Aazelion Posted October 15, 2015 Share Posted October 15, 2015 Registered just to post that i love using this on my K70 since it just works and dont have configure much or close CUE, just a small problem i got who knows how, basically i get this whenever i want to open 1.0.1, it used to work with no problems http://i.imgur.com/RYEzI5M.jpg 1.0.0 Works, but of course doesn't save settings Thanks! Link to comment Share on other sites More sharing options...
Tomandresen Posted October 15, 2015 Share Posted October 15, 2015 Had a quick look in Github, the app uses the .Net Properties API, and so stores its settings in the folder %userprofile%\appdata\local\CUEAudioVisualizer. Delete that folder, and you'll have a clean slate. For me, I got that error when it didn't like the audio device I selected (headset loopback device). I wonder if the author has any tips on how to resolve this? Edit: After a bit of tinkering, I was able to get it to work by enabling and using the stereomix recording device of my onboard realtek audio, but of course, this only works when I use the onboard audio to play sound, and not my USB headset. Link to comment Share on other sites More sharing options...
Aazelion Posted October 16, 2015 Share Posted October 16, 2015 I did delete folder workaround, and it did fix it, Thanks! Seems weird to me, its like something else on my PC broke it. Link to comment Share on other sites More sharing options...
EddieF430 Posted October 16, 2015 Share Posted October 16, 2015 How is the lag between the visualizer and when it shows up on the keyboard? Really anxious to finally DL something like this. Link to comment Share on other sites More sharing options...
AterialDawn Posted October 16, 2015 Author Share Posted October 16, 2015 -snip- Ahh, okay, I can fix that. Gonna take me a few days cause i'm working on a few other things but I can definitely fix that! Link to comment Share on other sites More sharing options...
dbronx Posted October 16, 2015 Share Posted October 16, 2015 I seriously don't understand any of this. Any assistance? I just want to simply try it out and test it out. But I don't get half of what you guys are saying.... And I call my self a nerd -_- Link to comment Share on other sites More sharing options...
clinkasker Posted October 16, 2015 Share Posted October 16, 2015 This is a Visualizer for Corsair RGB keyboards using the CUE-SDK C# Wrapper (http://forum.corsair.com/forums/showthread.php?t=149863) written by Darth Affe, and the Bass Library/Bass.net. Using WASAPI (Vista+) I am able to grab currently playing sound, and write some neat visualizers for it. As soon as the SDK released I immediately thought of converting that project to a keyboard visualizer and I must say that it looks quite good! Demo Video: Github repo is : https://github.com/AterialDawn/CUEAudioVisualizer Compiled binary is attached below. A plugin system for adding more visualizers is pending, and any and all feedback is appreciated. The code is not final and probably will be changing a lot. Credits go to Darth Affe for his incredibly handy CUE-SDK C# Wrapper, LegifyX for the Icon, and me for the incredibly hideous code. Changelog: v1.0.0 : First release v1.0.1 : Settings are actually saved now! Whoops. i decompiled it and have question: what is this? "trial@trial.com", "2X1837515183722" Link to comment Share on other sites More sharing options...
Aazelion Posted October 16, 2015 Share Posted October 16, 2015 How is the lag between the visualizer and when it shows up on the keyboard? Really anxious to finally DL something like this. The lag is not noticeable at all, if there's any even Ahh, okay, I can fix that. Gonna take me a few days cause i'm working on a few other things but I can definitely fix that! That would be awesome, take your time since i don't think my problem is anything major :D: I seriously don't understand any of this. Any assistance? I just want to simply try it out and test it out. But I don't get half of what you guys are saying.... And I call my self a nerd -_- You should have CUE running already for this to work as well as Microsoft .NET Framework 4.5 i believe Download 1.0.1 then extract it on a folder or somewhere you can find it easily since it doesn't require installation, or make a shortcut on start menu even Double right click CUEAudioVisualizer.exe on the folder you extracted (or shortcut) Then go to the taskbar tray, left click CueAudioVisualizer icon and choose what device to listen to on Device selection, you can also change color and what not That should be all :D: Link to comment Share on other sites More sharing options...
fenix840 Posted October 17, 2015 Share Posted October 17, 2015 I had been using this program for a few days. Just went ot start it and I'm getting this......any ideas? See the end of this message for details on invoking just-in-time (JIT) debugging instead of this dialog box. ************** Exception Text ************** System.ApplicationException: Unable to initialize WASAPI device 15 at CUEAudioVisualizer.SoundDataProcessor.UpdateDevice() in c:\Users\AterialDawn\Documents\Visual Studio 2012\Projects\CUEAudioVisualizer\CUEAudioVisualizer\SoundDataProcessor.cs:line 78 at CUEAudioVisualizer.SoundDataProcessor.Process() in c:\Users\AterialDawn\Documents\Visual Studio 2012\Projects\CUEAudioVisualizer\CUEAudioVisualizer\SoundDataProcessor.cs:line 49 at CUEAudioVisualizer.KeyboardVisualizer.UpdateKeyboard() in c:\Users\AterialDawn\Documents\Visual Studio 2012\Projects\CUEAudioVisualizer\CUEAudioVisualizer\KeyboardVisualizer.cs:line 154 at CUEAudioVisualizer.mainForm.visUpdateTimer_Tick(Object sender, EventArgs e) in c:\Users\AterialDawn\Documents\Visual Studio 2012\Projects\CUEAudioVisualizer\CUEAudioVisualizer\mainForm.cs:line 82 at System.Windows.Forms.Timer.OnTick(EventArgs e) at System.Windows.Forms.Timer.TimerNativeWindow.WndProc(Message& m) at System.Windows.Forms.NativeWindow.Callback(IntPtr hWnd, Int32 msg, IntPtr wparam, IntPtr lparam) ************** Loaded Assemblies ************** mscorlib Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.NET/Framework/v4.0.30319/mscorlib.dll ---------------------------------------- CUEAudioVisualizer Assembly Version: 1.0.1.0 Win32 Version: 1.0.1.0 CodeBase: file:///C:/Users/Chris/Downloads/CUEAudioVisualizer_v1.0.1/CUEAudioVisualizer.exe ---------------------------------------- Bass.Net Assembly Version: 2.4.8.4 Win32 Version: 2.4.8.4 CodeBase: file:///C:/Users/Chris/Downloads/CUEAudioVisualizer_v1.0.1/Bass.Net.DLL ---------------------------------------- System.Windows.Forms Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Windows.Forms/v4.0_4.0.0.0__b77a5c561934e089/System.Windows.Forms.dll ---------------------------------------- System.Drawing Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Drawing/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Drawing.dll ---------------------------------------- System Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System/v4.0_4.0.0.0__b77a5c561934e089/System.dll ---------------------------------------- System.Configuration Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Configuration/v4.0_4.0.0.0__b03f5f7f11d50a3a/System.Configuration.dll ---------------------------------------- System.Xml Assembly Version: 4.0.0.0 Win32 Version: 4.0.30319.17929 built by: FX45RTMREL CodeBase: file:///C:/Windows/Microsoft.Net/assembly/GAC_MSIL/System.Xml/v4.0_4.0.0.0__b77a5c561934e089/System.Xml.dll ---------------------------------------- CUE.NET4.0 Assembly Version: 0.1.0.0 Win32 Version: 0.1.0 CodeBase: file:///C:/Users/Chris/Downloads/CUEAudioVisualizer_v1.0.1/CUE.NET4.0.DLL ---------------------------------------- ************** JIT Debugging ************** To enable just-in-time (JIT) debugging, the .config file for this application or computer (machine.config) must have the jitDebugging value set in the system.windows.forms section. The application must also be compiled with debugging enabled. For example: <configuration> <system.windows.forms jitDebugging="true" /> </configuration> When JIT debugging is enabled, any unhandled exception will be sent to the JIT debugger registered on the computer rather than be handled by this dialog box. Link to comment Share on other sites More sharing options...
kts Posted October 17, 2015 Share Posted October 17, 2015 i decompiled it and have question: what is this? "trial@trial.com", "2X1837515183722" It's the Bass.NET library's licensing system. They allow non-commercial stuff to use it for free via that. Also, you don't need to decompile it, the entire source is at https://github.com/AterialDawn/CUEAudioVisualizer and the line in question is at https://github.com/AterialDawn/CUEAudioVisualizer/blob/master/CUEAudioVisualizer/Program.cs#L19 Link to comment Share on other sites More sharing options...
SoulGG Posted October 19, 2015 Share Posted October 19, 2015 Hi! Love the demo! Was wondering if you could maybe do a text tutorial explaining the steps of how to get it to work. Maybe throw it in the readme? I'm pretty lost on how to get it to work. Can't wait to get the profile!!! Link to comment Share on other sites More sharing options...
AterialDawn Posted October 19, 2015 Author Share Posted October 19, 2015 -snip- This is the same bug as this one. I'm gonna be working on this soon now that I have a bit of spare time, so expect this bug to be fixed sometime this week along with some new features. For now, you can fix it by doing what this post suggested. Link to comment Share on other sites More sharing options...
gekkko Posted October 19, 2015 Share Posted October 19, 2015 Sounds great, i would like to have such thing. The fix doesnt work for me i have no such folder. Link to comment Share on other sites More sharing options...
AterialDawn Posted October 20, 2015 Author Share Posted October 20, 2015 Version 1.2.0 released! Includes new visualizers (well, submodes), better wasapi-error handling (no longer crashes if the device cannot be successfully initialized), and support for loading plugins (documentation coming soon) Link to comment Share on other sites More sharing options...
gekkko Posted October 20, 2015 Share Posted October 20, 2015 And i keep getting the same error. give me a guide or something. Link to comment Share on other sites More sharing options...
Sly_Ripper Posted October 21, 2015 Share Posted October 21, 2015 Can you add an option to average over a certain amount of time? There's too much flicker for it really to be useful. Link to comment Share on other sites More sharing options...
krazykid Posted October 21, 2015 Share Posted October 21, 2015 there is already a perfected version of this software made by elestriel. right here: http://forum.corsair.com/v3/showthread.php?t=139027 it includes a spectograph and a ton of random stuff to do with it, alot of settings. You can even have CUE on in the background, no need to close. Link to comment Share on other sites More sharing options...
AterialDawn Posted October 21, 2015 Author Share Posted October 21, 2015 And i keep getting the same error. give me a guide or something. What exactly happens after you select your device? Does it give you an error message? If so what's the error? Can you add an option to average over a certain amount of time? There's too much flicker for it really to be useful. Good idea, i'll add that in for next version. Link to comment Share on other sites More sharing options...
Darth Affe Posted October 23, 2015 Share Posted October 23, 2015 I just created a CUE.NET example based on your code. (Git-Link) I would appreciate, if you could take a look at it and tell me your opinion about the way it (of course the keyboard stuff, the audio analysis is stolen from you :p) works. It's quite different from what you did, but in my opinion this is the way CUE.NET should work - it would be great to hear your thoughts about this. Link to comment Share on other sites More sharing options...
Recommended Posts
Archived
This topic is now archived and is closed to further replies.