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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enabled some audioreactive effects for single pixel strips/segments #3942

Merged
merged 2 commits into from
May 7, 2024

Conversation

gaaat98
Copy link

@gaaat98 gaaat98 commented Apr 29, 2024

"Solution" to #3937
Enabled Juggles, Noisefire, Plasmoid, DJ Lights, Freqmatrix, Freqwave, Noisemove, Rocktaves, and Waterfall effects (I chose the ones that looked the best to me) to be selected for single pixel segments/LED strips.

Some effects (noisefire, plasmoid) needed just the metadata to be updated, the others also needed the if (SEGLEN == 1) return mode_static(); check to be disabled, I verified that removing the check does not create problems in the functions (hopefully 馃槄, see comments in code).

@softhack007 softhack007 self-requested a review April 29, 2024 20:04
@blazoncek
Copy link
Collaborator

I think it is ok, but let's wait what @softhack007 says.

@softhack007 softhack007 self-assigned this Apr 30, 2024
@blazoncek
Copy link
Collaborator

@softhack007 could you look into this, please. IMO the changes are benign and I'd like to include them in b3 release scheduled for next week.

@softhack007
Copy link
Collaborator

softhack007 commented May 6, 2024

@softhack007 could you look into this, please. IMO the changes are benign and I'd like to include them in b3 release scheduled for next week.

I'm on it 馃槂

overall looks good, thanks @gaaat98 for doing the "zero D" checks. I'll try them on my own setup in next days, plus i'll review the code to be sure there is no danger of running into invalid pointers or div/0 situations.

Copy link
Collaborator

@softhack007 softhack007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Thanks, looks good :-)

Please just delete the commented-out checks like if (SEGLEN == 1) return mode_static();.

wled00/FX.cpp Outdated Show resolved Hide resolved
Copy link
Collaborator

@softhack007 softhack007 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

馃憤

@softhack007 softhack007 linked an issue May 6, 2024 that may be closed by this pull request
@blazoncek blazoncek merged commit b320612 into Aircoookie:0_15 May 7, 2024
18 checks passed
softhack007 pushed a commit to MoonModules/WLED that referenced this pull request May 7, 2024
Enabled some audioreactive effects for single pixel strips/segments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Audio reactive effects for PWM RGB Strips
3 participants