Commit graph

3324 commits

Author SHA1 Message Date
d1aaf38a5c audioio: the backwards-compatible names were removed for 6.0.0. 2025-01-25 11:15:25 -06:00
Cooper Dalrymple
815f829cae
Merge branch 'adafruit:main' into audiofilters_distortion 2025-01-23 13:32:42 -06:00
Samantaz Fox
7f66a3739f canio: Update platform specific documentation 2025-01-20 15:08:37 +01:00
dcooperdalrymple
d84cdbc998 Update Distortion class docstring. 2025-01-17 15:43:17 -06:00
Cooper Dalrymple
e18e5b2d24
Merge branch 'adafruit:main' into audiofilters_distortion 2025-01-17 15:20:09 -06:00
Dan Halbert
cc061556d9 shared-bindings/usb_midi/__init__.c: document Windows MIDI name length restriction 2025-01-13 23:44:32 -05:00
Keith Murray
a28e64ba32
Typo fix in RTC.c to fix rp2040 chip name 2025-01-09 18:24:35 -06:00
Dan Halbert
57cf054e26
Merge pull request #9912 from patricksurry/demux-keymatrix-delay
fix: Add delay to DemuxKeyMatrix along with columns_to_anodes and transpose options
2025-01-03 12:42:17 -05:00
Patrick Surry
029a29a770 fix failing test 2024-12-25 17:37:04 -05:00
Patrick Surry
fdb38ccc11 wip: include transpose and columns_to_anodes options 2024-12-25 13:29:47 -05:00
dcooperdalrymple
a5956eab82 Revert to original functionality when synthio is not supported. 2024-12-20 11:24:06 -06:00
Cooper Dalrymple
542c7c9c19 Implement level as BlockInput. 2024-12-19 20:33:42 -06:00
62f8923155 Partially revert "rgbmatrix: Avoid leaving an incompletely configured display bus" 2024-12-16 14:31:58 -06:00
dcooperdalrymple
4257c62a8a Variable number of samples within shared_bindings_synthio_lfo_tick. 2024-12-12 10:10:29 -06:00
dcooperdalrymple
0410d22601 Added soft_clip property to toggle between hard clipping (default) and soft clipping. 2024-12-11 12:17:01 -06:00
dcooperdalrymple
222ce2c782 Apply similar updates to audiofilters.Filter and audiodelays.Echo: MICROPY_FLOAT_CONST, MP_ROM_INT, and synthio_block_slot_get_limited. 2024-12-10 09:33:35 -06:00
dcooperdalrymple
89f2ae10a3 Remove unnecessary kwarg setters. 2024-12-10 08:50:19 -06:00
dcooperdalrymple
155f197fe6 Convert default float values from null checks to MP_ROM_INT. 2024-12-10 08:44:07 -06:00
Cooper Dalrymple
6481b4e8e7
Merge branch 'adafruit:main' into audiofilters_distortion 2024-12-10 08:31:03 -06:00
413e577220
Merge branch 'main' into mixervoice-loop-property 2024-12-05 08:37:54 -06:00
Dan Halbert
2bb9fc4af0
Merge pull request #9865 from jepler/rgbmatrix-cleanup-failure
rgbmatrix: Avoid leaving an incompletely configured display bus
2024-12-04 22:21:05 -05:00
Scott Shawcroft
76a2a49d94
Merge pull request #9862 from jepler/audiomixer-nonstandard-setter
no need to support kwargs in a setter
2024-12-04 13:51:15 -08:00
79f34566bf
Merge branch 'main' into mixervoice-loop-property 2024-12-04 14:43:27 -06:00
bc691c21fb
Merge branch 'main' into rgbmatrix-cleanup-failure 2024-12-04 13:57:13 -06:00
Paul Warren
372759f728 shared-module/audiomixer: expose MixerVoice->loop property. 2024-12-04 19:41:57 +00:00
ed5c0bd465 rgbmatrix: Avoid leaving an incompletely configured display bus
I did not reproduce the exact problem reported; however, I reproduced
that a failure to construct an RGBMatrix object would leave CircuitPython
in an inconsistent state with a display bus registered but not working:

