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
Patrick
1daa97545b
Usermod Wordclock update to use an alternatve wiring pattern ( #2757 )
...
* Update
* update readme file
* readme update
* Update readme.md
* Update readme.md
* Update readme.md
* Update readme.md
* Update platformio.ini
2022-09-22 20:43:40 +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
Ewowi
3455da98c4
Merge remote-tracking branch 'origin/dev' into custom-effects
2022-09-20 11:02:59 +02:00
Frank
d7bc6b1be7
AR: optimization for small MCUs, part2
...
Only run FFT when the result will be used.
Please note that this also means that `FFTTime` shown in Info is only meaningful when there is sound input and not silence.
--> To get exact FFT times, the optimization can be disabled by compiling with `-D SR_DEBUG`
2022-09-19 14:09:45 +02:00
Frank
79776ae8bc
AR: optimization for smaller MCUs
...
- this reduces "lagging behind" of I2S sampling on smaller MCU's. The maximum time for FFT is now ~20 millis.
- small improvement for SR_DEBUG
2022-09-19 13:38:52 +02:00
Frank
90b3f009af
AR: small improvement for ADC analog mics
...
ensure that ADC parameters are properly configured.
2022-09-19 13:30:13 +02:00
Frank
6f8deb83e3
some relaxations for S2 and C3
...
- AR: changed "error" into warning.
- reducing max_busses (for AR) not needed on S2
2022-09-17 22:00:33 +02:00
Frank
85fc8710dd
mics that need MCLK should work
2022-09-17 20:39:23 +02:00
Frank
a766ddbebc
make I2S microphones work with buggy IDF4.4.x
...
I2S microphones were not working any more in with the newest framework - only delivers silence.
Ther reason is stupid bug in espressif I2S "compatibility" driver: RIGHT and LEFT channel are swapped, so when only asking for LEFT, we get silence from RIGHT.
Workaround: simply change LEFT to RIGHT, until the problem is fixed in ESP-IDF --> Fix tested on "classic ESP32", but still need to check behavior on -S3.
Code compiles also on -S3, -S2, and -C3.
smaller changes:
- a few changes to use new APIs (MCLK, rouing and sample resolution)
- a few additional debug messages
- put correct value into _pinConfig.mck_io_num
2022-09-16 16:58:04 +02:00
Frank
01acb08c83
minor fix (typo)
2022-09-16 16:38:24 +02:00
Blaz Kristan
dfe4d70198
Merge branch 'audioreactive-prototype' into esp32-s2
2022-09-16 15:38:44 +02:00
Ewowi
14ded6d867
Merge branch 'games-usermod' into mdev
2022-09-16 13:45:57 +02:00
Ewowi
f0fdfc73b9
Pong improvements but still WIP
2022-09-16 13:45:30 +02:00
Ewowi
27a149098f
Merge branch 'games-usermod' into mdev
2022-09-16 13:29:17 +02:00
Soren Singh Dary
8bd8975e0a
Fixed the dependency ( #2782 )
2022-09-14 23:29:35 +02:00
Soren Singh Dary
2847921e5a
Fixed a type in the file name ( #2781 )
2022-09-14 13:56:16 +02:00
Ewowi
16b2dad9b9
games-usermod: pong wip
2022-09-13 15:43:40 +02:00
Frank
925bc3b3dd
AR: get rid of annoying "type conversion" warning
2022-09-11 14:32:00 +02:00
Frank
ac10b3a5c7
compilation support for audioreactive
...
putting all parts that will not compile between #ifdef .... #endif
Tested on S3, cannot say what will happen on other MCUs
2022-09-11 00:12:51 +02:00
Frank
e73a08291d
removed "small speaker" profile - not much difference
2022-09-10 21:18:04 +02:00
Ewowi
4922c42b25
Merge remote-tracking branch 'origin/dev' into mdev
2022-09-10 14:21:36 +02:00
Ewowi
af2a908f18
Merge remote-tracking branch 'origin/audioreactive-prototype' into mdev
2022-09-10 14:19:47 +02:00
Frank
7cad63625f
IMNP441 microphone profiles
...
- some more microphone profiles (mainly IMNP441)
- more frequency "flicker fixers" - 2 slower + 2 faster
2022-09-10 00:27:49 +02:00
Blaz Kristan
e4fbf70568
Preset loading tuning.
...
Multi-relay toggle support.
Fire2012 tuning.
2D functions tuning.
Global SPI comments & tuning.
Bugfix in 4LD usermod.
On & bri support fix.
2022-09-09 17:16:52 +02:00
Frank
cf93d6bb65
more precision for debug info (FFT timing)
...
keep more detailed timing info for FFT and I2S (WLED_DEBUG)
2022-09-08 22:45:32 +02:00
Frank
e6d0859d1a
Squashed commit of the following:
...
commit c4e7bc29cd
Author: Frank <91616163+softhack007@users.noreply.github.com >
Date: Thu Sep 8 19:17:47 2022 +0200
microphone profiles (frequency scaling)
- added user-selectable frequency profiles, to allow adjustments for different I2S microphones (including line-in)
- additionally show "GEQ Input Level" as number in percent.
commit a661dd6999
Merge: 80347c24 a84afdf1
Author: Frank <91616163+softhack007@users.noreply.github.com >
Date: Thu Sep 8 18:34:37 2022 +0200
Merge remote-tracking branch 'origin/mdev' into audio-reactive
2022-09-08 19:29:17 +02:00
Frank
c4e7bc29cd
microphone profiles (frequency scaling)
...
- added user-selectable frequency profiles, to allow adjustments for different I2S microphones (including line-in)
- additionally show "GEQ Input Level" as number in percent.
2022-09-08 19:17:47 +02:00
Ewowi
7b1050bcb1
Merge branch 'custom-effects' into mdev
2022-09-08 11:38:39 +02:00
Ewowi
a20501a6a6
CustomEffects: Remove unused variables which conflict with other mods
2022-09-08 10:20:54 +02:00
Ewowi
01e67b500d
Revert "Merge remote-tracking branch 'origin/mdev_new-FrameWork-V4' into mdev"
...
This reverts commit 0fad8ffd85 .
2022-09-06 21:54:23 +02:00
Ewowi
0fad8ffd85
Merge remote-tracking branch 'origin/mdev_new-FrameWork-V4' into mdev
2022-09-06 17:53:02 +02:00
Ewowi
ab65970a9d
Merge remote-tracking branch 'origin/audioreactive-prototype' into mdev
2022-09-06 17:49:39 +02:00
Ewowi
1b724dbc0b
Merge branch 'json-mapping' into mdev
2022-09-06 17:44:25 +02:00
Blaz Kristan
e8942c2968
fix for repeating debug message
2022-09-06 15:52:09 +02:00
Frank
7894389f1d
Compiling AR usermod on ESP32-S3 (future support)
...
Encapsulated all parts with #ifdef that will not compile on newer ESP32 variants.
It's still a long way to go before we have a working version on -S3 and -C3, bus this should help to get us started.
From MoonModule/WLED repo.
2022-09-03 19:03:00 +02:00
Frank
da5f6315be
fix for repeating debug message
2022-09-03 18:43:28 +02:00
Frank
78d79be5a4
fix for repeating debug message
2022-09-03 18:21:37 +02:00
Frank
b13f13c2e4
typo
2022-09-03 14:31:18 +02:00
Frank
e70d2e7f0d
this is how far we get on the -S2
...
was curious how much of the AR usemod would compile for the -S2 platform.
2022-09-03 14:26:27 +02:00