Blaz Kristan
67a51be9ee
Merge branch 'audioreactive-prototype' into merge-audio
2022-08-17 20:14:11 +02:00
Blaz Kristan
2149bbb8ea
Remove CS from global interface pins.
...
Fixes.
2022-08-17 19:44:32 +02:00
Frank
991fad02d7
fixed look of some 1D effects
...
- fade_out() appears to finally do something meaning. Old fade_out values were too high. Adjusted so effects in 1D look similar "classic" SR WLED
- frequency reactive effects: max FFT frequency of 5120 Hz is hard-coded in most effects. Updated ranges to 10240 Hz
2022-08-17 13:17:00 +02:00
Blaž Kristan
7497e43fb9
Merge branch 'master' into dev
2022-08-17 07:20:18 +02:00
Blaz Kristan
90b567c721
Merge branch 'lpd6803' into segment-api
2022-08-16 20:48:51 +02:00
Blaz Kristan
515827c745
Merge branch 'master' of https://github.com/Sousanator/WLED into Sousanator-master
2022-08-16 20:35:17 +02:00
Blaž Kristan
c7d3ee0612
Fix "washed out" noise FX.
2022-08-16 10:08:19 +02:00
Blaž Kristan
4be3cb4b0d
Merge branch 'TM1829' of https://github.com/h3ndrik/WLED into lpd6803
2022-08-16 08:42:47 +02:00
Blaž Kristan
db759bef46
Merge branch 'master' of https://github.com/Sousanator/WLED into lpd6803
2022-08-16 08:14:56 +02:00
Blaž Kristan
3d47a8e9c0
Merge branch 'master' into dev
2022-08-16 07:52:33 +02:00
Frank
91fe80334b
Merge remote-tracking branch 'origin/segment-api' into audioreactive-prototype
2022-08-15 21:33:30 +02:00
Blaz Kristan
7125d19af1
Bugfix for saving usermod settings.
...
Modification of global interface pin allocation.
Code relocation in 4LD.
2022-08-15 20:23:47 +02:00
cschwinne
420f858d9b
Release of WLED v0.13.2
2022-08-15 02:08:48 +02:00
Blaz Kristan
e6f74751d4
Missing presets bugfix.
2022-08-14 22:16:42 +02:00
Frank
72770e5809
Merge remote-tracking branch 'origin/segment-api' into audioreactive-prototype
2022-08-14 14:19:57 +02:00
Frank
968721a515
some audio processing improvements and bugfixes from SR WLED
...
- smoothing FFTResult (don't have a matrix to test)
- UDP sound sync improvements
- some bugfixes from SR WLED
- button.cpp: avoid starvation: strip.isUpdating() can be true for a long time.
work in progress - still needs testing!!
2022-08-14 13:58:07 +02:00
Blaz Kristan
1de009a80d
I2C & SPI fixes. Global interface.
2022-08-14 13:05:59 +02:00
Blaz Kristan
74b6a78a9b
Effect fixes.
2022-08-13 00:58:27 +02:00
Blaz Kristan
32fc6d4b7f
Binary effect parameters.
2022-08-12 17:58:20 +02:00
Blaž Kristan
52e5f467b0
Added two more fonts to Scrolling text.
2022-08-11 11:46:30 +02:00
Blaž Kristan
4e0cf380be
Fix for 0 duration/reset runtime.
2022-08-11 11:23:39 +02:00
Blaz Kristan
ebe9499e97
Deallocate interface pins.
2022-08-10 21:23:00 +02:00
Blaz Kristan
1cb3ab82c2
Reduction of flicering on web access (info)
2022-08-10 20:53:11 +02:00
Blaz Kristan
e0a954caa2
4LD refresh task.
...
Scrolling text improvement.
LED settings bugfix.
Audioreactive disabled by default.
2022-08-10 20:20:36 +02:00
Blaž Kristan
d8b7cfb36b
Display task (background refresh) in 4LD
2022-08-10 14:00:04 +02:00
Blaž Kristan
b2837563c4
Merge branch 'segment-api' into global-interface
2022-08-10 09:32:43 +02:00
Blaz Kristan
957948f906
Code optimisations in effects.
...
Remove Wire initialisation from RTC.
Peek fix.
2022-08-09 21:14:37 +02:00
cschwinne
7befafe7b7
Enable numbers and symbols in text FX
...
Shorten `Reserved` to `RSVD`
2022-08-09 18:09:43 +02:00
cschwinne
436ce63e30
FX list duplicate cleanup
...
Minor optimizations
2022-08-09 15:20:00 +02:00
Blaz Kristan
0268beb9c2
Merge branch 'segment-api' into global-interface
2022-08-08 20:22:11 +02:00
Blaz Kristan
6a42e477aa
Empty name Scrolling tex bugfix.
2022-08-08 19:56:09 +02:00
Blaz Kristan
22bc3dac2d
Tetrix with fade-out.
2022-08-08 17:52:20 +02:00
Blaz Kristan
4db4329ce3
Proper fix for {"on":"t","bri":100}
2022-08-08 15:56:15 +02:00
Blaž Kristan
9e828eccf6
Fix for {on:"t",bri:100}
2022-08-08 13:36:13 +02:00
Blaž Kristan
acb17dc575
Fix addEffect()
2022-08-08 10:21:11 +02:00
Blaz Kristan
998f2f9421
Global I2C & SPI pin allocation.
2022-08-07 16:43:29 +02:00
Blaz Kristan
a8785570df
Memory allocation fixes.
...
Whitespace.
Cleanup.
2022-08-06 12:39:12 +02:00
Ewowi
aa36e04250
Deoptimize lv2D a bit to keep resize working ;-)
2022-08-06 11:53:01 +02:00
Ewowi
821b7ed9af
Optimize liveviewsws2D
2022-08-06 11:37:48 +02:00
Blaz Kristan
9270f80af2
Merge branch 'integration' into merge-audio
2022-08-05 23:03:38 +02:00
Blaz Kristan
eb8710df81
Merge branch 'audioreactive-prototype' into segment-api
2022-08-05 16:29:32 +02:00
Blaz Kristan
095099a085
Rename WLED_NO_AUDIO
2022-08-05 15:54:48 +02:00
cschwinne
ad424cac18
Preset and config backups include server description
2022-08-05 12:09:13 +02:00
Blaz Kristan
4e11806d00
Code optimisations.
2022-08-04 16:15:49 +02:00
Blaz Kristan
f45082b764
Crash fix for ESP8266 if mode contains !
2022-08-03 22:27:45 +02:00
Blaz Kristan
cdca715afc
Effect change at end of transition.
...
Compile bugfix.
2022-08-03 22:09:27 +02:00
Blaz Kristan
d0a08a55d1
Memory management!
2022-08-03 21:36:47 +02:00
Blaž Kristan
c5f3e76b21
Compile optimisations, code reduction.
...
2D peek resize.
2022-08-03 14:23:24 +02:00
Blaz Kristan
f58ff68f3c
Center liveview2D, code size reduction.
2022-08-02 22:50:01 +02:00
ewowi
a098aa0a89
leds array from CRGB to uint32_t
2022-08-02 22:06:13 +02:00
ewowi
7b3fc206f7
Merge leftovers
2022-08-02 21:52:10 +02:00
Blaz Kristan
8f5d2a7f00
Merge branch 'mapping12soundsim' into segment-api
2022-08-02 21:47:24 +02:00
ewowi
44c585e8c8
Merge branch 'ledsArrayToSGPC' into integration
2022-08-02 21:12:59 +02:00
ewowi
640f45f57d
Remove leds array from utility functions + small things
...
- Remove CRGB* leds from utility functions
- GameOfLife: fill_solid for prevLeds to for loop
- Remove if !fftResult
- Funky Plank: toggle src and dst
- Comment drawLine as not used
- Duplicate FadeToBlack, call one FadeToBlackOld
2022-08-02 19:44:27 +02:00
Blaz Kristan
0ba8bace0d
2D optimisations.
2022-08-02 18:27:32 +02:00
ewowi
4202fb8cdc
Small things
...
- Remove leds[] in comments
- freqmatrix default mapping to circle
- t_bri compile error
2022-08-02 18:05:55 +02:00
ewowi
5f8b8835e1
Leds removal leftovers
...
- Remove leds from 1D SEGMENT.data effects
- Noisefire: re-establish own palette
- FreqMatrix to circle mapping
2022-08-02 12:58:35 +02:00
ewowi
78edcfe5cf
Merge branch 'ledsArrayToSGPC' into integration
2022-08-02 12:21:46 +02:00
ewowi
2ca5e0c8b8
Remove leds from FX.cpp
...
- add addPixelColor overloads
- remove setPixels function
- sPC/gPC move leds check to beginning
- refactor wu_pixel work without leds
- remove leds out of effects and replace by sPC/gPC/aPC/nullptr
- workaround %=
- refactor game of life (but need to check patterns / history, see SR)
- refactor fill_circle to work without leds
2022-08-02 12:19:04 +02:00
Blaz Kristan
7ca1d99412
Multiple additions:
...
- transparent leds[] for getPixelColor()
- sample 2D Black Hole for trnasparent leds[]
- conditional audio compile (WLED_NO_AUDIO)
Bugfix:
- effect filtering
2022-08-01 22:01:24 +02:00
Blaz Kristan
118bcbd6a6
Effect filter patterns.
2022-08-01 17:32:40 +02:00
ewowi
987b442796
Merge branch 'ledsArrayToSGPC' into integrationMergeOnly
2022-08-01 16:25:51 +02:00
ewowi
8ea77ccd04
Merge branch 'segment-api' into integrationMergeOnly
2022-08-01 16:17:16 +02:00
ewowi
004c2920f5
All effects use strip.leds, refactor XY
...
- remove leds out of SEGMENT.data (remove if no other use of data)
- use strip.leds
- refactor XY to make segment relative to the whole matrix
- use RGBW32
- in case of 1D also use XY in leds[]: XY(i%width, i/width)]
- add ps_malloc
2022-08-01 16:11:59 +02:00
Blaz Kristan
f02616acd1
Some fixes.
2022-07-31 19:52:07 +02:00
ewowi
69f9a484ca
strip.leds array fully fastLed and segment compatible
...
- leds array from uint32_t to CRGB for fastled compatibility
- reading and writing leds from strip to segment sPC/gPC so it has logical instead of physical indexes so it can be used in effects
- change mode_2DBlackHole as showcase how it can both work with leds or with sPC/gPC
2022-07-31 14:48:00 +02:00
Blaz Kristan
dde5367560
Default palette gamma fix.
...
Reverted to leds[] in SR effects.
Code optimisations.
2022-07-31 13:28:12 +02:00
ewowi
66da57f375
POC to use leds array in strip.set/getPixelColor
2022-07-31 12:38:10 +02:00
Blaz Kristan
d328db543e
Bugfixes.
...
- gamma on *Color palettes
- gamma moved out of WS2812FX
- palette fade (JSON) fix
2022-07-30 23:58:29 +02:00
ewowi
c2c46f2843
Merge remote-tracking branch 'origin/segment-api' into LatestAndGreatest
2022-07-30 21:28:38 +02:00
Blaz Kristan
96da48ae82
1D mapping bugfix.
2022-07-30 15:03:06 +02:00
Blaz Kristan
eb9eda1f6d
Transition struct (reduced RAM footprint).
2022-07-30 14:50:11 +02:00
Blaz Kristan
f16558c126
Optimisations.
2022-07-30 14:20:36 +02:00
Blaz Kristan
1abf0fc134
Deprecate EEPROM support (compile time option).
2022-07-30 11:04:04 +02:00
Blaz Kristan
b0ba1b2ecc
Bugfix.
...
- defult transitions
- conditional 2D compile
2022-07-30 10:49:54 +02:00
ewowi
a70717f2f7
ssim2=ssim1 and ssim1=ssim0 (because off=0 is removed)
2022-07-29 23:30:23 +02:00
Blaz Kristan
5dec73f27c
Merge branch 'mapping12soundsim' into live-merge
2022-07-29 22:59:00 +02:00
Blaz Kristan
92ac87fa3f
Correction for conflict resolution.
2022-07-29 22:38:08 +02:00
Blaz Kristan
267239e3f2
Merge branch 'segment-api' into audioreactive-prototype
2022-07-29 22:29:15 +02:00
Blaz Kristan
52b863fe36
Memory allocation bugfix.
2022-07-29 20:24:29 +02:00
Blaz Kristan
79337a4568
Bugfix for palette transitions.
2022-07-29 16:26:15 +02:00
ewowi
84750e2605
Refactor um_data: remove fftBin
2022-07-29 15:50:09 +02:00
ewowi
dfa1a3ad90
Refactor um_data: remove inputLevel
2022-07-29 15:43:27 +02:00
ewowi
c1f9445e9d
Refactor um_data variables for audio reactive
...
- change sample to sampleRaw
- add volumeSmth, volumeRaw, my_magnitude and calculate in agcAvg
- remove sampleAvg, soundAgc, sampleAgc, sampleRaw, rawSampleAgc, FFT_Magnitude, multAgc, sampleReal, sampleGain, (myVals), soundSquelch from um_data interface
- refactor all effects using above variables
2022-07-29 15:24:04 +02:00
Blaž Kristan
191db46c4f
Code optimisation & cleanup.
...
Minor fixes.
2022-07-29 12:15:56 +02:00
ewowi
bc67bf6826
Replace myVals from audio_reactive.h to SEGMENT.data
...
(position in um_data reserved as free, could be cleaned up later)
2022-07-29 10:04:10 +02:00
Blaz Kristan
df534d30bf
Custom palettes.
2022-07-28 23:19:58 +02:00
ewowi
ce99dbe40c
liveview2D: only if isMatrix
2022-07-28 16:35:57 +02:00
ewowi
affcca8034
Improve liveview2D: add width and height > 256 leds
2022-07-28 16:13:31 +02:00
Blaz Kristan
a6f31a577a
Merge branch 'segment-api' into audioreactive-prototype
2022-07-27 21:35:29 +02:00
Blaz Kristan
9b814f4ed8
Shadows and hides.
2022-07-27 21:12:27 +02:00
Blaz Kristan
3091440162
Reposition Scanner Dual FX.
2022-07-27 17:04:09 +02:00
Blaz Kristan
3b2573afed
More filtering options.
...
Palette loading bugfix.
2022-07-27 17:00:55 +02:00
Blaz Kristan
1b64747c2b
Quick effect filter.
2022-07-27 00:11:24 +02:00
ewowi
863212915c
Revert "Merge branch 'segment-api' into origin/mapping12soundsim"
...
This reverts commit 8ef82ebdd7
.
2022-07-26 11:23:51 +02:00
Blaz Kristan
78aad924c5
Bugfixes.
...
- moved simulateSound() to util
- effect fixes (name changes)
- mapping fixes
- default values fixes
- UI fixes
2022-07-25 21:31:50 +02:00
Blaž Kristan
24fda89665
Defaults cleanup.
2022-07-25 14:36:54 +02:00
Blaž Kristan
59cb9ba344
Revert 2D peek
2022-07-25 11:47:19 +02:00
ewowi
d511eb19ef
Update with latest html_ui.h
2022-07-24 17:20:38 +02:00
ewowi
d3e9f51d6b
Merge remote-tracking branch 'origin/segment-api' into segment-api
2022-07-24 17:13:13 +02:00
ewowi
e3499e5a70
Add 2D liveview (Peek 2D) - Beta version
2022-07-24 17:10:29 +02:00
Blaz Kristan
026425407e
Adde more default options.
...
UI bugfix.
2022-07-24 16:21:29 +02:00
Blaz Kristan
18884111a6
Scrolling text center & letter M
2022-07-23 22:56:33 +02:00
Blaz Kristan
3e5b152718
Fix for palette defaults.
2022-07-23 22:38:35 +02:00
Blaz Kristan
8e9637f6d4
Default effect values.
2022-07-23 22:00:19 +02:00
Blaz Kristan
d11ad39048
Starburst fix.
2022-07-22 15:27:48 +02:00
Blaz Kristan
cb44d45eeb
Merge branch 'dev' into segment-api
2022-07-22 14:41:39 +02:00
Blaz Kristan
c15ffca48c
Merge branch 'master' into master-merge
2022-07-22 14:34:02 +02:00
Blaž Kristan
902c11d074
Merge pull request #2657 from poelzi/watchdog
...
Enable ESP watchdog by default
2022-07-22 09:26:46 +02:00
Blaž Kristan
35250677b9
Prevent I2S use for LEDs w/ Audioreactive on ESP32
2022-07-22 08:59:04 +02:00
Blaz Kristan
1f3a1a0a95
Stuck effect fix.
2022-07-21 20:18:48 +02:00
albarlow
c96f83b076
Registered Usermod and Pins
...
Implemented PinManager and rerun setup of usermod after updating pins/
Registered in const.h and pin_manager.h I tried to follow the existing formatting/numbering in these files.
Wrapped any strings I could in F()
2022-07-21 09:48:37 +01:00
Blaž Kristan
2fe4edb6df
Segment clear bugfix.
...
getPixelColor fix.
2022-07-21 07:24:03 +02:00
Blaz Kristan
1e4f8be74b
Merge branch 'mapping12soundsim' into segment-api
2022-07-20 21:22:23 +02:00
Blaz Kristan
b6e53b1a0c
Minor bugfix and for loop optimization.
2022-07-19 22:14:46 +02:00
Blaz Kristan
a46894f395
Bugfixes.
2022-07-19 16:16:43 +02:00
ewowi
c7ceeb1833
Tuning leftovers
2022-07-17 17:38:20 +02:00
ewowi
12f6ed621e
Tuning of soundsim and mapping12
2022-07-17 17:17:51 +02:00
Blaz Kristan
d7daada42e
Merge branch 'master' into dev
2022-07-17 16:18:44 +02:00
Blaz Kristan
6c6849d8d7
Vectors & dynamic loadJS.
...
- Segments
- Modes
NOTE: crashes ESP if effect is running while deleting segment.
2022-07-17 15:58:41 +02:00
ewowi
e82336f355
Small bugfixes
2022-07-14 17:22:37 +02:00
Blaž Kristan
1151b615a0
Fix for SEGLEN
2022-07-14 13:47:30 +02:00
Blaž Kristan
0cf891b9d9
Optimisations
2022-07-14 13:22:34 +02:00
ewowi
aeb8fd6fda
make getPixelColor matrix (mapping) aware
...
And change some mapping defaults of effects useing getPixelColor
2022-07-13 15:40:40 +02:00
ewowi
615f807909
Regenerate html_ui.h
2022-07-13 12:45:23 +02:00
ewowi
985255afed
Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim
2022-07-13 12:44:43 +02:00
ewowi
9bec394d7f
Add mapping12 and soundsim defaults to effects and apply in segment ui
...
index.js: rename setSliderAndColorControl to setEffectParameters, rename extras to effectPars, add segment variable update code
FX.cpp: add map12 and ssim defaults to data_FX_MODE variables (WIP)
FX_fcn.cpp: add return in setPixelColor for 2D
2022-07-13 12:41:33 +02:00
Blaz Kristan
8f72e0ab83
Reload presets on save.
2022-07-12 21:09:10 +02:00
ewowi
6799a3bd35
Merge remote-tracking branch 'origin/segment-api' into mapping12soundsim
2022-07-12 20:04:44 +02:00
Blaz Kristan
588c7a81fc
Fix for transitions.
2022-07-12 18:10:07 +02:00
ewowi
16aa0e4dba
Resolve compile fail
2022-07-11 11:39:56 +02:00
ewowi
81cb765b7a
Finish merge by adding the mapping12 code to setPixelColor
2022-07-11 11:20:30 +02:00
ewowi
d5523615ef
Merge branch 'refactor-ws2812fx' into mapping12soundsim
2022-07-11 11:05:49 +02:00
Blaz Kristan
d9f2c2b968
Segment API
...
- moved all drawing logic to segment
- moved transitions to segment
Conditional 2D compile.
Rearranged effect IDs.
Implemented dynamic effect arrays.
2022-07-10 22:23:25 +02:00
ewowi
2f6adbd07c
Add Mapping 1D to 2D. Mapping12 and sound simulation effect independent
...
- add to segment: mapping 1D2D and Sound Simulation (WIP!)
- Add sound simulation WeWillRockYou
- All audio effects use segment soundSim
- Redefine SEGLEN: strip.getMappingLength (depending on mapping12)
- make setPixelColor aware of mapping12
2022-07-10 14:30:10 +02:00
Blaz Kristan
f0992d56c1
Added global I2C & SPI HW pin defines
...
Fixed default values fo custom sliders.
Fix for color selector.
Changed fading for 2D GEQ
Audioreactive fix send/receive option
2022-07-07 23:07:20 +02:00
ewowi
5a772f5410
add simulateSound to sound effects (wip)
2022-07-07 12:48:41 +02:00
Blaz Kristan
698a32f364
Cleanup effects.
2022-07-06 20:41:12 +02:00
Blaz Kristan
bdea2acf67
Correctly position #defines
2022-07-06 19:49:55 +02:00
Blaz Kristan
9519c8edbd
Fix disbling AudioReactive usermod
...
Reduce IRAM pressure for ESP8266
2022-07-06 19:42:48 +02:00
Blaz Kristan
64fd207533
Refactoring WS2812FX class.
...
- effect functions no longer part of class
- methods to access private members
- separate Segment, Segment_runtime, ColorTransition from WS2812FX
2022-07-06 13:13:54 +02:00
Blaz Kristan
348c4b4431
Fix for 2D peek.
2022-07-04 14:13:17 +02:00
Blaz Kristan
febd7cbca8
Enable Peek for 2D.
2022-07-04 11:12:55 +02:00
Blaz Kristan
e2b7b228c5
Compile fix.
...
Use virtualLength() in getPixelColor()
2022-07-04 10:30:49 +02:00
Blaz Kristan
8b58d96aea
Float variables instead of double.
2022-07-03 23:00:32 +02:00
Blaz Kristan
0a2e01a616
Multiple changes:
...
- change arduinoFFT to float (custom)
- update audioreactive to use float
- update effects to use float
- info slider (usermod)
- hide Peek in 2D
- minor bugfixes
2022-07-03 22:55:37 +02:00
Blaz Kristan
a8908238d5
Prevent race condition when saving bus config.
...
(loop() is executed on different core than handleSet())
2022-07-02 14:28:09 +02:00
Blaz Kristan
569138ac80
Bugfix saving LED config (race condition)
2022-07-01 14:10:32 +02:00
Blaz Kristan
cf3faa1170
Merge branch 'audioreactive-prototype' into 2D-support
2022-06-29 16:30:50 +02:00
Blaz Kristan
d2705f033d
Enhance API
...
- addPixelColorXY()
- fadeToBlackBy()
2022-06-28 23:32:29 +02:00