```py
>>> import rgbmatrix, board; rgbmatrix.RGBMatrix(width=64, bit_depth=1, rgb_pins=[], addr_pins=[], clock_pin=board.A0, latch_pin=board.A1, output_enable_pin=board.A2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
ValueError: The length of rgb_pins must be 6, 12, 18, 24, or 30
>>> import rgbmatrix, board; rgbmatrix.RGBMatrix(width=64, bit_depth=1, rgb_pins=[], addr_pins=[], clock_pin=board.A0, latch_pin=board.A1, output_enable_pin=board.A2)
Traceback (most recent call last):
  File "<stdin>", line 1, in <module>
RuntimeError: Too many display busses; forgot displayio.release_displays() ?
```

After the fix the second call also results in a ValueError, not a
RuntimeError, which is correct.

Closes #9674
2024-12-04 12:11:45 -06:00
dcooperdalrymple
412737d677 Removed unneeded kwarg handler in setters. 2024-12-04 11:45:31 -06:00
8a5bfc15b5 no need to support kwargs in a setter
Noticed during review of #9861
2024-12-04 10:08:19 -06:00
Scott Shawcroft
cfd4117d96
Merge pull request #9828 from JetForMe/main
Added basic Espressif PDM microphone support #7454
2024-12-02 13:18:13 -08:00
Cooper Dalrymple
a7060f0a11
Merge branch 'adafruit:main' into audiofilters_distortion 2024-11-27 17:41:35 -06:00
Dan Halbert
0cc0da0706 update usb_hid boot device documentation 2024-11-26 14:21:16 -05:00
Rick M
70b310b887 Added basic Espressif PDM microphone support #7454 2024-11-24 19:52:24 -08:00
Dan Halbert
d08cecfeb8 keypad: add doc that reset() can be used to determine keys held down at startup 2024-11-19 17:45:25 -05:00
Dan Halbert
7cf9608187 I2CTarget: remove unneeded self type checks; do deinit checks; board shrink 2024-11-14 15:01:12 -05:00
Dan Halbert
62e84c4b1f shared-bindings/i2ctarget/I2CTarget.c: add finaliser 2024-11-14 13:43:40 -05:00
Cooper Dalrymple
064c3f310b
Merge branch 'adafruit:main' into audiofilters_distortion 2024-11-13 08:29:13 -06:00
RetiredWizard
5f1a331367 Typo in BusDisplay param documentation 2024-11-12 16:07:35 -05:00
Mark
92ef41083a
Merge pull request #9756 from jepler/synthio-blockbiquad
synthio: Add a form of biquad filter that uses BlockInputs
2024-11-10 17:43:58 -06:00
411ba7af3d add notch filter to docs 2024-11-10 14:36:07 -06:00
de9b0b6b1b
Merge pull request #9772 from relic-se/audiofilters_filterlist 2024-11-10 09:13:34 -06:00
c06e6ee03e BlockBiquad: Use Q as argument name
Synthesizer.lpf takes `Q` as the argument name, use the same convention
here.
2024-11-07 13:59:23 -06:00
6ff3860ec8 Synthesizer: Match documentation to implementation.
The docstrings incorrectly gave the name of the argument; the code
only accepts the argument name "Q":
```
     { MP_QSTR_Q, MP_ARG_OBJ, {.u_obj = MP_OBJ_NULL } },
```
2024-11-07 13:58:18 -06:00
dcooperdalrymple
941e1228f2 Rename filters back to filter and support individual Biquad object and tuple of Biquad objects. 2024-11-07 13:03:59 -06:00
Cooper Dalrymple
dfe9836e35 Update loop docstrings to demonstrate BlockInput implementation. 2024-11-04 11:25:51 -06:00
Cooper Dalrymple
ce3e83d474 Update ring_frequency and ring_bend with MP_ARG_KW_ONLY. 2024-11-04 11:13:04 -06:00
dcooperdalrymple
e2a52afa93 Add support for synthio.BlockInput on synthio.Note.waveform_loop_start, synthio.Note.waveform_loop_end, synthio.Note.ring_waveform_loop_start, and synthio.Note.ring_waveform_loop_end. 2024-11-03 20:30:06 -06:00
dcooperdalrymple
ce12d90160 Fix default value of synthio.Note.amplitude in documentation. 2024-11-03 20:00:35 -06:00
dcooperdalrymple
1008dd5a1b Simplify audiofilters.DistortionMode.LOFI sample processing with bit mask. 2024-10-31 11:11:45 -05:00
dcooperdalrymple
3a16dafef8 Remove audiofilters.DistortionMode.ATAN 2024-10-31 10:44:05 -05:00
dcooperdalrymple
46ebae1598 Remove separate DistortionMode code files. 2024-10-31 10:33:09 -05:00