netmindz
0ccf2b9c2e
Revert "Remove I2C related code from ES8388 and ES7243 as blazoncek proposes …"
2023-08-11 20:59:34 +01:00
Frank
f7cd08c767
small correction
2023-08-07 18:07:24 +02:00
Frank
3503ccd958
Use MM specific I2C related functions for ES8388 and ES7243
...
In contrast to upstream, MM follows a "no pin stealing" approach, so the Wire interfaces are only initialized when needed.
pinManager.joinWire() will take care of the details, and will return false if something went wrong.
2023-08-07 18:06:31 +02:00
netmindz
e19e464e13
Merge pull request #48 from netmindz/ES-I2C-usage
...
Remove I2C related code from ES8388 and ES7243 as blazoncek proposes …
2023-08-07 02:05:22 -07: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
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
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
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
9a3a97eff1
pre-merge
...
cleanup:
- version increase
- clean up debug messages
- minor fixes in platformio.ini
- fix compilation with -D WLED_DISABLE_2D
helping the compiler to optimize:
- a few more __attribute__((pure))
- fx.cpp marked a few local functions as "static"
2023-07-13 19:58:48 +02:00
Frank
5fe12eef5a
Merge branch 'mdev' into audio_fastpath
2023-07-08 19:23:36 +02:00
Ewoud
f477191d51
Changing Z prefix by Y
2023-07-03 20:26:59 +02:00
Will Tatam
1c8c1bb657
Fix speed reduction in usermod_v2_animartrix
2023-06-29 23:31:56 +01:00
Will Tatam
918ed57f1b
Fix speedFactor midpoint
2023-06-29 21:13:27 +01:00
Will Tatam
0bd7acadf3
call init for RGB_Blobs5
2023-06-29 13:19:58 +01:00
Will Tatam
850c9beec5
Add speed slider for animartrix effects
2023-06-29 12:53:55 +01:00
Will Tatam
d41f24fb15
Only add animartrix effects when usermod is enabled
2023-06-29 12:16:45 +01:00
Will Tatam
417bef0026
setSpeedFactor for animartrix
2023-06-29 12:16:17 +01:00
Will Tatam
3eed40331f
setSpeedFactor in animartrix
2023-06-29 12:04:46 +01:00
Ewoud
17147f3b50
Prepare for upstream merge: seperate declarations from definitions
...
In rotary and 4ld
2023-06-27 22:21:20 +02:00
Frank
51a23bd62c
parameter tuning
...
minor tweaks.
2023-06-19 11:16:35 +02:00
Frank
8aef4347a1
re-enable old peak detect algo, plus ripplepeak bugfix
...
* re-enabled old detector which does not detect beats. However something bad may still be better than nothing...
* fixed a typo in RipplePeak and Waterfall effect, which cased wrong configuration of the peak detector.
resolves https://github.com/MoonModules/WLED/issues/43
2023-06-18 22:08:55 +02:00
Frank
e0cb636706
re-enable old peak detect algo, plus ripplepeak bugfix
...
* re-enabled old detector which does not detect beats. However something bad may still be better than nothing...
* fixed a typo in RipplePeak and Waterfall effect, which cased wrong configuration of the peak detector.
resolves https://github.com/MoonModules/WLED/issues/43
2023-06-18 21:55:51 +02:00
Frank
3127c60b41
Merge branch 'mdev' into audio_fastpath
2023-06-15 20:54:57 +02:00
Ewoud
b95ff2d74f
Merge remote-tracking branch 'upstream/main' into mdev
2023-06-07 20:54:04 +02:00
Frank
af6091b493
fixing some memory leaks
...
* audio_reactive.h: catch memory errors from WiFiUDP
* udp: explicitly flush unused receive buffers.
* wled.cpp: additional debug info about "largest available block"
* FX_fcn.cpp: free _globalLeds before running purgeSegments().
2023-06-07 17:10:32 +02:00
TroyHacks
7e1d15c87b
Merge branch 'audio_fastpath' of https://github.com/MoonModules/WLED into audio_fastpath
2023-06-07 10:35:51 -04:00
TroyHacks
06344aeb41
FFT UDP fush if not read.
2023-06-07 10:35:28 -04:00
Frank
f0dd66e736
SoundSync: use local static buffer
...
thanks @netmindz for pointing out.
2023-06-07 14:07:50 +02:00
Frank
74f75b1124
global buffer for UDP sound sync
...
to prevent memory fragmentation.
* use global (static) buffer for receiving
* added missing flush()
2023-06-07 12:27:39 +02:00
Frank
b6f1a591ee
global buffer for UDP sound sync
...
to prevent memory fragmentation.
* use global (static) buffer for receiving
* added missing flush()
2023-06-07 12:16:22 +02:00
lost-hope
e70b9b2496
MCU Temp Usermod
2023-06-03 09:46:08 +02:00
Blaz Kristan
130f495fb6
Bugfix multi relay.
2023-06-01 22:17:41 +02:00
Ewoud
36c34b5db8
Merge branch 'mdev' into audio_fastpath
2023-05-31 21:35:24 +02:00
Ewoud
bd7f1678d0
Hack to show Animartrix effects last in effects list
2023-05-31 21:34:19 +02:00
dvdavide
e3783e0236
Fix for displaying 1bpp bmp files (usermod EleksTube IPS) ( #2988 )
...
* Fix for displaying 1bpp bmp files
* EleksTubeIPS optimizations
* Fixed incorrect paletteSize
* stray tab
---------
Co-authored-by: Aircoookie <21045690+Aircoookie@users.noreply.github.com >
2023-05-31 20:11:30 +02:00
Frank
1daeecc7dd
Merge branch 'mdev' into audio_fastpath
2023-05-30 20:44:10 +02:00
Will Tatam
69365fd815
Correctly label effects as 2D
2023-05-30 15:45:26 +01:00
Will Tatam
b62e9f7278
Remove I2C related code from ES8388 and ES7243 as blazoncek proposes that they are not required if we are always using the system default I2C bus
2023-05-29 18:30:48 +01:00
Will Tatam
990b5663ed
Merge remote-tracking branch 'upstream/mdev' into animartrix-library
2023-05-29 15:09:11 +01:00
Will Tatam
f0f38fbd93
Remove use of SEQMENT.leds and directly call SEGMENT.setPixelColor
2023-05-29 13:41:41 +01:00
Frank
49f2e26ab5
arduinoFFT hash update
...
to fix the gh build, following latest dev.
2023-05-27 00:00:59 +02:00
Frank
8c5e589020
arduinoFFT hash update
...
to fix the gh build, following latest dev.
2023-05-27 00:00:08 +02:00
Will Tatam
ab024b5e17
Remove hardcoded CRGB buffer and use the SEGMENT.leds directly. Should also now mean this code handles multiple segments, but untested
2023-05-26 13:40:17 +01:00
Will Tatam
f92b635126
Remove hardcoded CRGB buffer and use the SEGMENT.leds directly. Should also now mean this code handles multiple segments, but untested
2023-05-26 13:22:27 +01:00
Will Tatam
429428637c
Remove original prototype code
2023-05-26 13:13:18 +01:00
Frank
df26430e42
audioreactive: replace dynamic buffer with static buffer
...
using a dynamic array for newSamples[num_samples] was never needed. It was a risks as the buffer was allcated/deallocated with every call of getSamples().
2023-05-25 21:50:44 +02:00
netmindz
e6fb6c4a50
Merge pull request #39 from troyhacks/ES8388-Lyra-T-Fixes-Test
...
ES8388 LyraT Fixes
2023-05-25 21:49:52 +02:00
Frank
4407f8a71b
audioreactive: replace dynamic buffer with static buffer
...
using a dynamic array for newSamples[num_samples] was never needed. It was a risks as the buffer was allcated/deallocated with every call of getSamples().
2023-05-25 21:45:46 +02:00
Blaz Kristan
b2df7981a9
Add support for PCF8574 I2C port expander
...
- for Multi Relay usermod.
2023-05-24 23:40:23 +02:00