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
ewowi
8ef82ebdd7
Merge branch 'segment-api' into origin/mapping12soundsim
2022-07-26 11:08:26 +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