Commit Graph

31396 Commits

Author SHA1 Message Date
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
Jeff Epler
e259f8d1ba
synthio: Move some divide-by-twos to get_buffer
these are always h-type buffers, so let's make the "len" be the element
count, not the byte count.
2023-05-21 13:22:44 -05:00
Hosted Weblate
894ddfbee7
Merge remote-tracking branch 'origin/main' 2023-05-21 06:14:19 +02:00
MicroDev
5885e2f365
Merge pull request #8012 from dhalbert/apt-get-update-mpy-cross
apt-get update before apt-get install for mpy-cross
2023-05-21 09:44:14 +05:30
Dan Halbert
e684d19c76 apt-get update before apt-get install for mpy-cross 2023-05-20 23:42:30 -04:00
rcarteraz
a4a4bdfeb0
Update board.c
Change column start from 52 to 53 to fix a line at the top of the display.
2023-05-20 18:33:37 -07:00
David Sullivan
b56bc36819
Merge pull request #1 from tkroo/lolin-s3-mini
Board files for LOLIN S3 MINI
2023-05-20 18:28:24 -07:00
David Sullivan
437d8d7a38
Board files for LOLIN S3 MINI 2023-05-20 18:17:10 -07:00
Scott Shawcroft
13eada2a15
Translated using Weblate (Turkish)
Currently translated at 24.9% (248 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/tr/
2023-05-21 02:49:38 +02:00
Scott Shawcroft
aeb41044aa
Translated using Weblate (Russian)
Currently translated at 33.6% (335 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ru/
2023-05-21 02:49:38 +02:00
Scott Shawcroft
446546f829
Translated using Weblate (English (United Kingdom))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/en_GB/
2023-05-21 02:49:37 +02:00
Bill Sideris
aaa14e7c1f
Translated using Weblate (Greek)
Currently translated at 18.0% (180 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/el/
2023-05-21 02:49:37 +02:00
Scott Shawcroft
3c84847e69
Translated using Weblate (Japanese)
Currently translated at 40.8% (406 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/ja/
2023-05-21 02:49:36 +02:00
Scott Shawcroft
240cdd0be8
Translated using Weblate (Chinese (Pinyin))
Currently translated at 100.0% (995 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/zh_Latn/
2023-05-21 02:49:36 +02:00
Scott Shawcroft
54f7d8a4ba
Translated using Weblate (Dutch)
Currently translated at 62.7% (624 of 995 strings)

Translation: CircuitPython/main
Translate-URL: https://hosted.weblate.org/projects/circuitpython/main/nl/
2023-05-21 02:49:35 +02:00