Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add LED audio support #29

Open
adamheffernan opened this issue Jun 16, 2018 · 6 comments
Open

Add LED audio support #29

adamheffernan opened this issue Jun 16, 2018 · 6 comments
Labels
daemon Requires adding and running a daemon enhancement New feature or request

Comments

@adamheffernan
Copy link

No description provided.

@tylerszabo
Copy link
Owner

The LED music mode is a little bit interesting. The way it seems to work is that you set the LED to mode 2 (Music Mode) where you can set min/max brightness and a color. Then call dllexp_BeatInput with either 0 (off) or 1 (on). This means that you need run a daemon that can pulse the beat on and off. This daemon will also need to monitor audio somehow.

It's pretty involved and while I'd like to do it I think it's out of scope for this particular tool. I've thought about having an RGBFusionToolD that can run in the background and speed up execution by doing a single initialization and potentially allowing various uses of the "Music" Mode. If there's as lot of demand I'll certainly look into doing it sooner :)

@adamheffernan
Copy link
Author

adamheffernan commented Jun 16, 2018 via email

@tylerszabo
Copy link
Owner

If you know a good way to do beat detection of other applications then that'd be the biggest help. The beat detection part does involve some math but what I see as the hard part is figuring out what audio is playing and then getting the beat from that audio. I think the best place for this behavior would be as a plugin for a media player (especially because you'd be able to do beats from just the music and not mix with other things like system sounds). I'm not familiar enough with the audio APIs to know how to find out what sounds are playing on the system at a given moment. If you know where to get that data I could certainly look into it.

@tylerszabo tylerszabo added the enhancement New feature or request label Jun 20, 2018
@Grippy98
Copy link

@tylerszabo
Copy link
Owner

@Grippy98 thanks! That does indeed look like something that I could use.

@adamheffernan
Copy link
Author

https://github.com/naudio/NAudio this will be even more helpful, this is what Emily Maxwell has used for the Corsair Effects Engine

@tylerszabo tylerszabo added the daemon Requires adding and running a daemon label Jul 24, 2018
@tylerszabo tylerszabo changed the title Any chance you could add support for LED audio support? Or is this not even included in the SDK? Add LED audio support Jul 24, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
daemon Requires adding and running a daemon enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

3 participants