The Corsair User Forums  

Go Back   The Corsair User Forums > Corsair Product Discussion > Keyboards and Mice

Notices

Reply
 
Thread Tools Search this Thread Rating: Thread Rating: 21 votes, 5.00 average. Display Modes
  #46  
Old 12-16-2014, 09:09 AM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 747174
vegito1991 Reputation: 10
Default

Quote:
Originally Posted by SimpleStreet View Post
there is a .NET version out.
from what i have noticed while having the program running is, if you acctually use the keyboard,it will interfer with the LED commands in the program which makes the application freeze.



as i mentioned to the other guy, there is a .NET version out, (C#) of this program, should be easier to use, and that one does not seem to freeze.
Do you mean the latest? or specific version of .net framework? Please define it clearly..thank you.
Reply With Quote


  #47  
Old 12-16-2014, 10:00 AM
SimpleStreet SimpleStreet is offline
Registered User
 
Join Date: Nov 2014
Posts: 36
POST ID # = 747178
SimpleStreet Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
Do you mean the latest? or specific version of .net framework? Please define it clearly..thank you.
http://forum.corsair.com/v3/showthread.php?t=135081

there, Billism copied over all the code Calc did in C to C#, should be easier to set up in windows, there are a few steps in there showing how to get it started if you have trouble
Reply With Quote


  #48  
Old 12-17-2014, 02:44 AM
Battlerobot Battlerobot is offline
Registered User
 
Join Date: Dec 2014
Posts: 5
POST ID # = 747387
Battlerobot Reputation: 10
Default

When you can program for the keyboard on lua, do you plan on releasing a lua version?
Reply With Quote


  #49  
Old 12-18-2014, 08:44 AM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 747626
vegito1991 Reputation: 10
Happy

Quote:
Originally Posted by SimpleStreet View Post
http://forum.corsair.com/v3/showthread.php?t=135081

there, Billism copied over all the code Calc did in C to C#, should be easier to set up in windows, there are a few steps in there showing how to get it started if you have trouble
Thanks, it works, but only with the recording device, which caused the delayed. i had tried with steoreo mix, doesn't work at all
Reply With Quote


  #50  
Old 12-18-2014, 10:58 AM
emiljensen2 emiljensen2 is offline
Registered User
 
Join Date: Oct 2014
Posts: 106
POST ID # = 747641
emiljensen2 Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
Thanks, it works, but only with the recording device, which caused the delayed. i had tried with steoreo mix, doesn't work at all
You can decrease the delay.
https://github.com/billism1/Keyboard...dio/Program.cs
at a quick glance I believe the 256's is how big the buffer is (delay)
Reply With Quote


  #51  
Old 12-19-2014, 02:43 AM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 747782
vegito1991 Reputation: 10
Default

Quote:
Originally Posted by emiljensen2 View Post
You can decrease the delay.
https://github.com/billism1/Keyboard...dio/Program.cs
at a quick glance I believe the 256's is how big the buffer is (delay)
Sorry, what I mean is that using stereo mix doesn't make the visualizer works, from my side the visualizer only works when i use "Microphone" instead of stereo mix. I believe the cause of delayed is because using the microphone, however i can try deal with the buffer rate to adjust the accuracy of visualizer. But i need to know if there any solution to make stereo mix works.

Btw, is there any announcement for wave visualization, or improvement for spectrograph?
Reply With Quote


  #52  
Old 12-19-2014, 04:25 AM
SimpleStreet SimpleStreet is offline
Registered User
 
Join Date: Nov 2014
Posts: 36
POST ID # = 747788
SimpleStreet Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
Sorry, what I mean is that using stereo mix doesn't make the visualizer works, from my side the visualizer only works when i use "Microphone" instead of stereo mix. I believe the cause of delayed is because using the microphone, however i can try deal with the buffer rate to adjust the accuracy of visualizer. But i need to know if there any solution to make stereo mix works.

Btw, is there any announcement for wave visualization, or improvement for spectrograph?
from what i think you're saying:

i downloaded and installed Visual Audio Cable, set the recording device to Line 1, and set the playback to Line 1, from there opening up Audio Repeater (MME) (comes with Visual Audio Cable on installation), setting Wave in to Line 1, and Wave out to the speaker of your choice, either computer speakers or headset, that should work for you.

if that is not what you mean and you just have lagg using the program then you can do the following:

disable the console writer, ( the screen with the " = " ), by adding // infront of
Code:
//writers.Add(new ConsoleWriter());
in the Program.cs

You can also disable the rainbow, by adding // infront of the following code
Code:
//this.red = (byte)(1.5f * (Math.Sin((x / 92.0f) * 2 * 3.14f) + 1));
//this.grn = (byte)(1.5f * (Math.Sin(((x / 92.0f) * 2 * 3.14f) - (6.28f / 3)) + 1));
//this.blu = (byte)(1.5f * (Math.Sin(((x / 92.0f) * 2 * 3.14f) + (6.28f / 3)) + 1));
however that will cause the program to crash, so make sure you set the following code
Code:
this.SetLed((x + iter) % 92, y, red, grn, blue);
to
Code:
this.SetLed((x + iter) % 92, y, 0, 0, 0);
or whatever you like, ( that is just the color of the LED's on the keyboard with no music).


As for improvement or different kind of visualization, on page 3, there is someone who linked a video of someone using VSXu visualization to send the pixels to the keyboard.

i managed to track it down to
https://github.com/vovoid/vsxu/blob/...ation.cpp#L100
right after the rendering, the pixels should be send over to the keyboard, so far i have had no luck making it work, but hopefully soon someone better than me in C/C++ should be able to crack it.

Last edited by SimpleStreet; 12-19-2014 at 07:05 AM.
Reply With Quote


  #53  
Old 12-19-2014, 08:40 AM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 747816
vegito1991 Reputation: 10
Default

Quote:
Originally Posted by SimpleStreet View Post
from what i think you're saying:

i downloaded and installed Visual Audio Cable, set the recording device to Line 1, and set the playback to Line 1, from there opening up Audio Repeater (MME) (comes with Visual Audio Cable on installation), setting Wave in to Line 1, and Wave out to the speaker of your choice, either computer speakers or headset, that should work for you.

if that is not what you mean and you just have lagg using the program then you can do the following:

disable the console writer, ( the screen with the " = " ), by adding // infront of
Code:
//writers.Add(new ConsoleWriter());
in the Program.cs

You can also disable the rainbow, by adding // infront of the following code
Code:
//this.red = (byte)(1.5f * (Math.Sin((x / 92.0f) * 2 * 3.14f) + 1));
//this.grn = (byte)(1.5f * (Math.Sin(((x / 92.0f) * 2 * 3.14f) - (6.28f / 3)) + 1));
//this.blu = (byte)(1.5f * (Math.Sin(((x / 92.0f) * 2 * 3.14f) + (6.28f / 3)) + 1));
however that will cause the program to crash, so make sure you set the following code
Code:
this.SetLed((x + iter) % 92, y, red, grn, blue);
to
Code:
this.SetLed((x + iter) % 92, y, 0, 0, 0);
or whatever you like, ( that is just the color of the LED's on the keyboard with no music).


As for improvement or different kind of visualization, on page 3, there is someone who linked a video of someone using VSXu visualization to send the pixels to the keyboard.

i managed to track it down to
https://github.com/vovoid/vsxu/blob/...ation.cpp#L100
right after the rendering, the pixels should be send over to the keyboard, so far i have had no luck making it work, but hopefully soon someone better than me in C/C++ should be able to crack it.

I following your guide and the visualizer only works without sound, by settings up the recording and play back as line 1, if set my speaker as default, the sound come back but the visualizer will be non-working.
Reply With Quote


  #54  
Old 12-19-2014, 09:44 AM
SimpleStreet SimpleStreet is offline
Registered User
 
Join Date: Nov 2014
Posts: 36
POST ID # = 747827
SimpleStreet Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
I following your guide and the visualizer only works without sound, by settings up the recording and play back as line 1, if set my speaker as default, the sound come back but the visualizer will be non-working.
Hmm try it in the following order,

1) set playback devices to line 1, as well as recording to line 1.

2) if you installed VAC, search and start Audio Repeater (MME) (Search programs and files)

3) set Wave in to Line 1. and Wave out to Speakers and just hit start, that should be it, and start up the visualizing program.
Reply With Quote


  #55  
