Commit Graph

1006 Commits

Author SHA1 Message Date
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
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
Will Tatam
23e801a23a Disable palette and controls 2023-05-23 23:03:45 +01:00
Will Tatam
841640fa8a Add CC BY-NC 3.0 to info page 2023-05-23 20:11:36 +01:00
Will Tatam
9900fa7cb4 Try and use SEGMENT.leds for Big_Caleido (Direct leds) 2023-05-23 19:35:30 +01:00
Will Tatam
250202ebdc Try and use SEGMENT.leds for Big_Caleido (Direct leds) 2023-05-23 19:31:19 +01:00
Troy
0ff5918e9c Merge branch 'MoonModules:mdev' into ES8388-Lyra-T-Fixes-Test 2023-05-23 12:34:01 -04:00
Will Tatam
056036d66b First draft of working output of animatrix effects 2023-05-23 17:23:35 +01:00
Will Tatam
3682501eec Disable original for now 2023-05-23 15:41:13 +01:00