Commit Graph

95 Commits

Author SHA1 Message Date
Damian Schneider
b2578703b2 minor bugfixes as suggested by the rabbit
- PulLightControl UM: dont release a lock you do not own
- off-by-one error in extractModeSlider (used only in rotary in UM)
- safety check in playlist in case something goes horribly wrong
2025-12-29 14:16:52 +01:00
Frank
bc7cf062e8 effect math sppedup - up to 3x faster
-> distortion waves 3x speedup
-> hiphotic 2x speedup
-> waving cell 1.5x speedup

* replace sin8_t by lookup-table with pre-computed values
* moved integer sin and cos to fcn_declare.h (inlined by the compiler)
* moved gamma32 to fcn_declare.h (inlined by the compiler)
* a few other small tweaks
2025-12-17 21:59:22 +01:00
Frank
cdd1141867 post-merge fixes
* fx.cpp: replace FastLED inoise() with optimized perlin() functions
* minor updates for util.cpp and fcn_declare.h
2025-12-16 00:28:10 +01:00
Damian Schneider
fe574aef91 Merge pull request #4594 from DedeHai/perlin_noise
Adding perlin noise replacement for fastled functions
2025-12-15 23:52:22 +01:00
Will Tatam
00e026ce08 Merge pull request #5126 from wled/copilot/backport-version-reporting-0-15-x
Backport version reporting (PR #5093 and #5111) to 0.15.x
2025-11-29 19:17:29 +01:00
Frank
6ae4507531 avoid #define in generateDeviceFingerprint() 2025-11-29 00:47:45 +01:00
Frank
b9ba15a61f older framework support - chip_info.full_revision
this field was added to chip_info in esp-idf 4.4.4 => use "revision" for older frameworks  versions
2025-11-27 20:57:53 +01:00
Will Tatam
0ac6ca4285 Merge pull request #5111 from DedeHai/safe_UID_generation
Safe uid generation
2025-11-27 20:41:14 +01:00
Will Tatam
2c0510b5b9 Merge pull request #284 from netmindz/deviceId-MM
Add deviceId
2025-11-22 12:31:16 +00:00
Will Tatam
d047ee0984 Add deviceId 2025-11-21 08:39:50 +00:00
Frank
12b3bedba7 cleanup - removed old code in comments 2025-10-25 16:55:52 +02:00
Frank
f78edc43dc bugfix for #272 (only affects rotary usermod)
Refactor name copying logic to avoid use-after-free issue.
2025-10-25 16:52:42 +02:00
Damian Schneider
66e2e4d900 Adding Particle System (port from AC)
- port from AC
- also adding hardware random functions
2025-04-18 17:04:14 +02:00
Damian Schneider
e914417c74 Merge pull request #4181 from DedeHai/0_15_trig_math
Added integer based `sin()/cos()` functions, changed all trig functions to wled_math
2024-11-29 00:23:43 +01:00
Frank
982a4bb155 Merge pull request #139 from MoonModules/upstream_patch_clusterf
AC minor patch cluster
* Anti-Aliased Lines and Circles
* replacing deprecated functions in ws.cpp
* using global brightness in analogue clock overlay
* fix for palette names (custom palettes)
* bugfix for UI: when resizing the window, it always jumped to the Colors tab
* UI: add webpage shortcuts for tabs
2024-07-13 01:13:53 +02:00
Frank
29013a3f83 auto-replace long functions with short names
adI = addInfo
adD = addDropdown
adO = addOption
adF = addField

before: String buffer usage: 3183 of 4037 bytes
after:    String buffer usage: 2805 of 4037 bytes
2024-07-01 22:54:24 +02:00
thatdonfc
543dfd206d Fix palette names when palette ID > 58 and not custom 2024-06-26 21:21:54 +02:00
Frank
16e8d9dcdc add error msg when oappend buffer is used up 2024-04-30 17:17:02 +02:00
Frank
714d4850af minor cleanup
* startup message from UM autoplaylist
* zeroCrossingCount added to sound simulation
* debug messages cleanup
2024-04-30 12:47:45 +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
Frank
7ae38649ad post merge
MM specific adjustments
2024-02-23 10:24:26 +01:00
Blaz Kristan
c9611bde73 JSON buffer lock error messages
Reduce wait time for lock to 100ms
2024-02-23 09:49:26 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
9f71f47e6f oappend robustness improvement
obuf is reset to nullptr in some cases
2023-12-14 22:15:30 +01:00
Frank
ced03f1f08 code spell checking - part1 (core)
I've found a code spellchecker, so this is what can be corrected easily. Changes are only affecting comments, readme and a few user-visible strings. So no functional impact expected.
2023-12-14 22:05:55 +01:00
Frank
0fcbefb7a5 fixing a few implicit promotions to double
any expression with at least on "double" is evaluated as double, which is slow.
2023-09-17 19:11:31 +02: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
64139efc13 clean up ledmap names when directly reading from file 2023-06-09 17:03:04 +02:00
Ewoud
b95ff2d74f Merge remote-tracking branch 'upstream/main' into mdev 2023-06-07 20:54:04 +02:00
Aircoookie
ee7036f13d CSS tweaks
Fix repeat segment button remaining hidden
Fix third segment row (offset) alignment in 1D mode
Keep disabled sound simulation modes as comment for reference
New local var for 2D seg UI, improves code legibility
2023-05-29 21:06:10 +02:00
Will Tatam
cc25a21bcb Merge branch 'mdev' into audio-palette-updates 2023-04-14 18:28:43 +01:00
Frank
04fa3995da soundsim bugfix
FFT_MajorPeak simulated value was too small.
2023-04-11 23:00:06 +02:00
Frank
197e120e3b estimated audio sound pressure 2023-04-06 18:58:20 +02:00
Blaz Kristan
dfa0a16487 Reduce sound sim options to increase 2D mapping. 2023-04-04 17:16:50 +02:00
Frank
d74f41d680 oappendi: fix stack corruption due to large numbers (ESP32 only) 2023-03-27 13:19:35 +02:00
Ewoud
4a5cbc9879 Merge remote-tracking branch 'upstream/main' into mdev
Some additions:

pio.ini: add debug entries
cfg.cpp, set.cpp, xml/cpp: keep storing basic 2D setup

index.js: use ledmapFileNames

settings_2D.htm: keep using basic and advanced

FX_2Dfcn.cpp: use gaptable and also MM ledmaps

FX_fcn.cpp: extend enumerateledmaps with AC ledmapNames (but not used in UI)
2023-02-22 16:09:27 +01:00
Blaz Kristan
92d2be3f5e Add ledmap names
Bugfix
- reset segments upon 2D ledmap allocation error
- fix invlid 2D segments
2023-02-14 17:11:58 +01:00
Ewoud
6c52a3d940 Segment name for ledmap names
index.js:
- add ledmapFileNames array and fill with lm.segmentname.json names
- use name in dropdowns and in loadmap

fcn_declare and util.cpp: move enumerateLedmaps to FX.h and FX_fcn.cpp
FX_fcn.cpp: deserializemap: use segment name lednames
2023-02-12 11:28:38 +01:00
netmindz
3953b7a2a5 Audio palette always start with black - fixes use of palette with Fire effect (#14) 2023-01-26 13:00:10 +01:00
Will Tatam
89040a3a24 Add new Audio Responsive Ramp palette 2023-01-20 20:16:22 +00:00
Will Tatam
f1fe6296e7 Fix audio responsive hue 2023-01-20 19:58:40 +00:00
Will Tatam
78bc566b06 Audio palette always start with black - fixes use of palette with Fire effect 2023-01-20 19:04:55 +00:00
Ewoud
66b15d32d9 Merge remote-tracking branch 'upstream/main' into mdev 2023-01-07 12:01:03 +01:00
Blaž Kristan
506b6b51ce whitespace cleanup 2023-01-06 09:24:29 +01:00
Will Tatam
557532265d Add second audio responsive palette 2022-11-18 12:26:21 +00:00
Will Tatam
359ef875de Add second audio responsive palette 2022-11-18 12:10:20 +00:00
Ewoud
181f8c546b Add audio responsive pallette by Netmindz
const.h: increase GRADIENT_PALETTE_COUNT
fcn_declare: add getCRGBForBand
FX.h: add getAudioPalette
FX_fcn.cpp: call and getAudioPalette, add Audio Responsive palette
palettes.h: add audio_responsive_gp
util.cpp: add getCRGBForBand
2022-11-18 12:09:47 +01:00
Ewoud
eb2bf421b0 Version update and small fix 2022-11-17 11:23:49 +01:00
Ewoud
3b21f02442 Fix Ledmap dropdown in presets
platformio: cosmetic updates
index.js: ledmap: show filename instead of nr
update.htm: remove installed bin prompt
json.cpp: deserializeState: assign loadLedmap from root, serializeState: assign loadLedmap to root / remove from root
presets.cpp: savePreset: assign loadLedmap from sObj
util.cpp: init ledMaps to 0
2022-11-15 11:42:25 +01:00
Frank
72851b5725 small changes to info page
- added "max used PSRAM" info
- moved all mem infos into one part
- only check PSRAM if BOARD_HAS_PSRAM
- oappend: debug message in case that stack buffer is too small.
2022-10-17 15:40:56 +02:00