Old 12-19-2014, 10:19 PM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 747999
vegito1991 Reputation: 10
Default

Quote:
Originally Posted by SimpleStreet View Post
Hmm try it in the following order,

1) set playback devices to line 1, as well as recording to line 1.

2) if you installed VAC, search and start Audio Repeater (MME) (Search programs and files)

3) set Wave in to Line 1. and Wave out to Speakers and just hit start, that should be it, and start up the visualizing program.
I also found that it works if follow the settings by sequence, however the visualizer will freeze after few seconds, disable the rainbow background only temporary fixed the issue. Somehow the freeze will randomly happen but within 1 minute

PS: May i know which part is to change the spectrograph'color? and also the spectrograph's rate, coz it is too high where i need lower my volume.

Last edited by vegito1991; 12-19-2014 at 10:47 PM.
Reply With Quote


  #56  
Old 12-19-2014, 11:21 PM
SimpleStreet SimpleStreet is offline
Registered User
 
Join Date: Nov 2014
Posts: 36
POST ID # = 748002
SimpleStreet Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
I also found that it works if follow the settings by sequence, however the visualizer will freeze after few seconds, disable the rainbow background only temporary fixed the issue. Somehow the freeze will randomly happen but within 1 minute

PS: May i know which part is to change the spectrograph'color? and also the spectrograph's rate, coz it is too high where i need lower my volume.
unsure of why it would freeze for you, do you have you Corsair Utility Engine closed ?

