change to 16khz, add audio filter, refactor to use DMA

This commit is contained in:
zyphlar
2026-07-04 03:28:13 -07:00
parent 8a6d096635
commit 0697c3d6f3
4 changed files with 333 additions and 201 deletions
+206 -26
View File
@@ -2883,6 +2883,12 @@
(color 0 0 0 0)
(uuid "27e5f52e-0ae1-42be-b638-2ba1b684ea4c")
)
(junction
(at 302.26 162.56)
(diameter 0)
(color 0 0 0 0)
(uuid "493dddab-eea7-4bd3-80f3-98e4f109b241")
)
(junction
(at 339.09 76.18)
(diameter 0)
@@ -2947,16 +2953,6 @@
)
(uuid "0a315227-f5b7-4de4-9dc2-5a9da0d1e499")
)
(wire
(pts
(xy 318.69 162.56) (xy 320.04 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "105d0608-0c50-435d-ab00-ee5708be0d5c")
)
(wire
(pts
(xy 342.9 92.69) (xy 342.9 92.61)
@@ -3067,6 +3063,16 @@
)
(uuid "39ffb2c8-fe04-4380-a8d4-b2edce0fe6c0")
)
(wire
(pts
(xy 302.26 166.45) (xy 302.26 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "3e8b71b2-91ca-4a51-b4ed-10be32554bc2")
)
(wire
(pts
(xy 207.01 201.93) (xy 207.01 204.47)
@@ -3187,6 +3193,16 @@
)
(uuid "5c62cb6a-8252-484a-be0e-c05c74bf8a38")
)
(wire
(pts
(xy 314.88 162.56) (xy 320.04 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "650f524d-d388-4dcd-b479-9ecdf63dc629")
)
(wire
(pts
(xy 231.14 229.87) (xy 243.84 229.87)
@@ -3267,6 +3283,16 @@
)
(uuid "8f5e7827-d21e-468e-b028-9b178eb97914")
)
(wire
(pts
(xy 302.26 162.56) (xy 299.72 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "93b77e73-d20f-4fe2-bf42-a7c0d0018958")
)
(wire
(pts
(xy 330.2 135.89) (xy 330.2 135.97)
@@ -3307,6 +3333,16 @@
)
(uuid "a2cef328-0826-46a6-997f-fcedb293b343")
)
(wire
(pts
(xy 304.8 162.56) (xy 302.26 162.56)
)
(stroke
(width 0)
(type default)
)
(uuid "a80cbefa-0f08-40b2-9854-090a0f94a904")
)
(wire
(pts
(xy 207.01 204.47) (xy 223.52 204.47)
@@ -3547,6 +3583,16 @@
)
(uuid "02b9416a-d87a-410f-8104-ff4ee4156d8d")
)
(label "AUDIO_PWM"
(at 292.1 162.56 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "14dfac6d-2b8c-4d46-b75d-10037718af51")
)
(label "GND"
(at 334.02 82.55 0)
(effects
@@ -3587,6 +3633,16 @@
)
(uuid "20059635-02ae-4ce0-8d0b-fbe46035b4f2")
)
(label "GND"
(at 302.26 176.45 270)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "206b27d5-3a5c-4ff1-8a01-a0976b0bb04c")
)
(label "GND"
(at 223.52 209.55 180)
(effects
@@ -3727,16 +3783,6 @@
)
(uuid "663e9f4c-2079-4248-a551-ced079e7c1e8")
)
(label "AUDIO_PWM"
(at 308.69 162.56 180)
(effects
(font
(size 1.27 1.27)
)
(justify right bottom)
)
(uuid "67c49a5e-335d-40a3-a3b6-ba2bd352f99e")
)
(label "C_BTN1"
(at 223.52 201.93 180)
(effects
@@ -4067,6 +4113,74 @@
)
(uuid "fcb61f0a-8efc-4687-bfbd-16fb3032447e")
)
(symbol
(lib_id "Device:R")
(at 295.91 162.56 270)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(fields_autoplaced yes)
(uuid "07a6ad63-d769-4a1d-a5f8-ac0dbcfcf37c")
(property "Reference" "R5"
(at 295.91 156.21 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "1K"
(at 295.91 158.75 90)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "Resistor_THT:R_Axial_DIN0204_L3.6mm_D1.6mm_P1.90mm_Vertical"
(at 295.91 160.782 90)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" "~"
(at 295.91 162.56 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" "Resistor"
(at 295.91 162.56 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(pin "1"
(uuid "0c6ee5ba-b07d-4d0b-9f2e-a2f679d3f5d5")
)
(pin "2"
(uuid "20ea8652-17f4-4f08-affb-aeb74ca61b56")
)
(instances
(project "baby-mobile-v5"
(path "/3033f063-d051-4b2e-89f5-f1cfe4577b32"
(reference "R5")
(unit 1)
)
)
)
)
(symbol
(lib_id "Jumper:SolderJumper_2_Bridged")
(at 227.33 232.41 0)
@@ -4205,7 +4319,7 @@
)
(symbol
(lib_id "bm:C")
(at 313.69 162.56 270)
(at 309.88 162.56 270)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
@@ -4213,7 +4327,7 @@
(dnp no)
(uuid "16705866-bee7-4f26-a10e-6f7bfbff4c09")
(property "Reference" "C5"
(at 310.896 165.608 0)
(at 307.086 165.608 0)
(effects
(font
(size 1.27 1.27)
@@ -4221,7 +4335,7 @@
)
)
(property "Value" "0.1uF"
(at 313.944 167.64 0)
(at 310.134 167.64 0)
(effects
(font
(size 1.27 1.27)
@@ -4229,7 +4343,7 @@
)
)
(property "Footprint" "Capacitor_SMD:C_0805_2012Metric"
(at 313.69 162.56 0)
(at 309.88 162.56 0)
(effects
(font
(size 1.27 1.27)
@@ -4238,7 +4352,7 @@
)
)
(property "Datasheet" ""
(at 313.69 162.56 0)
(at 309.88 162.56 0)
(effects
(font
(size 1.27 1.27)
@@ -4247,7 +4361,7 @@
)
)
(property "Description" ""
(at 313.69 162.56 0)
(at 309.88 162.56 0)
(effects
(font
(size 1.27 1.27)
@@ -4335,6 +4449,72 @@
)
)
)
(symbol
(lib_id "bm:C")
(at 302.26 171.45 0)
(unit 1)
(exclude_from_sim no)
(in_bom yes)
(on_board yes)
(dnp no)
(uuid "248137b6-5edd-42cd-819b-f475cf23c6e8")
(property "Reference" "C9"
(at 298.45 173.656 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Value" "1nF"
(at 298.196 171.116 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(property "Footprint" "Capacitor_SMD:C_0805_2012Metric"
(at 302.26 171.45 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Datasheet" ""
(at 302.26 171.45 0)
(effects
(font
(size 1.27 1.27)
)
(hide yes)
)
)
(property "Description" ""
(at 302.26 171.45 0)
(effects
(font
(size 1.27 1.27)
)
)
)
(pin "1"
(uuid "299b06dd-f42f-47c1-98ae-d0f74816099b")
)
(pin "2"
(uuid "4eb980db-42f4-43fe-bdba-41a0fb426a69")
)
(instances
(project "baby-mobile-v5"
(path "/3033f063-d051-4b2e-89f5-f1cfe4577b32"
(reference "C9")
(unit 1)
)
)
)
)
(symbol
(lib_id "Jumper:SolderJumper_2_Bridged")
(at 227.33 204.47 0)