Frank
3469648340
If MCU does not support analog, hide analog PIN settings
...
- hide "Analog Mic PIN" setting if I2S-ADC is not supported by the hardware
- In case of usupported config (PDM or ADC), overwrite dmType with default.
2022-11-25 12:53:24 +01:00
Frank
3f4e7a6a77
AudioSource parameter re-ordered
...
making "i2sMaster" the last optional parameter
2022-11-25 10:35:23 +01:00
Frank
484e995295
games: fix string overflow / stack corruption
...
warning: '%1d' directive writing between 1 and 3 bytes into a region of size 2
2022-11-24 17:08:58 +01:00
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
Ewoud
1fa903ad81
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-11-24 16:25:27 +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
cschwinne
324fc149b3
Shorter JSON keys for 1d2d map and sound sim
...
(smaller fxdata, saves 100b flash, slightly shorter json doc)
2022-11-24 04:15:24 +01:00
Jason Kölker
29b1f2afae
feat(json): add wifi scanning ( #2895 )
...
* feat(json): add wifi scanning
Adds wifi scanning to the JSON api at `/json/networks`. The initial
request will trigger a scan, subsequent requests will scan or return the
results depending on the state of the `WiFiScan`.
Add a `Scan` button next to the client ssid input, on click, scan for
networks, and change the input to a select with the found ssids.
Fixes : #1964
* Added option to go back to manual SSID input
Co-authored-by: cschwinne <dev.aircoookie@gmail.com >
2022-11-24 02:50:24 +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
Blaz Kristan
713509527a
Bugfix for missing ledmap.
2022-11-22 22:17:30 +01:00
Frank
1446bab3c5
I2S: another attempt to make "slave mode" work
2022-11-22 17:14:02 +01:00
Ewoud
f1088a6ed7
Reinstate ledmap on 2D
...
FX.h / FX_2Dfcn.cpp:
- setUpMatrix with reset option (create 1:1 matrix) and customMappingTable[customMappingTable[x]]
FX_fcn.cpp:
- deserializeMap: also for 2D, use setUpMatrix
2022-11-22 10:00:53 +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
Frank
45159a5085
small update for Line-In shield config
2022-11-20 20:08:25 +01:00
Blaz Kristan
0a1bd748d7
Fix loading transitionDelay on boot
2022-11-20 19:40:54 +01:00
Blaz Kristan
1b351b7743
Broadcast presence on WiFi (re)connect immediately
2022-11-20 18:12:01 +01:00
Jason Kölker
e409bd298a
feat(wifi): add compile time configurtation ( #2889 )
...
* feat(wifi): add compile time configurtation
Add `WLED_AP_SSID` and `WLED_AP_PASS` defines to allow configuring the
SoftAP SSID and Password at compile time. Default to existing values.
Add `WLED_AP_SSID_UNIQUE` flag to append the device portion of the mac
address to `WLED_AP_SSID`.
Exampleof all flags (note the quoting to preserve
"stringification"):
```
build_flags =
-D WLED_AP_SSID='"MyAP"'
-D WLED_AP_PASS='"MyPassword"'
-D WLED_AP_SSID_UNIQUE
```
* Removed two error defines
Co-authored-by: Christian Schwinne <cschwinne@gmail.com >
2022-11-20 15:55:38 +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
4367112b13
Merge remote-tracking branch 'origin/ac_main' into mdev
2022-11-20 13:55:05 +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
9a0bc6ad87
build number up, npm run build
...
yo-man
2022-11-19 20:01:30 +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
Ewoud
2e4d50e57a
Merge pull request #3 from netmindz/audio-palette-hue
...
Audio palette hue
2022-11-19 14:22:27 +01:00
Ewoud
7946c745d4
Fix ledmap code
...
Index.js: fix ledmap bug
json.cpp: remove old ledmap checks
presets.cpp: remove loadledmap call
2022-11-19 14:15:29 +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
Blaz Kristan
43582b6319
Add segment bounds check.
2022-11-19 11:57:38 +01:00
Frank
8b25dc275e
allow basic compilation with WLED std envs
...
- very basic compilation support in [env:esp32c3dev], [env:lolin_s2_mini]
- minor updates for [env:esp32s3dev_8MB]
2022-11-19 03:10:53 +01: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
cschwinne
c14c4425a4
Fix minor UI issues
...
Logo margin in info page
copy to clipboard button text on two lines
noslide on preset API textfield
Preset margins
2022-11-19 01:59:58 +01:00
Will Tatam
389d0047bc
Use targetPalette.loadDynamicGradientPalette
2022-11-18 21:42:44 +00:00
Will Tatam
850dd89d06
Fix palette ordering
2022-11-18 16:14:06 +00: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
583c8b4d5c
platformio.ini: adding some optional flags
...
can be used to reduce compile time, and to reduce FLASH size.
2022-11-18 14:31:50 +01:00
Will Tatam
557532265d
Add second audio responsive palette
2022-11-18 12:26:21 +00:00
Will Tatam
359ef875de
Add second audio responsive palette
2022-11-18 12:10:20 +00: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
Ewoud
181f8c546b
Add audio responsive pallette by Netmindz
...
const.h: increase GRADIENT_PALETTE_COUNT
fcn_declare: add getCRGBForBand
FX.h: add getAudioPalette
FX_fcn.cpp: call and getAudioPalette, add Audio Responsive palette
palettes.h: add audio_responsive_gp
util.cpp: add getCRGBForBand
2022-11-18 12:09:47 +01:00
Ewoud
017f0267a2
Increase 0.13 backwards compatibility
...
global LED buffer default true (0.13 backward compatibility)
Restore effects back to 0.13 (
- mode_wavesins
- mode_2DLissajous (uses segment setUpLeds)
- mode_2Dsquaredswirl (custom3<<3)
- mode_2DAkemi (uses segment setUpLeds)
setSegment implements setUpLeds if globalleds
2022-11-17 15:41:12 +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
eb2bf421b0
Version update and small fix
2022-11-17 11:23:49 +01:00
Ewoud
f2ad2db43a
npm run build
2022-11-17 10:45:23 +01:00