and when it freezes can you still use your keyboard ? like just the LED's are frozen ?

for the color. ( KeyboardWriter.cs)

Code:
this.SetLed(i, k, 0x07, 0x04, 0x07);
change the numbers on those from 0 to 7,

for the volume, try lowering the amplifier. (Program.cs)
Code:
float amplitude = 1.0f;
it is originaly set to 10.0f, i have mine on 1.0f, just play around until you get something you like.

if the freeze happends within a minute of starting the program it might be because of a synchronization issue.
another person had that issue, by adding
Quote:
System.Threading.Thread.Sleep(5)
after each ,
Quote:
HidD_SetFeature
i did not have to do this so if this still does not work for you try to contact the person that did this, he might help you more than i did.

Last edited by SimpleStreet; 12-19-2014 at 11:43 PM.
Reply With Quote


  #57  
Old 12-20-2014, 05:16 AM
vegito1991 vegito1991 is offline
Registered User
 
Join Date: Dec 2014
Posts: 13
POST ID # = 748033
vegito1991 Reputation: 10
Default

Quote:
Originally Posted by SimpleStreet View Post
unsure of why it would freeze for you, do you have you Corsair Utility Engine closed ?

and when it freezes can you still use your keyboard ? like just the LED's are frozen ?

for the color. ( KeyboardWriter.cs)

Code:
this.SetLed(i, k, 0x07, 0x04, 0x07);
change the numbers on those from 0 to 7,

for the volume, try lowering the amplifier. (Program.cs)
Code:
float amplitude = 1.0f;
it is originaly set to 10.0f, i have mine on 1.0f, just play around until you get something you like.

if the freeze happends within a minute of starting the program it might be because of a synchronization issue.
another person had that issue, by adding after each ,

i did not have to do this so if this still does not work for you try to contact the person that did this, he might help you more than i did.
i discovered that the cause of freeze LED light is due to high frequency setting for the spectrogrtaph, once i set to 0.7f then it solve everything. Thanks man for being so helpful, i really appreciated as you being so patience just to help me. =)
Reply With Quote


  #58  
Old 12-20-2014, 05:36 AM
SimpleStreet SimpleStreet is offline
Registered User
 
Join Date: Nov 2014
Posts: 36
POST ID # = 748034
SimpleStreet Reputation: 10
Default

Quote:
Originally Posted by vegito1991 View Post
i discovered that the cause of freeze LED light is due to high frequency setting for the spectrogrtaph, once i set to 0.7f then it solve everything. Thanks man for being so helpful, i really appreciated as you being so patience just to help me. =)
Haha no worries, but Calc is the one you should thank, his program.

happy you got it sorted.
Reply With Quote


  #59  
Old 01-22-2015, 02:55 AM
mrsnowmobiling mrsnowmobiling is offline
Registered User
mrsnowmobiling's PC Specs
 
Join Date: Dec 2014
Posts: 2
POST ID # = 755290
mrsnowmobiling Reputation: 10
Default

I am sorry to bug you guys but I am having difficulty trying to get this up and running. The led's are simply freezing just like SimpleStreet was having. I have tried changing the frequency of the spectrograph to .7 but this seems to not help. I also disabled the rainbow background and that seems to not help too. Can anyone give me a little bit of help. Thanks
Reply With Quote


Reply

Tags
k70 rgb, linux, modding, music visualizer, unofficial

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes Rate This Thread
Rate This Thread:

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -4. The time now is 06:20 AM.


Powered by vBulletin® Version 3.8.7
Copyright ©2000 - 2019, vBulletin Solutions, Inc.