Commit Graph

30962 Commits

Author SHA1 Message Date
Jeff Epler
f68ab9c5c2
synthio: Fix FIR filtering when audio is stereo 2023-05-12 14:00:32 -05:00
Jeff Epler
03abc623ef
synthio: note: fix assigning bend & tremolo coefficients dynamically 2023-05-12 14:00:31 -05:00
Jeff Epler
522c5a9a11
synthio: fix crash on synthesizer.press((float,)) 2023-05-12 14:00:31 -05:00
Scott Shawcroft
0a3faf8c9d
Merge pull request #7959 from jepler/synthio-bend-pan-ring
Synthio: next round of features
2023-05-12 08:54:49 -07:00
Scott Shawcroft
db8bd56c6c
Merge pull request #7946 from anecdata/ap_ipv4
Allow Access Point static IPv4 on the espressif port
2023-05-12 08:47:07 -07:00
Scott Shawcroft
02d4c8153b
Merge pull request #7953 from jepler/issue7944-v3
Fix some regressions on feather M7
2023-05-12 08:34:39 -07:00
Dan Halbert
e8194a6087
Merge pull request #7967 from bojanpotocnik/add_missing_esp32s3_pins
Add missing ESP32-S3 pins to microcontroller module
2023-05-12 10:25:31 -04:00
Bojan Potočnik
74624e7c22
Add missing ESP32-S3 pins to microcontroller module
ESP32-S3 defines two additional general use pins in
ports/espressif/peripherals/esp32s3/pins.h, for which
support is missing in the microcontroller module HAL.
2023-05-12 09:10:26 +02:00
Jeff Epler
5a5474b5dc
mimxrt: 101x: MIDI_RX_BUFSIZE must be 512
It's not clear why this is required, but otherwise it stops
midi_intest1 from ever receiving any MIDI events.

Closes: #7944
2023-05-11 21:47:54 -05:00
Jeff Epler
137e55696e
Merge pull request #7964 from tannewt/fix_imx_usb_reset
Correct pad count.
2023-05-11 21:47:36 -05:00
Jeff Epler
585b1c23b5
synthio: Fix sweep-type pitch bends
The accumulator saturate logic was wrong, and the sweep was never restarted
either
2023-05-11 19:13:11 -05:00
Jeff Epler
bc7feb30a5
synthio: implement FIR filtering
A 37-tap filter worked fine on RP2040 (prop maker) at 48kHz, so
you can probably pretty much go nuts on M7.
2023-05-11 19:00:44 -05:00
Jeff Epler
f52bb65da6
synthio: add some new manual tests 2023-05-11 18:59:06 -05:00
Jeff Epler
62e6de8ed5
synthio: Factor out synth_note_into_buffer, start adding filter buffer 2023-05-11 18:59:05 -05:00
Jeff Epler
9d8dcf7d33
synthio: endorse new test result 2023-05-11 18:59:02 -05:00
Jeff Epler
7845a1b13b
synthio: Add filter boolean property to Note objects 2023-05-11 17:58:09 -05:00
Jeff Epler
33fb771b76
synthio: Add filter argument to Synthesizer constructor
as step 1/n of adding FIR filtering
2023-05-11 17:56:11 -05:00
Jeff Epler
d3eda0ad52
synthio: fix a typing error 2023-05-11 17:32:42 -05:00
Scott Shawcroft
99a7047484
Merge pull request #7960 from thess/workflow_init
Do not enable web_workflow background callbacks if wifi is not enabled/connected
2023-05-11 15:25:26 -07:00
Mark
6b703ea733
Merge pull request #7963 from dhalbert/esp-spi-baudrate
Report SPI frequency accurately on Espressif
2023-05-11 17:13:39 -05:00
Scott Shawcroft
a56174dc10
Correct pad count.
This prevents running into the pins that cannot be reset. On 1011
it was off by one pin that isn't attached to the package. So,
having the USB pins forbidden prevented resetting to a NULL address.

