Frank
ecc6f1aa62
bugfix
...
seems I was too fast with removing _P from strncmp_P
2023-08-23 15:39:32 +02:00
Frank
3255530ee3
basic debug support on 8266
2023-08-23 14:40:47 +02:00
Frank
d221745e3f
some improvements
...
* remove some internal variables (soundAgc, multAgc, ....)
* prototype for autoResetPeak(void)
* changed `#ifndef ESP8266` to `#ifdef ARDUINO_ARCH_ESP32`
* replacement code for computing max sample
* Info Page: "audio source" added (idle/receiving/not connected/Off)
2023-08-23 12:37:30 +02:00
Frank
2cc6925f17
agcSensitivity (to align um_data with esp32)
...
all elements of um_data must be filled, otherwise some effects will crash.
This adds a dummy " agcSensitivity" value that stays at 128.
2023-08-22 23:42:03 +02:00
Frank
f689d5115b
8266 hotfix: solving connectivity problems
...
* it seems that `WiFiUDP.flsuh()` does something completely different from 8266, and its actually causing WLED to stall on UI calls. So not usable on 8266.
* fixing a few compiler warnings about "comparing signed and unsigned"
NB: its a hotfix, we have to check if there are other problems on 8266. Also its definitely ugly, but it helps as a band aid.
2023-08-22 23:17:57 +02:00
Will Tatam
0672d1c59d
Fix maxVol and binNum
2023-08-13 17:16:11 +01:00
Will Tatam
f0cc7f04ed
Fix maxVol and binNum
2023-08-13 17:11:32 +01:00
Will Tatam
f4a1deba34
Expose dynamics - limiter, rise and fall as calc runs on receive too
2023-08-13 16:54:16 +01:00
Will Tatam
96c19b6c50
Revert placement of arduinoFFT.h include as per comments on PR:60
2023-08-13 16:40:43 +01:00
Will Tatam
e7209db038
Fix compile errors for um_data not present on receive node
2023-07-27 12:19:13 +01:00
Will Tatam
baff1a96ac
add comment about limitSoundDynamics
2023-07-27 12:10:26 +01:00
Will Tatam
1b4bd50e26
soundAgc should be none by default
2023-07-27 12:08:42 +01:00
Will Tatam
3367039605
Fix compile errors for packet type
2023-07-27 12:04:53 +01:00
Will Tatam
555ea5c9b2
Fix compile errors for soundAgc and limitSoundDynamics - but not ideal, should only be on the sender
2023-07-27 11:57:28 +01:00
Will Tatam
7a41771382
Attempt at creating audio sync listen EPS8266
2023-07-26 02:31:24 +01:00
Will Tatam
a7e0ba56e4
Attempt at creating audio sync listen EPS8266
2023-07-25 21:19:53 +01:00
Will Tatam
565293ca8c
Attempt at creating audio sync listen EPS8266
2023-07-25 19:58:08 +01:00
Will Tatam
a44c14aa9e
Attempt at creating audio sync listen EPS8266
2023-07-25 19:47:57 +01:00
Frank
8aef4347a1
re-enable old peak detect algo, plus ripplepeak bugfix
...
* re-enabled old detector which does not detect beats. However something bad may still be better than nothing...
* fixed a typo in RipplePeak and Waterfall effect, which cased wrong configuration of the peak detector.
resolves https://github.com/MoonModules/WLED/issues/43
2023-06-18 22:08:55 +02:00
Frank
af6091b493
fixing some memory leaks
...
* audio_reactive.h: catch memory errors from WiFiUDP
* udp: explicitly flush unused receive buffers.
* wled.cpp: additional debug info about "largest available block"
* FX_fcn.cpp: free _globalLeds before running purgeSegments().
2023-06-07 17:10:32 +02:00
TroyHacks
7e1d15c87b
Merge branch 'audio_fastpath' of https://github.com/MoonModules/WLED into audio_fastpath
2023-06-07 10:35:51 -04:00
TroyHacks
06344aeb41
FFT UDP fush if not read.
2023-06-07 10:35:28 -04:00
Frank
f0dd66e736
SoundSync: use local static buffer
...
thanks @netmindz for pointing out.
2023-06-07 14:07:50 +02:00
Frank
b6f1a591ee
global buffer for UDP sound sync
...
to prevent memory fragmentation.
* use global (static) buffer for receiving
* added missing flush()
2023-06-07 12:16:22 +02:00
Frank
49f2e26ab5
arduinoFFT hash update
...
to fix the gh build, following latest dev.
2023-05-27 00:00:59 +02:00
Frank
df26430e42
audioreactive: replace dynamic buffer with static buffer
...
using a dynamic array for newSamples[num_samples] was never needed. It was a risks as the buffer was allcated/deallocated with every call of getSamples().
2023-05-25 21:50:44 +02:00
netmindz
e6fb6c4a50
Merge pull request #39 from troyhacks/ES8388-Lyra-T-Fixes-Test
...
ES8388 LyraT Fixes
2023-05-25 21:49:52 +02:00
Frank
6317dcb757
swapped-channel workaround needed a bit longer
...
It seems that ESP-IDF 4.4.5 will (finally) fix this old bug. hallelujah.
73ca054b80 (diff-02a5aef0ab7d8485b0a165910efaab3dfc450b473eef0bab1b32bccb4ea85c69)
2023-05-12 19:10:51 +02:00
Frank
56b6290fdd
Update audio_reactive.h
...
small oops
2023-04-30 21:03:00 +02:00
Frank
0c58c12d0f
audio fastpath: reduce filter delay
...
- reduced filter strength, which also reduces delays
- increased I2S buffer count, and reduced I2S cycle time to recover from delays faster.
2023-04-30 20:58: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
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
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
TroyHacks
95d6d186c7
ES8388 init optimizations and fixes
2023-04-05 11:00:14 -04:00
Ewoud
cae1c00467
ARTIFX add support for pixelart + small changes
...
arti_wled.h:
- add jsonToPixels and frameTime
- change printf to print
usermod_v2_artifx
- return MAX(frameTime,FRAMETIME);
FX.h and FX_2Dfcn.cpp
- add jsonToPixels
audioreactive.h
- ES8388 allow for default and add moon
2023-04-05 13:22:50 +02:00
TroyHacks
111c8c9202
Merge branch 'ES8388-troyhacks' of https://github.com/troyhacks/WLED into ES8388-troyhacks
2023-04-04 17:04:55 -04:00
TroyHacks
f44f307f89
Comments and typos, init optimization and shortening.
2023-04-04 17:04:18 -04:00
Troy
7d32bc5f97
Merge branch 'ES8388' into ES8388-troyhacks
2023-04-04 14:10:04 -04:00
TroyHacks
d775f7fb28
Removed reliance on the ES8388 library and made things more in line with similar boards with I2C init.
2023-04-04 14:01:47 -04:00
TroyHacks
bd477624f0
Working proof of concept for ES8388
2023-04-03 22:41:29 -04:00
Will Tatam
03570848f4
Merge branch 'mdev' into ES8388
2023-04-03 19:20:41 +01:00
Will Tatam
760ff836c3
Merge branch 'mdev' into ES8388
2023-04-03 19:15:28 +01:00
Frank
df9df5e4c8
audireactive: fix for missing dropdowns on -S3/-S2/-C3
...
these MCUs do not support analog mics, however some code was still existing that tried to add 'AudioReactive:analogmic:pin'.
2023-03-24 17:16:10 +01:00
Frank
5c6e627d28
update for ICS big speaker MIC profile
...
- reduce reaction to bass
- improved "pink noise" response in mid range
- enhance reaction to higher frequencies
- Lupo is back
2023-03-24 13:17:40 +01:00
Ewoud
d452da2642
NetDebug fix and small changes
...
AudioReactive: show ☾ specific
IR: cleanup
json.cpp: bugfix: NetDebug not in presets
wled.cpp and wled_server.cpp: show servername in DEBUG INFO
2023-03-22 16:31:07 +01:00
Frank
78f55bce70
small change
...
parameter tinkering
2023-03-22 16:10:52 +01:00
Frank
691ad17b04
Small oops
2023-03-20 22:33:10 +01:00
Frank
87069ef7c0
audio processing: MicLevel "FAST freeze mode"
...
This mode freezes MicLev even fast. However it makes some assumptions that may not always be true:
* At least 12 seconds of silence during start
* a high quality microphone with very low noise level.
--> If you are not sure about these preconditions, better use normal "Freeze" mode.
2023-03-20 22:16:35 +01:00