Jeff Epler
04f4092e11
synthio: support audio outputs that need double buffering
...
closes #7837
tested on rp2040 pico w on pico dv shield
2023-04-05 11:57:13 -05:00
Jeff Epler
9679aaa0be
Apply suggestions from code review
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-04-05 11:57:06 -05:00
Jeff Epler
3038b9a560
Update shared-bindings/keypad/ShiftRegisterKeys.c
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-04-05 11:56:21 -05:00
Jeff Epler
685fdf29e3
remove include directory that doesn't exist
2023-04-05 10:31:05 -05:00
Jeff Epler
4c7b962d16
Increase synthio channels to 12 on rp2040
...
with the AudioMixer workaround for #7837 this appears to work
even up to 48kHz.
2023-04-05 10:30:57 -05:00
Jeff Epler
b9dea05dbf
Enable audiomixer on unix port, for testing
2023-04-05 09:02:03 -05:00
Jeff Epler
b011468251
Add synthio.Synthesizer
...
In contrast to MidiTrack, this can be controlled from Python code,
turning notes on/off as desired.
Not tested on real HW yet, just the acceptance test based on checking
which notes it thinks are held internally.
2023-04-02 20:37:23 -05:00
Jeff Epler
e0984fa195
Factor out the synthesizer from midi track
2023-04-02 18:54:07 -05:00
Jeff Epler
7bbb2ed898
add a basic acceptance test of MidiTrack
2023-04-02 13:48:23 -05:00
Jeff Epler
975c981e4f
fix some calls that needed to be _varg
2023-04-02 11:55:14 -05:00
Jeff Epler
8b05d11538
save 4 bytes memory since qstr constants are smol
2023-04-01 19:25:30 -05:00
Jeff Epler
62636cf722
Make a message more terse
...
This matches a bunch of other NotImplementedErrors
2023-04-01 19:24:06 -05:00
Jeff Epler
05cf5213e2
Allow disabling each class in keypad
...
.. for boards like pewpewm4 which need a specific kind. And need
some space.
2023-04-01 19:22:52 -05:00
Jeff Epler
736af5b0c8
update expected result
2023-04-01 13:12:00 -05:00
Jeff Epler
e728a0c1b9
switch to 16.16 fixed point for synthesis
2023-04-01 11:47:27 -05:00
Jeff Epler
e9e4ce9546
add waveform support in synthio
...
a waveform object (array of 'h') can be passed in, replacing the
standard square wave. This waveform must be a 'single cycle waveform'
and some obvious things to pass in are sine, triangle or sawtooth waves,
but you can construct whatever you like.
2023-04-01 11:46:38 -05:00
Jeff Epler
13e17e6dcd
Make synthio debuggable in unix coverage port
2023-04-01 11:46:36 -05:00
Jeff Epler
db1e01c462
Don't require huge buffers for long-held notes
2023-04-01 11:46:36 -05:00
Jeff Epler
7f73ff1b2d
hold accumulator phase across span
...
this fixes grunk in held notes
2023-04-01 11:46:35 -05:00
Jeff Epler
02f8a45dfa
synthio: allow increasing number of channels
...
12 channels works well on metro m7
2023-04-01 11:46:27 -05:00
MicroDev
e8711ee836
Merge pull request #7821 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-03-31 20:45:20 +05:30
Jonny Bergdahl
e4a002b96c
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-03-31 16:39:50 +02:00
Wellington Terumi Uemura
cef262fd5c
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-03-31 16:39:50 +02:00
Jose David M
3b60215ac9
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-03-31 16:39:49 +02:00
Ettore Atalan
72614ed09e
Translated using Weblate (German)
...
Currently translated at 100.0% (1002 of 1002 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/de/
2023-03-31 16:39:49 +02:00
Dan Halbert
b25c84efc7
Merge pull request #7820 from deneyapkart/main
...
Fix VID and Local_Hostname of DeneyapKart1A_v2
2023-03-31 08:21:05 -04:00
Dogus Cendek
dea5d1c4ea
Update .pre-commit-config.yaml
2023-03-31 11:50:43 +03:00
Dogus Cendek
eaa1c4e3be
Merge branch 'adafruit:main' into main
2023-03-31 11:49:39 +03:00
Dogus Cendek
2d48e9b0b7
Fix VID and Local_Hostname of DeneyapKart1A_v2
...
Fix VID and Local_Hostname of DeneyapKart1A_v2
2023-03-31 11:44:23 +03:00
Dan Halbert
9c587ccfec
Merge pull request #7819 from jepler/sort-website-release-blurb
...
sort new boards & new languages lists in circuitpython.org update PR
2023-03-30 21:34:09 -04:00
Jeff Epler
96b2604083
sort new boards & new languages lists in circuitpython.org update PR
2023-03-30 15:39:25 -05:00
Dogus Cendek
77236c31d8
Merge branch 'adafruit:main' into main
2023-03-30 18:49:13 +03:00
Dan Halbert
b07de078f9
Merge pull request #7818 from CDarius/m5stack_stickc_fixes
...
M5stack Stick-C fixes
2023-03-30 09:33:07 -04:00
CDario
1ea6d7b9f4
Updatate PMU initializaiton. Increased low battery waring levels and disabled some interrupts
2023-03-30 09:24:52 +00:00
CDario
808df200ab
Added pin connected to AXP192 N_VBUSSEN
2023-03-30 09:15:17 +00:00
CDario
24ed20b1fc
Fixed boot led inverted status
2023-03-30 09:06:34 +00:00
Dogus Cendek
bde6b2d395
Merge branch 'adafruit:main' into main
2023-03-30 08:51:09 +03:00
Dan Halbert
55c3e9f6c6
Merge pull request #7814 from thess/deep-sleep-wakeup
...
Allow web_workflow to startup after deep sleep alarm wakeup
2023-03-29 23:07:54 -04:00
MicroDev
b014e942a7
Merge pull request #7816 from dhalbert/gifio-doc-fix
...
doc typo fix in OnDiskGif
2023-03-30 07:37:16 +05:30
Dan Halbert
a10ce2170c
doc typo fix in OnDiskGif
2023-03-29 17:16:39 -04:00
Dan Halbert
b863fba992
Merge pull request #7813 from gneverov/issue_7790
...
don't set tcp_err callback for listen sockets (fixes #7790 )
2023-03-29 17:14:42 -04:00
Dan Halbert
9203b66142
Merge pull request #7815 from bill88t/intercontinental-ballistic-typo
...
24Mhz -> 240Mhz
2023-03-29 17:12:09 -04:00
Bill Sideris
b746fd05ba
24Mhz -> 240Mhz
2023-03-29 23:58:54 +03:00
Ted Hess
1a5afd485b
Allow web_workflow to startup after deep sleep alarm wakeup
2023-03-29 15:47:17 -04:00
Dan Halbert
5909ceacc6
Merge pull request #7806 from dhalbert/no-report-id-out-reports
...
Handle HID OUT reports with no report ID
2023-03-29 15:33:36 -04:00
Jeff Epler
703b8b2272
Merge pull request #7812 from dhalbert/merge-8.0.x-to-main
...
Merge #7810 from 8.0.x to main
2023-03-29 14:28:34 -05:00
Dan Halbert
81482a6f66
Merge remote-tracking branch 'adafruit/8.0.x' into merge-8.0.x-to-main
2023-03-29 14:52:49 -04:00
Gregory Neverov
173bc198c6
don't set tcp_err callback for listen sockets
2023-03-29 11:49:32 -07:00
Dan Halbert
6a4830b0cf
Merge pull request #7810 from jepler/read-error-getenv
...
getenv: treat a read error like eof
2023-03-29 13:04:43 -04:00
Ozgur BOSTAN
3ea5d4e91c
Merge branch 'adafruit:main' into main
2023-03-29 19:12:49 +03:00