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

Audio Responsive Custom Palette #106

Open
houk001 opened this issue Jan 3, 2024 · 4 comments
Open

Audio Responsive Custom Palette #106

houk001 opened this issue Jan 3, 2024 · 4 comments
Labels
backburner low priority compared to other issues enhancement New feature or request

Comments

@houk001
Copy link

houk001 commented Jan 3, 2024

Add an option to Create palette to save it as Audio reactive and only thing to do is switch color on sound impulse so if i create palette with 6 colors switch between them from the first to the last and to first again, nothing more :D
I think that will be nice feature to used it with many effects.

@houk001 houk001 added the enhancement New feature or request label Jan 3, 2024
@softhack007 softhack007 added the backburner low priority compared to other issues label Jan 3, 2024
@softhack007
Copy link
Collaborator

softhack007 commented Jan 3, 2024

Thanks for this proposal. We might be able to enhance our existing feature "audio responsive palettes" with this 👍 (@netmindz )

switch color on sound impulse

This is the only real problem. We could switch whenever the sound is above a certain level, however it would mean the palette is cycling constantly while music plays.
A better solution would be to cycle at beats (or onsets) only. This will be possible in the future, once I find some time to completely rewrite our current (very bad) beat detection code.

A third option is to only cycle when transitioning between silence <-> sound. This is easy to detect, but it means the palette will only cycle once when music starts, and when music ends.

@houk001
Copy link
Author

houk001 commented Jan 3, 2024

That won't solve the problem?
image

@softhack007
Copy link
Collaborator

softhack007 commented Jan 3, 2024

That won't solve the problem?

Sorry no, the dynamics limiter is not related to beat (or impulse) detection. It's just a method to smooth out strong peaks.

The "real solution" is sketched here: atuline#225

Edit: actually it might help to compare the "limited" and "original" signal, as a bigger difference might be due to a strong onset 👍 will take that into consideration. Thanks for raising the point.

@houk001
Copy link
Author

houk001 commented Jan 3, 2024

ok, thanks for clarify :D Very nice beat detection is done in freestyler software for DMX management in module sound2light. its combination of auto gain control and auto treshold control. Works pretty well and I'm using it to control DMX fixture and WLED to :D Auto gain control is working now so only treshold control is needed and its working as a time function that lower treshold for another beat after beat and rise it to full on beat so preventing beat one after another.
Page of that plugin
https://www.digiplay.nl/cms/index.php?page=sound-2-light

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backburner low priority compared to other issues enhancement New feature or request
Projects
None yet
Development

No branches or pull requests

2 participants