Commit Graph

1097 Commits

Author SHA1 Message Date
Will Tatam
6550504f60 Troy's extra data 2024-03-05 23:35:23 +00:00
Ewoud
65027331c7 Copyright and license updates 2024-03-04 21:27:01 +01:00
Blaž Kristan
d484df0d06 Merge pull request #3732 from wled-install/patch-1
UM Audioreactive: add two compiler options
2024-02-12 22:02:04 +01:00
Ewoud
5cf908ea25 Remove obsolute usermods - post 2024-02-08 23:02:10 +01:00
Ewoud
675dc29649 Remove obsolete usermods
- mode sort
- 4LD (non ALT)
- Rotary encoder (non ALT)
2024-02-08 22:54:06 +01:00
Troy
3c2feb82ed Settings to reject mic noise during line-in use. 2024-02-06 14:36:22 -05:00
Frank
2277d81699 AR sound sync bugfix
local samples were "sneaking in" when mode "receive or local" was receiving from network source.
2024-01-27 17:44:04 +01:00
Frank
14ab70dffe AR sound sync - document data offsets
The compiler has added gaps, to align our struct for hardware compatibility.

* made the gaps explicit
* added  `__attribute__ ((packed))`, to ensure that the data layout is the same on all platforms (extensa, risc-v, 8266)
2024-01-26 22:26:09 +01:00
Blaž Kristan
4001864cf7 Merge pull request #3642 from peterpociask/patch-1
Update README.md
2024-01-08 11:52:52 +01:00
Frank
b95a2094ce AR sound sync - make sequence checks user configurable
to support scenarios where several sending nodes are needed.
2023-12-30 19:50:07 +01:00
Frank
c74592032e Merge pull request #3615 from srg74/patch-2
Update readme.md
2023-12-29 17:22:54 +01:00
MoonModules
7e8d570e81 Revert "Add YandexWeather Usermod" 2023-12-23 23:37:37 +01:00
Sergey Ryazanov
0a51b973cb Remove support of Four-line display
Four line Display support removed because the Display font cannot draw the Celsius symbol and wind direction
2023-12-21 12:11:21 +04:00
Sergey Ryazanov
3c0158ad7d Add _MoonModules_WLED_ compatibility 2023-12-21 08:23:51 +04:00
Sergey Ryazanov
f04507b703 Add YandexWeather Usermod 2023-12-20 23:27:27 +04:00
Frank
04136791b5 sound sync: shown "v2+" when framecounter is used
v2+ = improved format (MM fork only) including sequence frameCounter.
2023-12-18 10:44:05 +01:00
Blaz Kristan
cf2f378f93 Fix for #3593 2023-12-17 22:46:02 +01:00
Frank
c68890992c mcuTemp improvements
* allow users to en/disable usermod
* limit rate of reading the sensor (once in 8 seconds)
* add slight filtering
* skip invalid readings
2023-12-16 18:49:50 +01:00
Frank
52ceabb505 LDR_Dusk_Dawn: use pinManager, check ldrPin before use (quick-fix for #3490) 2023-12-15 22:05:01 +01:00
Frank
8905992a89 code spell checking - part4 (MM specific) 2023-12-15 00:14:57 +01:00
Frank
9024872f63 code spell checking - part3 (usermods)
if you can spell Fahrenheit, you can't spell Celsius. And vice versa :-)
2023-12-14 22:22:46 +01:00
Blaž Kristan
45dc9aa62d Merge pull request #3555 from srg74/patch-1
Update readme.md
2023-12-12 14:47:59 +01:00
Troy
a01101c417 Update Animated_Staircase.h
The string "topSensorWrite" seems to have been deleted from the file in some accidental editing mishap.
2023-12-11 22:03:09 -05:00
Frank
a430e8b969 staircase quickfix
something still missing in line 378
2023-12-12 01:08:21 +01:00
Frank
4f30f69584 found a way to increase TCP stacksize (for AudioReactive UI)
we can use `-D CONFIG_ASYNC_TCP_TASK_STACK_SIZE=xxxx` to increase the stack size of AsyncWebserver - default is 8196.
This should give us a bit of headroom for new UI items.

We still need PR #94 for more savings.
2023-12-12 00:43:48 +01:00
Troy
80c257cf78 Update Animated_Staircase.h
Minor editor mishaps.
2023-12-11 16:59:20 -05:00
Troy
ccf54fe6a2 Update Animated_Staircase.h
Little oops fix. 🗡️
2023-12-11 16:50:02 -05:00
Troy
6b94c56f49 Update Animated_Staircase.h
Minor typos in comments
2023-12-11 16:41:16 -05:00
Troy
6f07958e90 Merge branch 'MoonModules:mdev' into mdev 2023-12-11 16:32:55 -05:00
TroyHacks
5ee930cff0 Merge branch 'mdev' of https://github.com/troyhacks/WLED into mdev 2023-12-11 16:32:17 -05:00
TroyHacks
cc0563dd45 Fixes for Animated_Staircase 2023-12-11 16:32:04 -05:00
Frank
782628b6aa UM battery: changed default for auto-off feature to "disabled"
Especially on 8266, the usermod can cause unexpected shut-downs in default configuration, when A0 is not connected to a battery voltage measurement circuit.
2023-12-10 14:40:36 +01:00
Frank
6cd9d80dbe small fixie for audioreactive (info page)
info page was not showing "AGC gain" when local mic was in use during "receive or local" mode.
2023-12-06 12:32:57 +01:00
Frank
d2fc1f7bf9 experimental: Souns Sync "receive or local" mode
new "Receive or Local" mode:
if UDP sound is missing or interrupted for too long, switch back to local audio input.
UDP sound resumes when a fresh packet is received again.

--> still needs testing, and even more regression testing.
2023-12-05 23:46:01 +01:00
Frank
e14d5e6975 sound sync: replace magic numbers with constants 2023-12-05 21:30:29 +01:00
Frank
7c68c14e63 FASTPATH: minimize UDP sound latency
The standard build is sending packets each 20ms, which means there are double packets (no new FFT results yet) and the max. delay between sampling and sending is up to 50ms.

* (FASTPATH only): FFT Task directly notifies UDP send when it has new data, reducing delays to the absolute minimum. this also optimizes UDP packets throughput, by avoiding duplicates.

* (FASTPATH only): receiver polling frequency is increased, to process new packets earlier (may increase CPU load)
2023-11-29 13:08:14 +01:00
Frank
38352c9d20 Sound Sync: prevent GEQ hickups and stalls
UDP transfers have some delays (measured between 2ms and 400ms). As consequence, FFT results sometimes "freeze" for a short time as no new data is arriving.
To hide these freezes, we apply the same "dynamics limiter" method as for volumeSmth.
2023-11-29 12:25:22 +01:00
Frank
1ac24439d4 AR: fastpath optimizations
Some optimizations in FASTPATH mode, to ensure that audio processing takes places as soon as new samples are arriving:
* raise fftTask prio to 4 (above async_tcp) - to ensure that other gimmicks (MQTT, IR, alexa, live preview (ws), json API, or web UI) cannot cause delays by preempting audio.
* changed the "be nice" condition in AR::loop
2023-11-27 15:56:38 +01:00
Frank
d3d08f813b sound sync: prevent sequence "roll-back" due to late packets (1->254)
this is to prevent that an "old" packet with high sequence number (before counter roll-over) gets accepted wrongly.
2023-11-16 10:55:43 +01:00
Frank
ec4bdf90af sound sync: better handling of framecounter roll-over 2023-11-15 16:21:03 +01:00
JeffWDH
63b1f6384c Add LDR sensor dusk/dawn preset control Usermod 2023-11-11 23:29:20 +01:00
TroyHacks
3ba2fe4ee0 WM8978 support for PicoDSP, etc. 2023-10-20 01:23:10 -04:00
Ewoud
294a872462 json/info: brand and product configurable by compile variables
For MM builds brand = WLEDMM
Will be used in WLED-Native - by Moustachauve

Changed in bh1750, bme280, pir, json.cpp and wled.h
2023-10-15 21:43:55 +02:00
netmindz
5476a90a69 Merge pull request #76 from MoonModules/audio-sync-framecounter
Audio sync framecounter
2023-10-09 18:28:49 +01:00
Will Tatam
f99856e863 Log packet counters 2023-10-08 19:35:26 +01:00
Frank
9ff7f56eb8 fix for partly uninitialized sound sync packets (audioreactive)
audioSyncPacket contains four "invisible" padding bytes added by the compiler. These need to be initialized to zero, as future versions of the protocol will make use of these fields.
2023-10-08 20:23:31 +02:00
Will Tatam
3b5c95b5e0 Try adding frame counter to detect duplicate or out of order sync frames 2023-10-08 14:10:48 +01:00
Frank
1fa5dc8ea8 audioreactive - spelling corrections in comments 2023-10-08 01:36:08 +02:00
Frank
b249a5af5e arduino-esp32 2.0.14 still contains the left-right-swapped bug
* use left-right-workaround up IDF 4.4.6
* fix for small typos
2023-10-08 00:03:11 +02:00
Frank
0ba8402e72 Align ADC init with WLED-SR
Feedback from SR is "it works better with analog", so let's align the driver code as much as possible.
2023-09-23 22:49:09 +02:00