TroyHacks
1713204bfe
Better ES8388 init and mic support
2023-05-01 21:07:33 -04:00
TroyHacks
32a501c2e3
It's offically the LyraT, not Lyra-T.
2023-04-25 23:47:28 -03:00
TroyHacks
00e3f5e5fa
Mic settings for ES8388. Also ALC, pass-thru, etc.
2023-04-25 23:45:09 -03:00
TroyHacks
0fd9596860
Fixes for LyraT
2023-04-22 08:35:03 -04:00
TroyHacks
58e2a3992b
Some fixes for LyraT and also better inits/docs
2023-04-21 13:58:41 -04: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
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
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
Ewoud
822fcf272b
ARTI-FX change .wled.log to .log
2023-04-08 15:32:58 +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
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
Ewoud
e4243c4d36
Merge pull request #5 from netmindz/ES8388
...
WiP - ES8388
2023-04-05 11:02:21 +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
Ewoud
4997145d8e
Fastled usermod, add Stefan Petrick effects PolarBasics & CircularBlobs
...
CC BY-NC 3.0 licensed effects only include this usermod only if you accept the terms!
Therefore not enabled in platformio.ini builds.
2023-04-04 13:02:43 +02: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
Ewoud
3dd7873143
First b15 daily build: add fastled usermod
2023-04-02 15:50:09 +02:00
Ewoud
eead626dd5
0.14.0-b15.21 release!
2023-04-02 13:22:38 +02:00
Ewoud
82dc456fd7
Rename Custom Effects to ARTI-FX
2023-03-30 10:02:08 +02:00
Ewoud
d9c886abdc
Create or delete bigPeek (click on smallPeek/bigPeek)
2023-03-29 21:59:49 +02:00
Frank
049d0f901d
four-line-display: support for SSD1309 and SSD1327 (SPI only)
...
* driver for SSD1309 4-Wire SPI (128x64) - untested
* driver for SSD1327 4-Wire SPI (128x128) - tested with waveshare 1.5in grayscale OLED
* driver Info to "clock mode" (WLED_DEBUG only)
* correct some misleading comments
* fix some typos
2023-03-26 14:38:14 +02:00
Frank
361a3b1cb3
four-line-display: make SPI work again
2023-03-26 14:00:16 +02: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
Ewoud
a66274d532
Random Cycle -> Random Smooth + netdebug/serial bugfix
2023-03-24 15:36:00 +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
Frank
8c92b76e2e
attempt to fix issue #24 (untested)
...
an attempt to fix problems with SPI OLED displays. It compiles, but not tested yet.
2023-03-23 20:17:17 +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
Frank
fc9f3a1c24
audio processing: minor updates
...
- small optimizations
- remove overlapping in fft bin -> geq channel mapping
- move "freqRMS" to last position in the UI list
2023-03-20 21:43:58 +01:00
Ewoud
b30438ab1a
AR: Add Frequency Distribution Normal and RightShift
...
Experimental setting
2023-03-20 15:15:04 +01:00
Frank
c0be44e07f
audioreactive: experimental options for sound processing
...
- micLev: "freeze" mode - should help to prevent short "dropout" wen music is playing
- freqRMS: if set to "On", will use a different method for averaging higher frequencies. May give you more action in GEQ. Could lead to GEQ "overshooting" as Mic Profiles are not adjusted to this method.
* const.h: static json buffer (usermod settings pages) was getting tight, added some margin
2023-03-20 14:11:12 +01:00
Frank
feb5542046
enable filters for legacy PDM
2023-03-19 20:52:36 +01:00
Frank
a525c0633a
legacy PDM driver option
...
for low-cost PDM mics that do not have enough volume when used with the standard PDM driver.
2023-03-19 20:29:09 +01:00
Frank
907679c2f5
Merge remote-tracking branch 'upstream/main' into mdev
2023-03-19 15:15:12 +01:00
Ryan Horricks
7789379914
Fix typing to resolve build errors after installing the mpu6050_imu usermod.
2023-03-18 18:29:19 -06:00
Ewoud
c928df9d70
Usermod class vars pt3:
...
Moved initDone, addToConfig and readFromConfig to Usermod superclass
Updated cleanup procedure:
Part 1
- remove bool enabled = false/true (now default false)
- remove static const char _name[] and _enabled[]
- add constructor which calls superclass (temp?): XXXUsermod(const char *name, bool enabled):Usermod(name, enabled) {}
- replace _enabled with "enabled"
- remove const char PROGMEM init for _name[] and _enabled[]
Part 2
- Remove bool initDone = false;
- addToConfig: replace createNestedObject with Usermod::addToConfig(root); JsonObject top = root[FPSTR(_name)];
- readFromConfig: replace !top.isNull and enabled with bool configComplete = Usermod::readFromConfig(root);JsonObject top = root[FPSTR(_name)];
See Temperature, MPU6050 and weather as examples (rest to be done)
2023-03-16 15:41:23 +01:00
Ewoud
0b841c0788
MM Help small changes (add MPU6050)
2023-03-15 20:36:31 +01:00
Ewoud
ff6d5136ac
Usermod class vars pt2: enabled default value
2023-03-15 18:18:11 +01:00