Troy
af028b5890
Accepting some Softhack007 suggestions
2024-04-14 14:39:15 -04:00
Frank
6e24850073
ar_energy: improved energy reconstruction
...
fftResult[] is indended to look good on GEQ, and has a very "twisted" representation of FFT results only. This change improves reconstruction of signal energy, by on-doing some of the "GEQ enhancements" in fftResults[].
2024-04-10 18:56:23 +02:00
Frank
70bfbd5a43
ar_energy: fix a math error
...
fixing mis-optimized math when calculating energy.
energy = sum(amplitude^2). this is not the same as sum(amplitude)^2.
Example:
1+5+7 = 13; 13 * 13 = 169
1*1 + 5*5 + 7*7 = 75
2024-04-10 13:42:21 +02:00
Frank
b27686bd2b
audioreactive small optimization
...
* clear vImag[] using memset
* zerocrossing detection: directly check sign bit
2024-04-10 12:34:32 +02:00
Frank
164c9a12cc
minor version upgrade to -b30.37
2024-04-09 21:39:51 +02:00
Frank
1d1a53b703
align with upstream platformio.ini
...
adding 160Mhz 8266 builds
NB: MoonModules 8266 build are always using 160Mhz, so nothing new for us ;-)
2024-04-09 21:14:35 +02:00
Frank
8e84dba644
post-merge
...
this one was almost lost
2024-04-09 21:01:44 +02:00
Blaz Kristan
4093df1de5
WLED 0.14.3 release
...
- Fix for transition 0 (#3854 , #3832 , #3720 )
- copyright year update
- updated AsyncWebServer to v2.2.0
2024-04-09 20:43:55 +02:00
Blaz Kristan
c946b52974
WLED 0.14.2 release
2024-04-09 20:13:35 +02:00
Frank
98b5ad1268
Update CONTRIBUTING.md
...
Trying to explain why any PR should have a`description`
2024-04-09 20:09:48 +02:00
Frank
0bb0b7f036
Custom palette gamma ( fixes #126 )
...
based on upstream 7f6486c77d
2024-04-09 20:02:06 +02:00
Blaž Kristan
7b87c27402
Merge pull request #3616 from demophoon/dmx-segment-options-expanded
...
Add additional segment options when controlling over e1.31
2024-04-09 19:29:51 +02:00
Frank
03cbc52c65
ar_energy small improvements
...
* use named constant instead of "100"
* make change_threshold_change more robust against negatives
* unloadPlaylist() before activating a new playlist
2024-04-09 19:23:28 +02:00
Frank
bc249379f0
minor improvements from upstream
...
* add checkSettingsPIN() and get_random_wheel_index() functions
* add on/off state to UDP data
* small robustness improvements
2024-04-09 15:43:46 +02:00
cschwinne
aff4de34b4
WS logic: No resending, improved ESP8266 stability
...
Update ESP8266 core to 3.1.2
2024-04-09 14:15:06 +02:00
Blaz Kristan
e94064adde
Bugfix.
...
- feed WDT even if strip is updating
- provide custom palette names
- handle interface cooldown properly
- rotary encoder ALT fix for custom palettes
2024-04-09 14:09:17 +02:00
Blaz Kristan
0ddfb25ad0
Possible fix for:
...
- #3382
- #3312
2024-04-09 14:02:36 +02:00
Frank
2a4810f437
autoplaylist filter improvements
...
* initialize slow and fast filters with current values (first call only) - reduces time for filter stabilization
* use slightly optimized variant of "rolling average" filter (result is exactly the same)
--> replaced `xX = xX * (1-a) + newX * a;` by `xX = xX + a * (newX - Xx);`
* use constants for filter parameters (for tinkering and improved readability)
2024-04-07 21:31:53 +02:00
Frank
5186c0fdb6
autoplaylist bugfix for playlists with only one preset
...
* prevent infinite loop in case that there is only one preset in a playlist
* fixing two typos
2024-04-07 21:23:01 +02:00
Frank
1ca7faf142
Merge branch 'mdev' into pr/124
2024-04-06 21:15:24 +02:00
Troy
92ad330d27
Merge branch 'auto-playlist' of https://github.com/netmindz/WLED into auto-playlist
2024-04-05 15:45:24 -04:00
Troy
02b464f283
Smoothing sound detection
2024-04-05 15:45:21 -04:00
Troy
c5a71af679
Update usermods_list.cpp
...
Disabled by default
2024-04-05 15:10:38 -04:00
Troy
f9eb6d2300
functionality_enabled logic
2024-04-05 12:04:39 -04:00
Troy
abc811484d
Added new internal functionality enabled tracking
2024-04-05 11:31:08 -04:00
Frank
bf6932ecb7
ar_energy: reduced zeroCrossingCount magnitude by 1/3
...
zero crossing counter is often larger than in the prototype by @troyhacks - due to calculation after filtering (catches more crossings), and due to the fixed condition for detecting zero crossings (doubles the number of crossings).
This patch reduces the final value to 2/3, so it typically stays below 256.
2024-04-05 14:57:55 +02:00
Will Tatam
7b40007af7
Merge branch 'mdev' into auto-playlist
2024-04-05 11:05:20 +01:00
Frank
e46b12f419
Merge pull request #125 from netmindz/ar-energy
...
Troy's zeroCrossingCount - counts zero crossings inside audioreactive, and makes the number availeable to other usermods and effects.
This PR is a prerequisite for PR #124 (auto playlist)
2024-04-05 08:23:58 +02:00
Troy
6e23b09a93
Update FX_2Dfcn.cpp
...
removed temp debugging
2024-04-04 21:46:35 -04:00
Troy
1f9e800957
Update FX_fcn.cpp
...
Accidental find/replace
2024-04-04 21:45:46 -04:00
Troy
a90c9f0f2a
Update FX_fcn.cpp
...
Removed temp debug suppression
2024-04-04 21:39:58 -04:00
Troy
39f7a2e187
Removed button, bettr Info pane, debug flag.
2024-04-04 21:32:26 -04:00
Frank
b72e402a2d
bugfixing
...
* make filters work (requires float instead of integer)
* avoid "expression propagation to double" by using float constants
* use unsigned long for all variables that depend on millis()
2024-04-05 00:31:14 +02:00
Frank
c9c9f409f4
Merge branch 'pr/125' into pr/124
2024-04-04 23:53:59 +02:00
Frank
f6fa2232e5
Merge branch 'mdev' into pr/124
2024-04-04 23:53:34 +02:00
Frank
33b46b820f
optimizations and bugfixing
...
* calculate zero crossings after filtering out DC offsets
* update effect variable only once
* fix a logic error when detecting zero crossings
* fix array bounds violation when creating umdata entries
2024-04-04 23:52:31 +02:00
Frank
4efdb2457e
Merge branch 'mdev' into pr/125
2024-04-04 23:01:34 +02:00
Will Tatam
42df965088
Revert change to update
2024-04-03 19:02:22 +01:00
Troy
c3bf851613
Higher possible change threshold
2024-03-30 15:09:59 -04:00
Troy
1f659aa1bf
"Enabled" mostly working
2024-03-30 12:54:28 -04:00
Troy
c36adbdad0
Button added to Info panel. Logic needs work.
2024-03-30 12:30:32 -04:00
Troy
04a8681f71
WM8978 fix for IDF below 4.2.0
2024-03-30 11:09:14 -04:00
Will Tatam
ebab56ada5
Update logger
2024-03-29 13:39:09 +00:00
Will Tatam
1e934d3426
Prevent crash trying to load playlist -1
2024-03-29 12:47:51 +00:00
Will Tatam
d9dceb64ed
Attempt at adding zeroCrossingCount to audio-sync
2024-03-28 20:06:47 +00:00
Will Tatam
cce7d4c79e
Cleanup
2024-03-28 19:57:42 +00:00
Will Tatam
bf1e63336c
Merge branch 'ar-energy' into auto-playlist
2024-03-28 19:42:39 +00:00
Will Tatam
9eabbf3789
Sync audio_rective changes from auto-playlist branch
2024-03-28 19:40:59 +00:00
Will Tatam
494646a21e
Tweak status
2024-03-28 19:22:54 +00:00
Troy
cd8884dbf7
Skip change logic for distance freefall
2024-03-28 08:55:18 -04:00