![]() |
|
#1
|
|||
|
|||
|
In case anyone is interested, I ported the C++ spectrogram program that CalcProgrammer1 made, to .Net C#.
His original post: http://forum.corsair.com/v3/showthread.php?t=133471 The .Net project: https://github.com/billism1/KeyboardAudio Video of it in action: Last edited by Billism; 12-04-2014 at 07:38 AM. |
|
#2
|
|||
|
|||
|
Awesome! Have a video of it in action?
|
|
#3
|
|||
|
|||
|
I just edited the post to include it.
Thanks again for your awesome work! |
|
#4
|
|||
|
|||
|
Complete noob here. How would I go about using this?
|
|
#5
|
|||
|
|||
|
You will need a program to compile the code from his Github, i suggest using Visual studio, easy installation and free.
It is noted that OpenTK is needed to make the program work, so you will need to install that as well. all that is remaining is acctually getting the code from Github, run it in visual studio, and that should be it i belive ?, you may need to exit the corsair software thing, that might get in the way of making it run properly. |
|
#6
|
|||
|
|||
|
Quote:
The pre-built Windows binaries can be downloaded from here: https://drive.google.com/open?id=0B8...ZUE&authuser=0 Though, this has not been tested on any other machine than my own. |
|
#7
|
|||
|
|||
|
Quote:
however i had to get the code and change the amplifier down to like 1 to make you being able to see it following the music, other than that it looks very nice good job May i ask where you found the FFT algorithm ? NVM it seems like i cant read, i found it Last edited by SimpleStreet; 12-09-2014 at 10:30 PM. |
|
#8
|
||||
|
||||
|
Just like the other project, it makes my keyboard lights freeze so doesn't work.
|
|
#9
|
|||
|
|||
|
I also experience the LEDs feezing up. It seems to lag out after about a second of input. I tracked it down to the HidD_SetFeature method blocking after a couple of write calls. Could it be because I'm connected via 1 USB3.0 cable instead of 2 USB2.0 connections?
|
|
#10
|
|||
|
|||
|
Ok, it appears to indeed be a synchronization issue. If I put in a delay after each HidD_SetFeature call by inserting System.Threading.Thread.Sleep(5), it works!
Many thanks Billism and CalcProgrammer1! Last edited by Corski; 12-10-2014 at 12:50 PM. |
|
#11
|
|||
|
|||
|
the only time i had the keyboard light freeze was when i tried to run the program when CUE was active, have you tried to close the software before running the program ?
|
|
#12
|
|||
|
|||
|
I'm getting an error when I try to run the program on Visual Studio
An unhandled exception of type 'OpenTK.Audio.AudioDeviceException' occurred in OpenTK.dll Additional information: All attempts to open capture devices returned IntPtr.Zero. See debug log for verbose list. |
|
#13
|
|||
|
|||
|
Quote:
|
|
#14
|
|||
|
|||
|
Works great here as well. Just had to turn off CUE, but that has already been stated. Thanks for porting!!!
|
|
#15
|
|||
|
|||
|
Why is it so "noisy" when there's no sound input/output?
EDIT: figured it out Last edited by Reapexx; 12-29-2014 at 06:10 AM. |
![]() |
|
|