Commit Graph

30683 Commits

Author SHA1 Message Date
Jeff Epler
992457c7f7
Improve documentation 2023-04-05 16:53:09 -05:00
Jeff Epler
9993b4b01c
Prevent playing the same note on 2 channels 2023-04-05 16:53:08 -05:00
Scott Shawcroft
6df88ac948
Merge pull request #7825 from jepler/better-synthio
Better synthio
2023-04-05 12:23:10 -07:00
Jeff Epler
f2e26e8bde
get the cmsis macros the right way 2023-04-05 13:37:18 -05:00
Dan Halbert
a8ea8ea81a
Merge pull request #7834 from dhalbert/adafruit-feather-rp2040-can
Add Adafruit Feather RP2040 CAN
2023-04-05 13:25:19 -04:00
Jeff Epler
14637cd75a
update tests with new expected results 2023-04-05 12:00:05 -05:00
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
Scott Shawcroft
34a525add7
Merge pull request #7829 from FoamyGuy/multi_display_group_in_use
only add circuitpython_splash to display if it's not in another group
2023-04-05 09:19:03 -07: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
Dan Halbert
4380b6db8b
Merge pull request #7835 from dhalbert/adafruit-feather-rp2040-usb-host
Add Adafruit Feather RP2040 USB Host
2023-04-04 23:46:35 -04:00
foamyguy
8bf94d03e4 try to fix multi-display reset 2023-04-04 20:31:42 -05:00
Dan Halbert
85cc21adc0 add Adafruit Feather RP2040 USB Host 2023-04-04 19:44:06 -04:00
Dan Halbert
44d7f4e7e1 fix Neopixel for RP2040 CAN 2023-04-04 19:33:39 -04:00
Dan Halbert
5d56ef06e7 Add Adafruit Feather RP2040 CAN 2023-04-04 19:16:39 -04:00
foamyguy
60e12c5c1d only add circuitpython_splash to display if it's not already in another group 2023-04-03 15:43:29 -05:00
Dan Halbert
4e7bbf70a6
Merge pull request #7826 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-04-03 14:51:29 -04: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
Hosted Weblate
74147c3e39
Merge remote-tracking branch 'origin/main' 2023-04-01 21:01:48 +02:00
Dan Halbert
cc0eeb430a
Merge pull request #7823 from dhalbert/wifi-connected
Add wifi.radio.connected, wifi.radio.ap_active
2023-04-01 15:01:43 -04:00
Hosted Weblate
a24b12ee10
Update translation files
Updated by "Update PO files to match POT (msgmerge)" hook in Weblate.

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/
2023-04-01 21:01:31 +02:00
Dan Halbert
4a14e4b55f
Merge pull request #7782 from jposada202020/adding_circle_bitmaptools
Adding circle bitmaptools
2023-04-01 15:01:20 -04: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
Dan Halbert
0aacb146ef take wifi.radio.enabled into account 2023-03-31 22:31:41 -04:00
jposada202020
2f3ea81277 correcting 2023-03-31 20:29:29 -04:00
jposada202020
df46636c5e improving range validation 2023-03-31 20:15:07 -04:00
Dan Halbert
5c429320a8 Add wifi.radio.connected, wifi.radio.ap_active 2023-03-31 17:57:53 -04: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