Commit Graph

4667 Commits

Author SHA1 Message Date
Frank
8e678ffa5e allow gamma corrected preview without gamma corrected LEDs 2023-08-05 00:06:58 +02:00
Frank
f010adfe24 experimental: preview with gamma correction
.... actually we undo gamma adjustments, because screens (laptop, pad, etc) will apply their own gamma corrections.

Activate in LED settings: "Use Gamma correction for preview"

Colors in WLED are sometimes gamma corrected, sometimes not. This change tries to make the best out of the color mess, but its still not working properly in all configurations.
2023-08-04 22:03:53 +02:00
Frank
477cb11b36 disable ESP-NOW remotes in ethernet build (may crash)
ESP-NOW requires wifi. It will crash with ethernet connection.
2023-08-01 12:55:04 +02:00
Frank
30d2757db9 version of the day 2023-08-01 12:53:36 +02:00
Frank
c13b32e06a esp-now remote: fix crash with AP = Always
initialize ESPNOW only when Wifi (STA or AP) is running
2023-08-01 12:49:34 +02:00
Frank
05a600ef01 npm run build 2023-07-30 22:10:35 +02:00
Frank
e4338fcaf7 version bump 0.14.0-b26.30 2023-07-30 21:58:47 +02:00
Frank
54d04eca9b Merge branch 'preview_espnow_pr3237' into mdev 2023-07-30 21:50:19 +02:00
Frank
331089a8d9 esp-now remote: reduce number of exported functions
too many global variables and functions ... this makes stuff 'static' that can remain at file scope
2023-07-30 21:42:05 +02:00
Frank
704906472b (part2) lossless getPixelColor() where needed
more places where setUpLeds() is needed now.
2023-07-30 19:28:58 +02:00
Frank
67491d91c9 freqMap effect enhancements 2023-07-29 23:57:47 +02:00
Frank
be6f6412d6 effect parameter tinkering
* freqmap: fade faster
* Lissajous HD mode: color follows rotation
2023-07-29 23:00:27 +02:00
Frank
55b84d07e8 audio core improvements
* DC blocker: use higher quality filtering on boards with FPU (-S3 and classic esp32)
* experimental: build option to increase audio task priority - reduces latency
2023-07-29 17:12:10 +02:00
Frank
ab5cf95be4 always define WLEDMM_PROTECT_SERVICE
moved from MM specific platformio.ini into wled.h
2023-07-29 03:07:08 +02:00
Frank
e215521f50 pio updates: esp32_16MB_S, esp8266_4MB_M
* new [env:esp32_16MB_S], includes animartix !
* add esp8266_4MB_M to nightly builds
2023-07-28 22:24:13 +02:00
Frank
044a87b0b7 pio: all animartix dependencies in one place
* central place for animartix dependencies
* removed animartix from `esp32_4MB_V4_M` (V4 "M" build  - flash size exceeded)
2023-07-28 21:33:45 +02:00
Frank
adb3a12129 small speedup: IRAM_ATTR_YN colorBalanceFromKelvin 2023-07-28 21:04:59 +02:00
Christian Schwinne
f966b17f5a Remove obsolete Visual Studio files 2023-07-28 21:00:24 +02:00
Titanium177
8b25e78a7c Edited Metadata for effect 5 & 8 to be availible on just 1 Pixel (PWM) (#3275) 2023-07-28 20:53:40 +02:00
Frank
d899192794 2D Drift: minor optimization
moving "t/20" out of the main loop gives some speedup.
2023-07-28 20:46:39 +02:00
Frank
9b7f690708 Minor correction (slider names)
"Time delay" is actually "speed" - bigger values make the effect run faster.
2023-07-28 20:46:39 +02:00
Frank
553ac7bd82 remove some over-optimizations (FASTPATH) 2023-07-28 20:37:37 +02:00
Frank
866c17f9e1 pio: add pico "V4" to regular build 2023-07-28 12:25:30 +02:00
Frank
3446044b81 Merge branch 'mdev' into preview_espnow_pr3237 2023-07-28 10:47:24 +02:00
Frank
2393e86f11 build ++
increment build number
2023-07-28 10:41:34 +02:00
Frank
10c416338c avoid spurious "assert" crashes inside wifi core
Builds with the "standard" V3.x platform core showed random assert crashes, so lets ignore espressif and bring back `-D NDEBUG`
2023-07-28 10:39:50 +02:00
Frank
07939ad70f add missing constant for 8266 2023-07-27 18:36:40 +02:00
Frank
adac40d585 post merge
*npm run build
* changed a few debug messages into user messages
* replaced 0 with ESP_OK
2023-07-27 18:31:18 +02:00
Clayton Sims
5e20f94b8e Support for ESP-NOW Wireless Remote Control (#3237)
* Initial checkin for ESP-NOW remote feature

* cleanup irrelevant comment

* don't bring in espnow package includes when feature disabled

* Formatting and removing inaccurate call mode hardcoding

* Fork ESP Now code by platform (8266 v. esp32)

* compiled html update

* Disable ESP-NOW remote by default on ESP32 until tested

* Enable ESP-NOW remote for ESP32

* Rename ESP NOW define

---------

Co-authored-by: cschwinne <dev.aircoookie@gmail.com>
2023-07-27 17:17:41 +02:00
Frank
27d4128e2c lossless getPixelColor() where needed
after upstream PR https://github.com/Aircoookie/WLED/pull/3091, getPixelColor() does not restore brightness any more.

So all effects that rely on previous colors now need the LEDs buffer: getPixelColor, blenPixelColor, fade_out, blur, fadeToBlackBy

This change is an intermediate solution until upstream PR https://github.com/Aircoookie/WLED/pull/3280 is stable enough for merging.
2023-07-27 16:24:42 +02:00
Will Tatam
9d218299c4 Fix palette preview of Audio Responsive Ramp 2023-07-27 13:04:52 +01:00
Frank
39db568ca9 increase STACK_BUF_SIZE after PR#59
* increase buffer by 64 bytes (sting added in AR usermod)
* better diag message when buffer is full
* change "Arduino  max stack" to debug message
2023-07-27 12:45:14 +02:00
Frank
d23ca8beaf PSRAM: slightly reduce static JSON buffer size 2023-07-26 21:59:49 +02:00
Frank
1477798bb6 Merge pull request #59 from MoonModules/sync-label
Add extra label to give better info as to what sync actually is
2023-07-26 15:38:52 +02:00
Frank
6521717e90 consider human hearing for "Major Peak" frequency
The "Major Peak" (for double-notes effects) was computed on the raw FFT results.
However the human ear is more sensitive to higher frequencies (pink noise profile).

This code change considers human ear properties for major peak computations.
Effects like "freqmap" will look much more vivid afterwards, as higher frequencies will now have a stronger influence (harmonics are still suppressed properly).
2023-07-26 13:30:44 +02:00
Frank
03de8ac0ad ripple effects: bugfix for 1D
ripple effects were showing random crashes in 1D mode.
Root cause: negative and out-of-range index passed to getPixelColor(i, col).
2023-07-26 13:03:58 +02:00
Frank
90c4868c28 npm run build
yo-man
2023-07-26 12:47:01 +02:00
Frank
aff0e59ff0 cleanup and clarifications 2023-07-26 12:42:00 +02:00
Frank
c728a511ce MM specific source code is under GPLv3
MM specific source code is subject to GPLv3. The GPL license is more open (copyleft) than MIT, so "upgrading" our MM specific enhancements satisfies the more relaxed licensing terms from upstream.
2023-07-26 12:31:24 +02:00
Frank
46a5bafa0b preserve Aircoookie LICENSE 2023-07-26 12:13:11 +02:00
Frank
a97cc1ddcd Update readme.md
Correct some links and references
2023-07-25 22:01:13 +02:00
Will Tatam
9968b1f9d1 Add extra label to give better info as to what sync actually is 2023-07-25 16:53:36 +01:00
Frank
512c6689f2 typos 2023-07-23 23:50:44 +02:00
Frank
5837df8ef4 platformio: speed version for ESP32-S3, minor updates
* added [env:esp32S3_8MB_S] with optimization for speed
* minor cleanups for MM environments
2023-07-23 23:45:57 +02:00
Frank
e64aff28e7 (experimental) compiler optimization for speed instead of size
only for [env:esp32_4MB_S] and [env:esp32_16MB_V4_S]
2023-07-21 22:46:20 +02:00
Frank
b4faffb731 platformio.ini : new MM config for -S3 with PSRAM (8MB or 16MB)
- you need to install the bootloader from platformio build folder
- only for "opi" (octal) PSRAM; will not work with "qspi" (quad) PSRAM (2MB or 4MB)

-small cleanups for -S3/-S2/-C3 environments
2023-07-21 18:36:53 +02:00
Frank
4984c578cc minor speedups
* added IRAM_ATTR_YN to some frequently used color functions
* small optimization for fade_out: pixel already has "target color"
2023-07-21 15:59:32 +02:00
Frank
5707d85ed5 coredump partition update
arduino-esp32 v2.0.6 finally supports coredumps in flash.
2023-07-21 14:46:05 +02:00
Frank
7a38f319dc npm run build
... needed to add correct version info into the the UI files.
2023-07-15 21:41:02 +02:00
Ewoud
54b321fb75 Release 0.14.0-b25.29 2023-07-15 14:14:09 +02:00