Frank
36bd7147cc
small change: fix for potential array bounds violation
2022-10-18 13:40:46 +02:00
Frank
a6dd9c737f
small change: 4LD bugfix
...
Initially i2c_sda and i2c_scl are set to "-1" in wled.h. This can cause a bootloop when trying to initialize I2C with pins (-1, -1).
This fix ensures that usermod initialization will fail when SDA=-1 or SCL=-1.
2022-10-18 12:06:54 +02:00
Frank
8847d47bee
cherry-picking from audioreactive development
...
A few goodies from my development branch, before I continue refactoring so much that I can't extracts nothing anymore.
- GEQ fades a bit slower
- updates to mic profiles
- simple peak detection without FFT (low freqs only)
2022-10-17 18:40:15 +02:00
Ewowi
ad7769c0ab
Merge branch 'custom-effects' into mdev
2022-10-16 14:43:04 +02:00
Ewowi
8447f7399f
Add FX_MODE_CUSTOMEFFECT = 187 (fixed!!)
2022-10-16 14:40:24 +02:00
Ewowi
1ebff2e546
Merge remote-tracking branch 'origin/dev' into custom-effects
2022-10-16 14:38:20 +02:00
Ewowi
3377b7644e
Merge branch 'expand-1DEffects' into mdev
2022-10-16 11:04:23 +02:00
Ewowi
1d55108690
Merge remote-tracking branch 'origin/weather-usermod' into mdev
2022-10-16 11:02:29 +02:00
Frank
eb4aacdf8a
fix string overflow
...
this fixes a string overflow. The "null" character did not fir into tempString, leading array-write-out-of-bounds.
2022-10-13 20:23:06 +02:00
Ewowi
bd6ef0464f
Merge remote-tracking branch 'origin/dev' into mdev
2022-10-10 16:35:25 +02:00
Blaz Kristan
d00a708177
Minor string optimisations.
2022-10-09 12:09:46 +02:00
Frank
53f1270988
Merge remote-tracking branch 'origin/audio-reactive' into mdev
2022-10-07 17:53:48 +02:00
Frank
19fd5f61db
update for ICS-43434 big speaker
2022-10-07 17:44:24 +02:00
Frank
fc9d7f54d8
Merge remote-tracking branch 'origin/audio-reactive' into mdev
2022-10-06 18:26:06 +02:00
Frank
f5b74a2b79
Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive
2022-10-06 18:22:58 +02:00
Frank
64441b39ac
critical bugfix
...
it's possible that volume samples become negative. In this scenario, our simple noise gate does stupid things, and it looks like "effects temporarily lost the sound".
This fix improves the situation, and makes sure that volume samples are always >= 0.
2022-10-06 15:39:28 +02:00
Blaž Kristan
6a3ef2a2e4
Merge pull request #2809 from ingDIY/0_14
...
defines improvement
2022-10-06 12:15:30 +02:00
srg74
5038e4396e
Update usermod_PWM_fan.h
...
Changed values for proper work.
2022-10-05 15:30:09 -04:00
Frank
c497c6345d
Merge remote-tracking branch 'origin/audio-reactive' into mdev
2022-10-05 17:58:48 +02:00
Frank
5ed0bb8c2b
Microphone calibration profiles
2022-10-05 17:55:54 +02:00
Frank
698a6c8f89
Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive
2022-10-04 16:20:40 +02:00
Frank
1ae0dd574d
fix for ADC analog
...
the "wait until I2S buffer fills" trick does not work for ADC sources, as the I2S sampling does not run in background for ADC.
2022-10-04 16:00:36 +02:00
Frank
c00910e100
Merge remote-tracking branch 'origin/audioreactive-prototype' into audio-reactive
2022-10-04 14:00:53 +02:00
Frank
78e0c3dcca
make MIC_LOGGER work again
...
- EVERY_N_MILLIS somehow does not work. Replaced it,
- make sure that WLED_DEBUG does not report "fake FFT times" whrn FFT code was not running
2022-10-04 13:47:07 +02:00
ingDIY
bdb1e839ed
Update readme.md
...
added description about the configuration of setting:
-D USERMOD_ROTARY_ENCODER_GPIO
2022-10-03 19:22:52 +02:00
ingDIY
503835d47e
submitting PR
...
Here they are the PR #2776 , #2803 and #2804 rebased for 0_14 branch,
I hope that now they are OK!
2022-10-02 23:23:24 +02:00
Ewowi
6aa189fb65
Merge remote-tracking branch 'origin/dev' into mdev
2022-10-01 12:05:49 +02:00
Frank
82b1e5c09d
GEQ: more dynamics
...
work in progress.
This brings some more dynamics into GEQ, without causing flickering.
-> Try with Dynamcs Fall = 300ms.
2022-09-30 22:57:21 +02:00
Frank
d0278ddc83
tiny change
...
komma
2022-09-30 21:59:58 +02:00
Frank
a861059553
Merge remote-tracking branch 'origin/dev' into audio-reactive
2022-09-30 21:58:14 +02:00
Blaž Kristan
f385af595a
Add setMode() and setPalette() methods
...
- automatically start transition
Implement load FX defaults for HTTP API (FXD)
2022-09-29 12:49:12 +02:00
Ewowi
fea487c950
Merge branch 'games-usermod' into mdev
2022-09-27 15:31:11 +02:00
Ewowi
9414f531dd
IMO support in usermod games, add 3D IMO cube effect
...
- platformio: add USERMOD_MPU6050_IMU and ElectronicCats/MPU6050 @ 0.6.0 to esp32mdevums
- USERMOD_MPU6050_IMU: update readme.md and usermod_mpu650_imu.h
- usermod_v2_games: support for USERMOD_MPU6050_IMU, add mode_IMUTest and class Frame3D and mode_3DIMUCube, remove old gyro handling
- usermods_list.cpp: add USERMOD_MPU6050_IMU
2022-09-27 15:19:58 +02:00
Frank
859dbd5b23
small fix for compiling with IDF v4.4.x
...
LITTLEFS -> WLED_FS
2022-09-27 12:54:24 +02:00
Frank
b5d7a985d4
Merge remote-tracking branch 'origin/small-changes' into mdev
2022-09-26 15:56:24 +02:00
Frank
5c482afded
small fix for compiling with framework V4.4.x
...
don't re-define ARDUINO_RUNNING_CORE if already defined by the framework.
2022-09-26 15:55:44 +02:00
Stefan Riese
b6adbc926f
Usermod wordclock: support for upfront LEDs ( #2668 )
...
* - add ledOffset to support LEDs that are not effected by the usermode before the wordclock LEDs
* - adjust readme
2022-09-26 09:35:42 +02:00
Ewowi
e19f3a0d30
Merge branch 'weather-usermod' into mdev
2022-09-23 17:41:20 +02:00
Ewowi
af3e250f76
Weather usermod: wait on connection, check location, apikey, json filter
...
- add isConnected
- checks on location and apiKey
- add arduinoJson filter to reduce size
2022-09-23 17:40:41 +02:00
Ewowi
af557a864e
Merge branch 'games-usermod' into mdev
2022-09-23 13:03:07 +02:00
Ewowi
471ccf946b
Games usermod: MPU-6050 working on esp32-s2 branch
...
- allocateMultiplePins
- isUpdating: be nice, but not too nice (to do: should be used in all usermods! => new function isUpdatingBeNice)
2022-09-23 12:50:11 +02:00
Ewowi
e9a74a0889
Merge remote-tracking branch 'origin/dev' into games-usermod
2022-09-22 16:22:34 +02:00
Ewowi
1f775d98c3
Merge branch 'games-usermod' into mdev
2022-09-21 18:26:47 +02:00
Ewowi
37ee28fa0a
Merge remote-tracking branch 'origin/dev' into mdev
2022-09-21 18:26:20 +02:00
Ewowi
c94228ae3c
Games usermod: MPU-6050 gyro/accelero working
2022-09-21 18:09:13 +02:00
Frank
fb00bef05f
AR - necessary constants for 166Khz sampling rate
...
16kHz might be a good compromise on small MCU's:
- GEQ will show frequencies up to ~6Khz
- FFT process may use up to 32millis (-> 100% CPU load). Try to stay below <60% so FreeRTOS can schedule all tasks properly.
- more CPU time is left for other WLED, so it maintains LED FPS and stays responsive on web UI.
2022-09-20 18:29:27 +02:00
Ewowi
29079ee2fe
Merge branch 'weather-usermod' into mdev
2022-09-20 11:21:42 +02:00
Ewowi
7944a5696c
Merge branch 'custom-effects' into mdev
2022-09-20 11:21:32 +02:00
Ewowi
937d628d0a
Move from DynamicJsonDocument to PSRAMDynamicJsonDocument
2022-09-20 11:11:59 +02:00
Ewowi
6e45515527
Move from DynamicJsonDocument to PSRAMDynamicJsonDocument
2022-09-20 11:07:55 +02:00