Commit Graph

4048 Commits

Author SHA1 Message Date
Ewoud
1b150457fb Merge remote-tracking branch 'origin/mdev' into mdev 2023-03-22 12:09:15 +01:00
Ewoud
11ae7b4ead AWMC ir remote functional improvements
Sound and non sound effect id's are not adjacent anymore:
- Mode+ and mode- loop over all modes
- Note1 and Note2 changed to intensity+ and intensity-

Colored buttons + W + Color (3x3):
- If solid fx then real colors
- if not solid fx then preset 1 to 9 (if preset non-existent then default is chosen, but this is not working - general ir problem of presetFallback function!)
2023-03-22 12:08:28 +01:00
Frank
33f7653338 adafruit -S2 update
... turns out that the partition file name has to end in "tinyuf2.csv" - its a special flag for internal build scripts.

espressif, I sometimes hate you .-/
2023-03-22 12:05:47 +01:00
Ewoud
c24adc5413 AWMC: Squelch and gain 2023-03-21 16:14:28 +01:00
Ewoud
c0da45d1a2 typo 2023-03-21 16:07:57 +01:00
Ewoud
6487a5effe Athom WLED Music Controller: 4LD Mod 2023-03-21 16:02:28 +01:00
Ewoud
01cd2ce775 Set Athom mic default to PDM legacy mode 2023-03-21 13:55:11 +01:00
Ewoud
b271168f81 Full support for Athom WLED Music Controller
- athom_music_esp32_4MB_M bin
- show flashsize in info tab and /getflash
- support of their ir-remote (24-key music)

Not supported yet
- mac addres in AP name (need to experiment with WLED_AP_SSID_UNIQUE)
2023-03-21 12:51:29 +01:00
Ewoud
81fd9be03a bugfix 2023-03-21 11:54:06 +01:00
Ewoud
de0b832e56 Update to version 0.14.0-b2.20 2023-03-21 11:41:07 +01:00
Ewoud
8485be27f2 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-21 11:39:30 +01:00
Aiden
3120b49dba Add some Athom devices (#3114)
Add some compile configurations for Athom's devices
2023-03-20 23:44:12 +01:00
Christian Schwinne
fb1999c474 Merge pull request #3107 from Aircoookie/onepx-segment
Tweaks & bugfixes.
2023-03-20 23:42:30 +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
Ewoud
ee25b53691 Minor changes 2023-03-19 18:36:10 +01:00
Frank
9ea3d2c731 sync settings: minor html update 2023-03-19 17:15:22 +01:00
Frank
66f6cc7048 html bugfix
stray ">" after comment
2023-03-19 16:31:47 +01:00
Frank
0409f6e61f npm run build
yo'man
2023-03-19 16:18:04 +01:00
Frank
fae2546c09 warn user if serial protocols are disabled 2023-03-19 16:17:35 +01:00
Frank
076b5b373d post-merge actions
fixes a build problem with MM specific code.
2023-03-19 16:13:44 +01:00
Frank
ea13c977b2 Merge branch 'Aircoookie:main' into mdev 2023-03-19 16:09:41 +01:00
Frank
1abc863f82 comment updated
Also "Serial JSON" is not possible when reading from RX pin is disabled.
2023-03-19 15:51:39 +01:00
Frank
d80e5cd063 Disable use of serial RX pin on some boards 2023-03-19 15:28:47 +01:00
Frank
907679c2f5 Merge remote-tracking branch 'upstream/main' into mdev 2023-03-19 15:15:12 +01:00
Frank
c9be03c0bc typo 2023-03-19 14:48:47 +01:00
Frank
fd89209233 adding WLED_DISABLE_ADALIGHT (issue #3128
This flag disables reading commands from serial interface (RX = gpio 3)

Add -D WLED_DISABLE_ADALIGHT to your custom pio build environment.
2023-03-19 14:42:01 +01:00
Blaz Kristan
2e362fbb64 Fix for #3074 2023-03-19 14:26:54 +01:00
Blaz Kristan
11b687cdc2 Float vs. double. 2023-03-19 11:24:59 +01:00
Blaz Kristan
747c920420 Bugfix.
- white overrides & CCT
2023-03-19 11:23:59 +01:00
Blaž Kristan
cac51737cb Merge pull request #3138 from codekane/mpu6050_imu 2023-03-19 07:38:44 +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
Frank
eac4fe84e1 GEQ: accuracy improvement for Smooth bars
The previous code was scaling down fftResult[] to matrix height first, then computing smoothed bars.

We now to calculate smooth bars at full fftResult[] resolution first, and afterwards map the result to Matrix height. This improves accuracy and preserves a few more bits of real detail.
2023-03-18 20:53:31 +01:00
Blaz Kristan
08e2bfe9a2 Scale 2D peek for large matrices. 2023-03-18 18:22:31 +01:00
Frank
d8f0fea1f3 GEQ bugfix
fixing a corner case in GEQ -
if NUM_BANDS =1 then map(band, 0, NUM_BANDS - 1, ...) runs into division by zero.
2023-03-17 23:57:25 +01:00
Ewoud
aa6b1735d3 Add File System in settings and disable peek if not expandeed
index.htm and index.js and peek.js:
- add expand and peek function for peek expand to removeEventListener if not expanded

- add peekexp and segvexp in settings to save status (wip)

- add File System in settings
2023-03-17 23:53:27 +01:00
Ewoud
5ac9ffa073 Harmonize ledmap and jmap
ledmap: no lm prefix

jmap:
- also json extension (instead of jmap)
- also support json object with json array embedded:

{"n":"snake32"
,"width":32
,"height":32
,"map": []
}
2023-03-17 15:44:23 +01:00
Ewoud
e3e5825618 Simplification of ledmap width and height segment settings
(no recreation of panels anymore so back to default shows original)
2023-03-17 13:44:52 +01:00
Frank
72a77bea9c Merge remote-tracking branch 'upstream/main' into mdev 2023-03-16 16:54:23 +01: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
Frank
e3c359a4a4 npm run build
yo-man
2023-03-16 15:25:00 +01:00
Frank
5a829e103a center UM overview table
see https://www.w3schools.com/howto/howto_css_table_center.asp
2023-03-16 15:23:15 +01:00
Frank
991c2afedb adding wled00.ino.cpp to gitignore
to avoid future accidents in GH Desktop
2023-03-16 13:10:33 +01:00
Frank
cded92662f workaround for issue #3128 2023-03-16 13:08:34 +01:00
Frank
d9b5b9d4d6 handleSerial(): 100ms RX timeout (experimental)
experimental - this should avoid lockups when ESP32 is constantly receiving data (noise, junk, excessive communication)
2023-03-16 11:30:12 +01:00