Commit Graph

5261 Commits

Author SHA1 Message Date
Frank
a3da6d604e version bump -b31.38 2024-04-23 17:37:21 +02:00
Frank
e743c9b96c post-merge fixes, upgrade ESPAsyncWebServer 2.2.1 2024-04-23 17:32:38 +02:00
Frank
7ca4fc070b Merge pull request #3902 from Aircoookie/arduino_2_0_9
update esp32 platform to arduino-esp32 v2.0.9
2024-04-23 16:11:44 +02:00
Frank
6e2bd77808 bugfix for Ripple effect (1D mode) - solves #130
bounds check on "w" was not working.
2024-04-22 18:20:18 +02:00
Frank
6c93250cd8 small improvement
addPixelColorXY() is actually the same code as color_add()
2024-04-20 23:24:27 +02:00
Frank
d0f018586e bugfix
comparing uint32_t to fastled CRGB does not work.
2024-04-20 22:42:26 +02:00
Frank
e886ece189 Segment::setPixelColorXY optimization
use a shortcut when the segment is "simple" and just a single pixel needs to be set on HW level.
2024-04-20 22:02:15 +02:00
Frank
657259acc2 Optimization: stop to constantly search for the bus
Adding a caching mechanism to the Bus Manager - up to 30% faster especially when many led pins are used.
2024-04-20 21:57:04 +02:00
Troy
59752adc3b Merge pull request #131 from troyhacks/mdev
WLEDMM_SLOWPATH
2024-04-19 17:30:06 -04:00
Troy
4cbe92f55b minor indent 2024-04-19 17:20:32 -04:00
Troy
56cdfac007 Added WMEDMM_SLOWPATH to force RMT for stability 2024-04-19 16:58:35 -04:00
Frank
34f4905e0b bugfix for 2D Sun Radiation
size of the sun was very small on larger fixtures
2024-04-18 23:23:52 +02:00
Frank
a5b07bc06d bugfix for 2D Polar Lights
on large setups (bigger than 32x32) the effect would only show a small horizontal line.
2024-04-18 22:36:50 +02:00
Frank
0f677c35f5 typo 2024-04-18 21:09:28 +02:00
Frank
93b8c63e2b post PR3904 fixes and improvements
* fix compiler warnings (uninitialized vars, ambiguous  functions calls)
* restore some lost function prototypes
* avoid negative pixel indices
* only use "fast" color_add when there is no risk of  "overshooting" results
* minor optimizations
2024-04-18 21:09:14 +02:00
Blaž Kristan
48c64aecff Merge pull request #3904 from DedeHai/FX_fcn_improvements
added improvements to color scaling and blurring
2024-04-18 19:26:57 +02:00
Frank
7dc6659e70 audioreactive: better do DC removal after FFT.complexToMagnitude(); 2024-04-18 13:36:00 +02:00
Frank
0e0728b15d audioreactive: workaround for ArduinoFFT bug 93
This fix works around a problem that was solved in upstream ArduinoFFT 2.0.2
2024-04-18 12:57:29 +02:00
netmindz
0f79e9b7ff Merge pull request #124 from netmindz/auto-playlist
New Usermod - Auto Playlist
2024-04-16 22:38:56 +01:00
Frank
3fd5e190c4 reduce memory needs of popcorn effect
On a matrix with 52 columns, popcorn was requesting around 30Kb of segment data.
This patch reduces the data to the actually necessary amount based on the "intensity" slider. If intensity is increased, it means that the effect will get a bigger chunk of data allocated - zero'd out but this does not hurt much.
2024-04-16 20:07:51 +02:00
Frank
019cafc5e0 report out-of-memory situations to the user 2024-04-16 19:10:46 +02:00
Frank
d42148d994 Info page optimizations
* reduce from 3 lines to two lines
* don't add to info when usermod is disabled in UM settings
* show current playlist id
2024-04-16 17:57:31 +02:00
Frank
acfbe890b3 suspend playlist engine while auto-change is active
* adding suspendPlaylist() to playlist engine code
* autoplaylist usermod calls suspendPlaylist() before switching to another preset
* fix a potential overflow on `lfc` (uint8_t -> uint16_t)
2024-04-16 13:25:21 +02:00
Troy
11315a81b5 unsigned wraparound prevention 2024-04-14 15:32:13 -04:00
Troy
dfab0ca402 Accepting more Softhack007 suggestings 2024-04-14 15:21:07 -04:00
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