Jeff Epler
b5c33a4c03
Add a manual test of synthio
...
this allows to test how the midi synthesizer is working, without access
to hardware. Run `micropython-coverage midi2wav.py` and it will create
`tune.wav` as an output.
2023-04-25 12:05:53 -05:00
Jeff Epler
12c1a72f03
synthio: implement envelope
...
This works for me (tested playing midi to raw files on host computer, as
well as a variant of the nunchuk instrument on pygamer)
it has to re-factor how/when MIDI reading occurs, because reasons.
endorse new test results
.. and allow `-1` to specify a note with no sustain (plucked)
2023-04-25 12:05:53 -05:00
Jeff Epler
375a9cd4c5
add Synthesizer.release
2023-04-25 12:05:50 -05:00
Dan Halbert
63d2902785
Merge pull request #7908 from Neradoc/fix-scorpio-neopixel-pin
...
Fix Scorpio on-board neopixel pin
2023-04-25 11:53:19 -04:00
Neradoc
2bee4926f9
Fix Scorpio on-board neopixel pin
2023-04-25 17:22:04 +02:00
RetiredWizard
076cd1fab4
Nope, can't use the COSMO-pico vid/pid pair
...
Setting back, at least temporarily to the Adafruit pair.
2023-04-25 11:14:48 -04:00
RetiredWizard
361608119c
Change VID/PID to be Raspberry Pi values
...
Spotted the Cosmo_pico port on circuitpython.org which is the same class of device as the Pimoroni PICO dv so I'm switching the VID/PID to use the Raspberry Pi owned values rather than the Adafruit values just as the Como device uses.
2023-04-25 10:33:13 -04:00
Jeff Epler
ca6ea83ff5
Fix non_negative
validator to allow 0.0
2023-04-24 22:19:38 -05:00
Jeff Epler
c4104898ce
add additional float validators
2023-04-24 22:19:38 -05:00
Scott Shawcroft
87fc5eff26
Re-enable partial updates when available
2023-04-24 16:24:33 -07:00
Dan Halbert
abb0d5e620
Merge pull request #7899 from RetiredWizard/displayioDOC
...
Doc fix for root_group=None behaviour
2023-04-24 18:57:29 -04:00
Scott Shawcroft
3ee8d0b5cb
Merge pull request #7878 from gamblor21/gifio_palettes
...
Palettes for OnDiskGif
2023-04-24 12:44:53 -07:00
Dan Halbert
b5a26c7f99
Merge pull request #7890 from FoamyGuy/vectorio_unsigned_warning
...
remove abs() from radius
2023-04-24 13:54:05 -04:00
Dan Halbert
2b95fc3029
Merge pull request #7893 from tannewt/fix_rp2040_idle
...
Fix RP2040 idle
2023-04-24 13:53:12 -04:00
Dan Halbert
aae1b1d093
Merge pull request #7892 from FoamyGuy/validate_terminal_tilegrid_size
...
add minimum validation for tilegrid size in terminalio.Terminal
2023-04-24 13:52:35 -04:00
Dan Halbert
338534420f
Merge pull request #7900 from dglaude/patch-1
...
This is about picodvi not rgbmatrix
2023-04-24 13:52:12 -04:00
Dan Halbert
ac82f8f90b
document displayio.CIRCUITPYTHON_TERMINAL
2023-04-24 13:43:09 -04:00
Scott Shawcroft
adfb9b196b
Merge pull request #7889 from stonehippo/wio-terminal-pins-note
...
Added notes re the RTL8720D pins
2023-04-24 10:42:19 -07:00
Scott Shawcroft
e667c233a4
Merge pull request #7895 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-04-24 10:35:37 -07:00
Hosted Weblate
45594ed47b
Merge remote-tracking branch 'origin/main'
2023-04-24 19:17:55 +02:00
Scott Shawcroft
029c941f72
Merge pull request #7897 from thess/localhost-debug-fix
...
Fix web-editor debug on non-standard port using localhost (CORS)
2023-04-24 10:17:49 -07:00
Dan Halbert
b9c7cd4028
describe instance more precisely
2023-04-24 12:58:40 -04:00
Dan Halbert
738f626663
Code formatting in doc
2023-04-24 12:54:37 -04:00
Jeff Epler
8e3c28e97d
Fix memoryview.cast
in micropython-coverage
...
`locals_dict` and `attr` are incompatible, so just use circuitpython-style
properties so that a property and a method are both available.
this makes no difference in circuitpython, where
`MICROPY_PY_BUILTINS_MEMORYVIEW_ITEMSIZE` is never enabled
2023-04-23 09:41:26 -05:00
David Glaude
6aa3e7d8a6
This is about picodvi not rgbmatrix
...
There might be another way or other place where the documentation does not match the code.
But this is the most obvious, that's why I found it.
2023-04-23 10:58:02 +02:00
RetiredWizard
3cf712556b
Add CIRCUITPYTHON_TERMINAL usage description
2023-04-23 01:03:13 -04:00
RetiredWizard
0c00220aa6
Removing unrelated change by local pre-commit
2023-04-23 00:52:48 -04:00
RetiredWizard
b2b24231bc
local pre-commit changes
2023-04-23 00:45:38 -04:00
RetiredWizard
b0ea28a031
Doc fix for root_group=None behaviour
2023-04-23 00:33:14 -04:00
Ted Hess
ccbb6a58fb
Fix web-editor debug on non-standard port using localhost (CORS)
2023-04-22 13:09:18 -04:00
Jose David M
a6545d6341
Translated using Weblate (Spanish)
...
Currently translated at 100.0% (999 of 999 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-04-22 17:51:10 +02:00
Andi Chandler
14b69d750f
Translated using Weblate (English (United Kingdom))
...
Currently translated at 100.0% (999 of 999 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-04-22 08:48:53 +02:00
Jonny Bergdahl
964a94929a
Translated using Weblate (Swedish)
...
Currently translated at 100.0% (999 of 999 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/sv/
2023-04-22 08:48:52 +02:00
Wellington Terumi Uemura
73fde93218
Translated using Weblate (Portuguese (Brazil))
...
Currently translated at 100.0% (999 of 999 strings)
Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-04-22 08:48:52 +02:00
Scott Shawcroft
b59f0e17be
Fix RP2040 idle
...
Don't idle from main if we scheduled an interrupt for 0 ticks in
the future.
Have RP2040 detect wakes that happen between setting the timer and
the idle call.
Fixes #7361
2023-04-21 16:04:23 -07:00
foamyguy
56fd7dcf0a
add minimum validation for tilegrid size in terminalio.Terminal
2023-04-21 18:00:16 -05:00
foamyguy
01197a96d1
remove abs() from radius
2023-04-21 16:54:46 -05:00
George White
031667ebd0
Added notes re the RTL8720D pins
...
The Wio Terminal includes a RealTek RTL8720D as a companion to the main chip to provide WiFi and Bluetooth capabilities via eRPC over a UART connection. The WIO Terminal schematic labels some pins as the RXD/TXD for the UART, and that was captured in the board definition for CircuitPython. However, these pins may be used for logging in another mode, but they are not the main pins used to communicate with the RTL chip. The correct configuration is RX on PC24/pad 2 and TX on PB24/pad 0 of SERCOM 0. The comments on the pin definitions now reflect this situation, for anyone trying to get the WiFi/BLE to work on the Wio Terminal.
2023-04-21 17:41:52 -04:00
Scott Shawcroft
b16037859c
Fix native epd boards
2023-04-21 14:36:35 -07:00
Scott Shawcroft
d5b747b305
Fix board inits
2023-04-21 13:23:01 -07:00
Scott Shawcroft
7089ea4d65
Add address_little_endian for displayio
...
Add address_little_endian for epaper displays with little endian
(low byte first) addresses.
Also clears allocated display and display bus memory so it has a
known state. The acep member wasn't always set so it varied
accidentally.
Fixes #7560 . May fix #7778 . Fixes #5119 .
2023-04-21 12:19:29 -07:00
Mark
ae7303221d
Update doc that Palette may not always be there
...
Co-authored-by: Scott Shawcroft <scott@tannewt.org>
2023-04-21 11:21:29 -05:00
Scott Shawcroft
d078bc3ae1
Merge pull request #7882 from weblate/weblate-circuitpython-main
...
Translations update from Hosted Weblate
2023-04-21 09:13:28 -07:00
RetiredWizard
b3c8575b81
Update for Pimoroni Pico dv pins/connectors
2023-04-20 21:22:39 -04:00
gamblor21
afae39765f
PR review fixups
2023-04-20 18:26:04 -05:00
Hosted Weblate
74f42afc50
Merge remote-tracking branch 'origin/main'
2023-04-20 20:55:40 +02:00
Dan Halbert
5014ddb43c
Merge pull request #7854 from CDarius/m5stack_core2
...
Add M5Stack Core2
2023-04-20 14:55:33 -04:00
Hosted Weblate
d6b66b1854
Merge remote-tracking branch 'origin/main'
2023-04-20 20:52:30 +02:00
Dan Halbert
81c5a37e2d
Merge pull request #7867 from RetiredWizard/DispIOSizeValid
...
displayio arg validation tweaking
2023-04-20 14:52:24 -04:00
Hosted Weblate
8cc44f2b90
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-20 20:50:34 +02:00