Fixes #7952
2023-05-11 15:02:56 -07:00
Jeff Epler
53e13f15a3
synthio: Finish ading SWEEP_IN 2023-05-11 16:53:40 -05:00
Ted Hess
9c45551880 Do not enable web_workflow background callbacks if wifi is not enabled/connected 2023-05-11 17:01:53 -04:00
Dan Halbert
d99b0634f7 Report SPI frequency accurately on Espressif 2023-05-11 16:57:07 -04:00
Jeff Epler
17df238145
synthio: doc fixes, rename BendType to BendMode 2023-05-11 15:23:54 -05:00
Jeff Epler
23baf02399
synthio: disable on a few boards where it doesn't fit 2023-05-11 15:22:48 -05:00
Scott Shawcroft
c75a768b59
Merge pull request #7949 from FoamyGuy/group_contains_stub
adding __contains__ stub to displayio.Group
2023-05-11 10:00:39 -07:00
Jeff Epler
cbd02b74df
synthio: endorse updated test result 2023-05-11 10:22:55 -05:00
Jeff Epler
ec30963731
synthio: fix a -Warray-parameter diagnostic 2023-05-11 10:21:56 -05:00
Jeff Epler
89080564b4
synthio: Fix release time of zero-sustain envelopes
When there's no sustain, the release step needs to be calculated from
the attack level, not the sustain level. Otherwise, contrary to intent,
this leads to the actual release taking a loooonnngg time.
2023-05-11 10:19:48 -05:00
Jeff Epler
095e020809
synthio: Add ring modulation 2023-05-11 09:31:18 -05:00
Jeff Epler
e87e7ee54f
synthio: add stereo & Note.panning
A note can be placed in the center (panning=0) or moved to just the left
(panning=1) or right (panning=-1) channels. Fractional panning values
place it partially in both channels.
2023-05-11 09:31:18 -05:00
Jeff Epler
2062b2bfb7
synthio: add a noise program to the manual tests 2023-05-11 09:31:08 -05:00
Jeff Epler
1d1907b98b
synthio: Generalize vibrato into bend
bend can be static, sweep, or vibrato
2023-05-11 09:31:07 -05:00
Jeff Epler
c48d385e94
synthio: Add synthio.BendType 2023-05-11 09:31:07 -05:00
Jeff Epler
91978522c5
synthio: Add adafruit_wave and use it in the manual test 2023-05-11 09:31:07 -05:00
foamyguy
c9bb53b48a adding __iter__ stub to displayio.Group 2023-05-11 07:52:03 -05:00
Scott Shawcroft
93b0e5b746
Merge pull request #7958 from ajs256/add-display-sprig
Add board.DISPLAY to hack_club_sprig
2023-05-10 11:45:19 -07:00
Alex Sirota
55d8f0db4e Add board.DISPLAY to hack_club_sprig 2023-05-10 11:24:26 -07:00
Scott Shawcroft
08874af0e8
Merge pull request #7957 from tekktrik/dev/stubs-building
Updated how stubs are built
2023-05-10 11:20:24 -07:00
Tekktrik
57cd451245 Add build to pio install command 2023-05-09 22:31:24 -04:00
Tekktrik
6f8670a284 Updated how stubs are built 2023-05-09 22:01:24 -04:00
Scott Shawcroft
7e734df892
Merge pull request #7951 from Neradoc/pystack-doc-and-size
Document CIRCUITPY_PYSTACK_SIZE
2023-05-09 09:14:17 -07:00
Scott Shawcroft
f8cbdf88e5
Merge pull request #7947 from FoamyGuy/polygon_point_typecheck
validate point type is tuple in vectorio Polygon
2023-05-09 09:12:17 -07:00
Neradoc
bb2af51d25 document CIRCUITPY_PYSTACK_SIZE 2023-05-09 14:30:25 +02:00
anecdata
29bf64decb raspberrypi common-hal f(x)s Not Implemented 2023-05-08 22:41:33 -05:00
foamyguy
7c685477ba adding __contains__ stub to displayio.Group 2023-05-08 16:41:57 -05:00
foamyguy
56d9798b1d validate point type is tuple in vectorio Polygon 2023-05-08 15:39:19 -05:00
Scott Shawcroft
9e4dea7b15
Merge pull request #7933 from jepler/synthio-note
synthio: add 'Note' with arbitrary frequency and more
2023-05-08 13:32:37 -07:00
anecdata
82c173e8cf assuming the answer to that is 'yes' 2023-05-08 14:26:01 -05:00