Commit Graph

31109 Commits

Author SHA1 Message Date
Jeff Epler
1847c2b72a
synthio: fix, rename voct_to_hz
todbot discovered that this function wasn't working right, and wasn't
well-named.
2023-05-23 19:38:24 -05:00
Dan Halbert
bb74be3319
Merge pull request #8022 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-05-23 18:56:42 -04:00
Hosted Weblate
0faf381e17
Merge remote-tracking branch 'origin/main' 2023-05-24 00:55:31 +02:00
Andi Chandler
d0138d4355
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-05-24 00:55:30 +02:00
Wellington Terumi Uemura
fd7f1f7c6a
Translated using Weblate (Portuguese (Brazil))
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/pt_BR/
2023-05-24 00:55:30 +02:00
Jose David M
02b19970a9
Translated using Weblate (Spanish)
Currently translated at 100.0% (997 of 997 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/es/
2023-05-24 00:55:29 +02:00
Dan Halbert
634226e9f2
Merge pull request #8023 from tkroo/lolin-s3-mini-again
board files for lolin-s3-mini
2023-05-23 18:55:16 -04:00
David Sullivan
3f845fe8fd board files for lolin-s3-mini 2023-05-23 14:24:28 -07:00
Hosted Weblate
caf0e6d924
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-05-23 21:48:21 +02:00
Dan Halbert
b26e4ca0ae
Merge pull request #7985 from jepler/synthio-lfo-dag
synthio: Add LFOs
2023-05-23 15:48:11 -04:00
Dan Halbert
2422179419
Merge pull request #8014 from tkroo/lolin-c3-pico
Board files for LOLIN C3 PICO
2023-05-23 15:02:20 -04:00
Scott Shawcroft
596773286d
Merge pull request #8016 from charlieh0tel/new-mimxrt1060-evkb-board
Adds MIMXRT1060-EVKB as new board.
2023-05-23 11:11:32 -07:00
Jeff Epler
2b42783301
Apply suggestions from code review
Co-authored-by: Dan Halbert <halbert@adafruit.com>
2023-05-23 08:57:16 -05:00
Christopher Hoover
49b1368d65 Changed PID to 0x813C. 2023-05-22 20:06:50 -07:00
Jeff Epler
122e00bdb3
document ring arguments to constructor
thanks Mark!
2023-05-22 21:59:39 -05:00
Jeff Epler
af40a173ba
synthio: midi_to_hz: remove arbitrary note number limitation
The underlying routine can return numbers for higher and lower
octaves. Other bits of the code might have frequency limitations
but that doesn't mean we shouldn't let someone get a ~4Hz "note"
by sending in (-12), because that's actually totally plausible as
an LFO frequency.
2023-05-22 21:58:09 -05:00
Jeff Epler
1b174f8b3d
synthio: remove "1-octave" caveat, is false now 2023-05-22 21:58:09 -05:00
Jeff Epler
5b4d621fd2
synthio: explicitly cast away const to satisfy compiler 2023-05-22 21:58:08 -05:00
Jeff Epler
167aa30f12
synthio: remove if0'd code
thanks tannewt
2023-05-22 21:58:04 -05:00
David Sullivan
a163273ee0
Update ports/espressif/boards/lolin_c3_pico/mpconfigboard.h
update board I2C pins.

Co-authored-by: Dan Halbert <halbert@halwitz.org>
2023-05-22 19:00:16 -07:00
Scott Shawcroft
9040ac8bc6
Merge pull request #8003 from dhalbert/esp-touch-alarm-fix
Esp touch alarm fix
2023-05-22 13:43:54 -07:00
David Sullivan
a5df186fa7 change copyright notice 2023-05-22 13:30:36 -07:00
Scott Shawcroft
3f7e6db4fa
Merge pull request #8015 from dhalbert/rp2040-sleep-memory
RP2040 SleepMemory
2023-05-22 13:08:37 -07:00
David Sullivan
7048ce46b1 match pins to what wemos uses 2023-05-22 10:06:50 -07:00
Dan Halbert
b1a28bc0ae
Merge pull request #8009 from weblate/weblate-circuitpython-main
Translations update from Hosted Weblate
2023-05-22 12:07:11 -04:00
Jeff Epler
8626130af7
synthio: Add default triangle waveform to LFO, improve docs 2023-05-22 10:53:29 -05:00
Jeff Epler
1059c99f6e
synthio: Add tests of each varying lfo input
I looked at all the results and they pleased me
2023-05-22 10:45:28 -05:00
Jeff Epler
3790fd4117
synthio: Add tests of all synthio math blocks
I plotted and eyeballed these and they all looked plausible
2023-05-22 10:45:21 -05:00
David Sullivan
393c0bb1f6 move sck, scl, and sda pin assignments 2023-05-21 23:27:58 -07:00
Christopher Hoover
73299ae48c Adds new board for MIMRT1060-EVKB (not to be confused with MIMRT1060-EVK). 2023-05-21 17:42:30 -07:00
Jeff Epler
4f671dab6f
synthio: one more doc fix 2023-05-21 19:15:34 -05:00
Dan Halbert
955d2723d0 RP2040 SleepMemory 2023-05-21 19:05:25 -04:00
Jeff Epler
4d60c4608e
synthio: doc fixes 2023-05-21 17:49:30 -05:00
David Sullivan
0a1b2f8771 include neopixel lib 2023-05-21 14:30:51 -07:00
David Sullivan
a64d66846b remove leftover files 2023-05-21 12:45:23 -07:00
Hosted Weblate
157f1d8957
Merge remote-tracking branch 'origin/main' 2023-05-21 21:30:56 +02:00
Dan Halbert
fe1d7786cf
Merge pull request #8011 from rcarteraz/main
Fix LILYGo T-Display RP2040 Display Column Start
2023-05-21 15:30:49 -04:00
David Sullivan
ebd7e29b98 create files 2023-05-21 11:35:11 -07:00
David Sullivan
612dbc0500 update board name 2023-05-21 11:34:54 -07:00
David Sullivan
18213c4e87 increment creation id 2023-05-21 11:34:33 -07:00
Jeff Epler
ac02a2668e
synthio: avoid exceptions inside get_buffer
.. in case the items in lfos are not actually LFOs
2023-05-21 13:22:50 -05:00
Jeff Epler
78e75f6977
synthio: enable additional LFO test cases 2023-05-21 13:22:49 -05:00
Jeff Epler
c5615995d9
synthio: fix docstring 2023-05-21 13:22:49 -05:00
Jeff Epler
823a02c0b7
synthio: Add a new test of synthio.LFO 2023-05-21 13:22:49 -05:00
Jeff Epler
11c110e0da
synthio: remove 'none' case from lfo_tick 2023-05-21 13:22:48 -05:00
Jeff Epler
c084ab92c8
synthio: Enable synthio.MathOperation.SUM(3,4,5) 2023-05-21 13:22:48 -05:00
Jeff Epler
76101c035e
core: Allow enum types to specify additional fields in the object
this will be used to make MathOperation enum values callable to
construct a Math object with that function
2023-05-21 13:22:48 -05:00
Jeff Epler
4ff08e02eb
synthio: lfo: bugfixes & improvements
LFO waveforms are now linearly interpolated by default, but a new
property (interpolated=False) can disable this.

The 'once' logic was improved
2023-05-21 13:22:47 -05:00
Jeff Epler
e6c4d12eaf
synthio: doc improvement 2023-05-21 13:22:47 -05:00
Jeff Epler
e0cfae1d05
synthio: add (untested) phase offset 2023-05-21 13:22:46 -05:00