Commit Graph

4217 Commits

Author SHA1 Message Date
Frank
8d85a52449 correct some stupid peak detection defaults
parameters C1 and C2 control peak detection. Previous defaults (c2=0 !!!) did not make any sense.
2023-04-17 21:35:47 +02:00
Frank
3f4294398a Blurz effect: back to original SR code
Modifications from upstream have made the effect kind of boring non-reactive. So we go back to the original effect.

HINT: Effect looks best with _segment_ brightness set to max (use _global_ brightness to reduce brightness as you like).
2023-04-17 21:22:11 +02:00
Frank
28c737df87 small fix
Serial0 does not exist without ARDUINO_USB_CDC_ON_BOOT
2023-04-15 23:37:54 +02:00
Frank
0fd26cc783 replace AC WebServer with lost-hope variant
temporarily replace the webserver with a   modified one that can also show .wled and .log files under /edit.
2023-04-15 21:33:06 +02:00
Frank
2585b785d9 remove duplictate dependancies (AsyncTCP 1.1.1)
* moving "pbolduc/AsyncTCP.git @ 1.2.0" on top of lib_deps, to prevent that AsyncTCP 1.1.1 is pulled in (due due dependacies from Aircoookie/ESPAsyncWebServer
* remove duplicate env.lib_deps from -S2 environments
2023-04-15 21:06:00 +02:00
Frank
c295c87798 moving esp_dmx lib into esp32_4MB_V4_S_base
the idea is to keep enable flag and library in the same build env.
2023-04-15 17:04:26 +02:00
Frank
244a6137d2 esp32_4MB_V4_M: stay below 100% flash usage 2023-04-15 01:11:25 +02:00
Frank
322ab9c552 arti-fx error handling improvements
- if log file cannot be created, switch to serial logging
- fixing a broken format string
- usermod_arti: avoid to copy more than what fits into the buffer
2023-04-15 01:10:03 +02:00
Frank
4294f60151 npm run build 2023-04-14 20:00:35 +02:00
Frank
cc9a19bc1d partial merge of upstream/main
* leaving out DotStarHspi5MhzMethod, as we are still on NPB 2.6.9 for eth boards
* leaving out the index.css/index.css changes, as I'm not sure how to merge this.

@ewoudwijma we need to merge the JS and CSS parts when you are back; I'll stay with our MM version for now.
2023-04-14 19:53:04 +02:00
netmindz
ee23827fdb Merge pull request #16 from netmindz/audio-palette-updates
Audio palette updates
2023-04-14 18:38:06 +01:00
Will Tatam
cc25a21bcb Merge branch 'mdev' into audio-palette-updates 2023-04-14 18:28:43 +01:00
Frank
05c3e569f1 optional: warn about functions with high stack usage 2023-04-14 19:08:41 +02:00
Frank
3e2a6848f9 arti setup(): attempt to fix memory leak
- check that programName is not too long (fileNameLength-7 is the limit)
- try to fix a memory leak, as programText must be free'd in case of error.

@ewoudwijma please review my changes, I'm not 100% sure I did it right.
2023-04-14 18:40:25 +02:00
Frank
10ca7c83ca enumerateLedmaps: prevent buffer overflow
make sure that bounds of char fileName[33] are not exceeded by sprintf.
2023-04-14 18:33:07 +02:00
Frank
5f4dd53be4 V4 target: enable warning for variable shadoing
* pio.ini: add "-Wshadow=compatible-local" for V4 targets
* pio.ini: fix alignment for 8266 build_flags
* fix one (harmless) case of shadowed vars in MM specific code
2023-04-14 14:20:55 +02:00
Frank
db62153e34 fix for a potential array overrun
unguarded sprintf / strcpy are always a risk.
2023-04-13 23:20:57 +02:00
Frank
122f54a274 prevent heat-up on tiny -C3 boards
* reduce LED default brightness
* unset "disable wifi sleep" when WLEDMM_WIFI_POWERON_HACK
2023-04-13 23:00:51 +02:00
Frank
94a7f5623d handling of Serial on CDC USB board
... like the typical -C3
* Replaced a few direct Serial.printf with macros
* Always check if Serial is connected before printing (CDC sometimes hangs  when trying to send/receive without connection)
2023-04-13 22:59:09 +02:00
Frank
0081122f13 buildenv improvement for -C3
* IRremoteESP8266 @ ~2.8.2
* -D WLED_DISABLE_ADALIGHT (as most devices don't have a serial-to-USB chip)
2023-04-13 22:55:04 +02:00
Frank
a193aabd67 Merge pull request #34 from troyhacks/2023-04-12-Art-Net_Transmit_Repair_Bad_Optimization
"Unfixing" an optimization to the Art-Net header.
The local "buffer" was shadowing the LED buffer (function parameter), so art-net would only send out headers but no LEDs.
2023-04-13 22:11:48 +02:00
Frank
2e0d1046f8 some cleanups and updates for -C3
* remove duplicate env.lib_deps
* use NeoPixelBus @ 2.7.3
* added board_build.flash_mode
2023-04-13 19:29:41 +02:00
Frank
0afad59458 MM style buildenv for seeedxiao -C3 2023-04-13 16:14:56 +02:00
Frank
40e614cbfa ups
double platform_packages line removed
2023-04-13 14:35:36 +02:00
Frank
e971990025 pio: added esp32.platformV4_new = espressif32 @ ~5.2.0 2023-04-13 13:26:30 +02:00
Frank
0ae004ffa3 buildenv fix: avoid NeoPixelBus 2.7.4
it seems that NPB 2.7.4 introduces new incompatibilities with WLED, that break gh action builds.
2023-04-13 12:26:14 +02:00
TroyHacks
deb09c288a Unmessing an optimization to the header - which caused the header to be sent over and over. 2023-04-12 18:00:35 -04:00
Frank
04fa3995da soundsim bugfix
FFT_MajorPeak simulated value was too small.
2023-04-11 23:00:06 +02:00
Frank
a1bdb47c30 trying to make sound pressure less boring for line-in
"sound pressure" for line-in was always close to max - which is expected, because the ADC chip utilize the full 24/16bit sample range.
The new calculation leads to some more "movement".
2023-04-10 23:57:44 +02:00
Frank
25122f982c temporary disable DMX input on -C3 and -S2 2023-04-10 22:39:42 +02:00
Frank
8ba43b63ec Sound pressure: modified correction factors for PDM and analog 2023-04-10 03:29:59 +02:00
Frank
61949cfdc8 Sound Pressure - some optimizations
- slightly extend input range
- add correction factors for some sound sources
- gravimeter: tweaking
2023-04-10 02:04:53 +02:00
Ewoud
822fcf272b ARTI-FX change .wled.log to .log 2023-04-08 15:32:58 +02:00
Will Tatam
79c67122dd Enable WLED_ENABLE_DMX_INPUT again, now we reference a preditacble tag not branch 2023-04-08 13:50:23 +01:00
Will Tatam
eb3ad99b76 Use taged version of esp_dmx 2023-04-08 13:45:08 +01:00
Will Tatam
343252f6c9 Use taged version of esp_dmx 2023-04-08 13:45:08 +01:00
Ewoud
876b08e3e4 Temporary disable WLED_ENABLE_DMX_INPUT in esp32_4MB_V4_S_base 2023-04-08 14:42:14 +02:00
Ewoud
ca9bd2270e Merge remote-tracking branch 'upstream/main' into mdev
Everything merged except platformio.ini
4ld has not been merged previously
Update version to 0.14.0-b15.22
2023-04-08 14:12:17 +02:00
Ewoud
212126b0ad esp8266_4MB_M: usermods maches max usermods, add net print,set flashsize 2023-04-07 16:40:24 +02:00
Ewoud
a6e2cf0b26 ARTI-FX: Fix printing to USER_PRINT (if !logToFile) 2023-04-07 13:57:27 +02:00
Ewoud
4aea3970a3 ARTI-FX support 8266 (experimental!!) add soundpressure
Add ARTI-FX to esp8266_4MB_M (experimental!)

Arti.h
- FREE_SIZE ESP.getFreeHeap() for 8266
- define asChar(x) to print to Serial/File depending on ESP32/8266
- artiPrintf: print to USER_PRINTF (experimental)

Arti_wled.h
- add ARDUINO_ARCH_ESP8266 to ARTI_ARDUINO
- add soundPressure

usermod_v2_artifx.h: use FREE_SIZE
2023-04-07 12:43:38 +02:00
Ewoud
20a91454d1 Post marge: regenerate html_settings 2023-04-06 21:01:38 +02:00
MoonModules
6ef2857d4c Merge pull request #28 from netmindz/DMX-Input-esp_dmx
Dmx input esp dmx
2023-04-06 20:57:41 +02:00
MoonModules
7ffe25d55c Merge branch 'mdev' into DMX-Input-esp_dmx 2023-04-06 20:51:20 +02:00
Frank
6cce70b207 gravimeter and waverly: option to show sound pressure level
* adjusted gravimeter and waverly effects so that "Sound Pressure" can be used instead of volume
* some improvements to gravimeter effect
* fixing some over/underflows in gravimeter
* waverly: option "No Clouds" to only show lower part
2023-04-06 19:21:27 +02:00
Frank
197e120e3b estimated audio sound pressure 2023-04-06 18:58:20 +02:00
Frank
b09077627e low-cut audio input filtering
* 40Hz low-cut and DC blocker filter - will remove any signal offsets and also removes rumbling noise up to 12db
* DC blocker set as default for all sources (prerequisite for later measuring sound pressure)

additional filtering options are in the making :-)
2023-04-06 17:56:32 +02:00
MoonModules
00e9c59295 Update readme.md 2023-04-06 14:36:08 +02:00
MoonModules
a77900b095 Update readme.md 2023-04-06 14:32:53 +02:00
MoonModules
669b81de92 Update readme.md 2023-04-06 14:29:59 +02:00