Frank
dfd839de87
add braces around potentially-empty (debug) else branches
...
the compiler advises "suggest braces around empty body in an 'else' statement [-Wempty-body]". We follow.
2022-11-24 16:53:58 +01:00
Frank
8899704f91
Mic Profile for SPM1423
...
* added mic profile for SPM1423 (a new microphone board with PDM interface).
* npm run build (yo-man).
2022-11-24 12:28:11 +01:00
Ewoud
544eeacfc9
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-11-24 10:59:44 +01:00
Ewoud
ace3035d4a
Small changes and version 0.14.0.6.0
...
Including 2D peek max 4096 leds
2022-11-24 10:57:18 +01:00
Frank
17e6a887cb
FFT code restructuring, part2
...
puting mic filter and FFT post-processing into seperate funtions, to improve code clarity.
2022-11-23 14:39:19 +01:00
Frank
068e88453c
FFT code restructuring, part1
...
- FFT code restructuring
- align definition of SR_DEBUG with WLED_DEBUG
2022-11-23 13:12:33 +01:00
Frank
1446bab3c5
I2S: another attempt to make "slave mode" work
2022-11-22 17:14:02 +01:00
Ewoud
b0b78a9959
um settings: cpp: lowercase, js: initcap
2022-11-21 17:45:53 +01:00
Frank
18693dc96a
CS5343 optimization
...
-updated Mic Profile (Line-in)
- squelch=2 is enough
2022-11-21 12:13:46 +01:00
Blaz Kristan
caef289b9b
Autosave enable/disable UI button
2022-11-20 15:50:42 +01:00
Ewoud
ea5ac3f55a
SR settings bug fix
2022-11-20 14:57:50 +01:00
Ewoud
e5b54c947b
Grouping um settings, add pre and post Info, update SR & 4LD settings
...
Settings_um.htm:
- modify addField (grouping)
- addInfo (pre and post texts)
2022-11-20 13:53:47 +01:00
Frank
6404bb55ee
rotary encode (alt): avoid starvation
...
* for installations with >1000 LEDs, strip.isUpdating() is true almost all the time. This fix ensures that rotary are polled at least every 4 ms (250Hz)
* fixing a few potential string buffer overruns.
2022-11-19 19:59:37 +01:00
Frank
c57f75c759
small change
2022-11-19 18:14:15 +01:00
Frank
cfe6fbb00c
es7243 additional error checking
...
- es7243: check for valid SCK and MCLK
- minor UI improvements
2022-11-19 17:35:44 +01:00
Frank
a4ab3ee6f1
fix I2C pin alloc, and prep for settngs decluttering
...
ES7243: fix I2C pin alloc (multi-pin)
AR settings: prepare for de-cluttering
2022-11-19 16:38:53 +01:00
Ewoud
37e88ef08a
Merge pull request #4 from netmindz/i2s-labels
...
Change lables for digital mic to be their name
2022-11-19 14:25:26 +01:00
Will Tatam
c620a50b1d
Change lables for digital mic to be their name, with common acronyms listed after rather than assuming everyone uses INMP441
2022-11-19 12:44:26 +00:00
Frank
d593120dae
some sanity checks for new MCUs
...
- warn if I2S does not have analog support
- warn if I2S does not have APLL clock
- compilation error if I2S not supported
2022-11-19 02:55:45 +01:00
Ewoud
aef16b5199
platformio: add squelch, gain, profile defaults and mic / lineIn envs
...
audio_reactive.h:
- add SR_SQUELCH, SR_GAIN and SR_FREQ_PROF
- Set AGC default to 1
- Rename DMTYPE to SR_DMTYPE
platformio.ini:
- _base entries: remove env:
- wemos_shield_esp32_4MB_max_base
- add wemos_shield_esp32_4MB_ICS4343x_max
- add wemos_shield_esp32_4MB_SPM1423_max
- add wemos_shield_esp32_4MB_LineIn_max
- update esp32_pico_4MB_max
2022-11-18 16:57:07 +01:00
Frank
dce3b04695
update for filter coefficient
...
Seems that I made a small mistake when calculating cut-off frequencies. Updated values make more sense.
2022-11-18 12:55:53 +01:00
Frank
d3af3446f7
add bandpass filter for PDM mics
...
This introduces an optional band pass filtering step to remove low frequency noise. Very effective for PDM mics - reduces noise floor by a factor of 100 !
2022-11-17 15:09:54 +01:00
Ewoud
ede08cedf2
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-11-15 12:47:32 +01:00
Frank
aae50942a2
line-in parameter tuning
2022-11-14 18:14:36 +01:00
Constantin Wolf
f104fb0586
SD card support: MMC or configurable SPI ( #2877 )
...
Co-authored-by: constantin wolf <constantin.wolf@pwc.com >
2022-11-14 02:30:35 +01:00
degraafm76
75e410e4b4
Analog clock time offset bugfix + optional hour mark feature ( #2860 )
...
* Implement optional hour marks
Time offset did not work
* removed undefined error int in hexstringtocolor
* revert cosmetic changes
* minor cosmetic changes
Co-authored-by: mdegraaf <mdegraaf@proxsys.nl >
2022-11-14 02:30:18 +01:00
Frank
09ce16e6f8
minor cleanup
2022-11-10 11:00:30 +01:00
Frank
06af6f5ad0
don't use aPLL in IDF version 3
...
seems that this interferes with MCLK routing
2022-11-09 21:08:46 +01:00
Frank
c9c7d86462
Merge branch 'mdev' of https://github.com/MoonModules/WLED into mdev
2022-11-09 18:36:39 +01:00
Frank
0fdc0d042d
small improvements for I2S PDM and I2S Line-in
2022-11-09 18:36:02 +01:00
Ewoud
c3c3ff39b5
Change WLEDSR to WLEDMM in comments
2022-11-09 12:14:42 +01:00
Frank
20aebf2789
improved support for PDM microphones (SPM1423)
...
seems that the "swapped channel" workaround is not needed for PDM.
2022-11-09 00:01:40 +01:00
Ewoud
492fd294de
Merge remote-tracking branch 'origin/main' into mdev
2022-11-08 18:12:43 +01:00
Blaz Kristan
1e104bdd9e
Compile time option for PIR sensor off timer
2022-11-07 16:56:41 +01:00
Frank
260740d210
small improvement for analog input
...
do not disable ADC initially.
2022-11-07 16:26:33 +01:00
Frank
4bd35b780e
Some improvements for I2S Line-In
...
- I2S DAC devices utilize the complete sample range [-32767 ... 32768], while I2S microphones typically deliver samples in [-2047... 2047]. Down-scaling Line-in samples ensures that filters and AGC operate optimally.
- use aPLL clock source for I2S with MCLK
- experimental: I2S slave mode (however could not get it to work ...)
2022-11-07 15:34:42 +01:00
Blaž Kristan
d30e219d7b
Faster strip updates.
2022-11-04 08:27:35 +01:00
Blaz Kristan
17d1ca82a6
Update Animated Staircas for 0.14
2022-11-03 21:04:40 +01:00
Ewoud
306fb01991
Merge remote-tracking branch 'origin/main' into mdev
2022-10-28 11:36:49 +02:00
Blaz Kristan
e88d34ea19
Correct HA discovery topic & minor adjutments.
...
Publish on MQTT connect.
2022-10-25 21:47:25 +02:00
Ewowi
2b55985e96
Merge remote-tracking branch 'origin/dev' into mdev
2022-10-25 16:23:16 +02:00
Blaz Kristan
535f285287
Add HA discovery option to PIR sermod
2022-10-24 21:25:23 +02:00
Alex Barlow
7288e5a8fd
Fix Enabled Toggle
...
Adjusted inherited 'disabled' to fix saving bug.
2022-10-24 18:17:37 +01:00
Frank
7e673f778b
a few more words on how a custom effect can be added
2022-10-22 16:52:56 +02:00
bwente
fe09c417ff
Create v2 usermod_word_clock_matrix.h ( #2473 )
...
* Create usermod_word_clock_matrix.h
Tried using the old usermod on the new build, found out a lot has changed since then. My best attempt to update it. Still needs some help, but it is working. I would like to preconfigure some of the default settings. I am also having an issue with Error 12: Preset Not Found
* Update readme.md
2022-10-22 11:21:46 +02:00
Blaz Kristan
ca891b0e70
Merge branch 'audioreactive-prototype' of https://github.com/blazoncek/WLED into audio-fix
2022-10-22 11:13:02 +02:00
Blaz Kristan
884b9abfe2
Merge branch 'main' of https://github.com/aircoookie/WLED into audioreactive-prototype
2022-10-22 10:36:04 +02:00
Blaz Kristan
af3ee35c50
Merge branch 'dev' into audioreactive-prototype
2022-10-21 23:47:31 +02:00
Frank
52d1e6d197
Merge remote-tracking branch 'origin/audioreactive-prototype' into mdev
2022-10-21 12:16:51 +02:00
Frank
ba0bc31525
UDP sound sync: added decoder for legacy packets
...
support decoding of sound sync data from SR version > 0.13.0
2022-10-21 12:12:02 +02:00