Content-Length: 685073 | pFad | http://github.com/adafruit/circuitpython/pull/9876/commits/a0b482c2806ac19962ed26f2d4bbe5ebdef3406a

03 Fix handling of stereo audio within `audiodelays` when `freq_shift=True` by relic-se · Pull Request #9876 · adafruit/circuitpython · GitHub
Skip to content

Fix handling of stereo audio within audiodelays when freq_shift=True #9876

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Closed
Closed
Show file tree
Hide file tree
Changes from 2 commits
Commits
Show all changes
30 commits
Select commit Hold shift + click to select a range
398eb45
Always update `echo_buffer_len` during `recalculate_delay` when `freq…
relic-se Dec 6, 2024
cf6086d
Fix casting error in buffer length calculation.
relic-se Dec 6, 2024
83fce94
Fix handling of echo buffer when `freq_shift=True` and `channel_count…
relic-se Dec 6, 2024
9e36143
Reset buffer if changing `freq_shift` modes.
relic-se Dec 6, 2024
76caf0c
Merge remote-tracking branch 'upstream/main' into audiodelays_stereo_…
relic-se Jan 24, 2025
f4b5a35
Merge branch 'main' into audiodelays_stereo_freq_shift_fix
relic-se Feb 5, 2025
b3afaea
implement ColoConverter for TilePaletteMapper
FoamyGuy Mar 7, 2025
2f4cd74
Use MICROPY_HW_MCU_NAME for sysname and nodename for all ports.
eightycc Mar 18, 2025
9b3731c
Remove watchdog.deinit() for 10.0.0.
eightycc Mar 19, 2025
68561fc
Merge pull request #10144 from eightycc/issue-7722
tannewt Mar 19, 2025
9b89ee8
update docstring to new name
FoamyGuy Mar 19, 2025
8afdccc
check if pins exist before using
FoamyGuy Mar 19, 2025
7c0fa46
Suspected typo: last "S" in "STM32F412xGS"
page200 Mar 19, 2025
8ef2168
Merge pull request #10150 from page200/patch-1
dhalbert Mar 19, 2025
df33271
CIRCUITPY_FULL_BUILD now controls a few more features
dhalbert Mar 20, 2025
214c2f6
Factor common_hal_os_uname into os_uname() and remove common_hal_os_u…
eightycc Mar 20, 2025
b4698a5
Merge branch 'main' into audiodelays_stereo_freq_shift_fix
relic-se Mar 20, 2025
e40b1f5
Merge pull request #10145 from eightycc/issue-9686
tannewt Mar 20, 2025
429efe8
Merge pull request #10148 from FoamyGuy/usb_deviceinfo_fix
tannewt Mar 20, 2025
a0b482c
Merge pull request #10152 from dhalbert/use-full-build-for-some-features
tannewt Mar 20, 2025
afb153e
Merge branch 'main' into tile_palette_mapper_color_converter
FoamyGuy Mar 23, 2025
9ba4104
Merge pull request #10178 from adafruit/9.2.x
dhalbert Mar 26, 2025
70fe5cd
Merge pull request #10173 from FoamyGuy/tile_palette_mapper_color_con…
tannewt Mar 27, 2025
1876c71
Convert completely to new displayio bindings; remove warnings
dhalbert Mar 28, 2025
ca063ae
Update TinyUSB and close device endpoints
tannewt Mar 28, 2025
5202806
Merge pull request #10193 from dhalbert/remove-old-displayio-bus-bind…
tannewt Mar 28, 2025
14eb89a
Merge pull request #10194 from tannewt/update_tinyusb_close_ep
dhalbert Mar 28, 2025
25216c8
Merge pull request #10195 from dhalbert/9.2.x
dhalbert Mar 28, 2025
db3a47d
Merge branch 'adafruit:main' into audiodelays_stereo_freq_shift_fix
relic-se Mar 28, 2025
232c7ff
Revert "Merge branch 'adafruit:main' into audiodelays_stereo_freq_shi…
relic-se Mar 29, 2025
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 0 additions & 3 deletions ports/analog/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

#include <stdint.h>

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// 24KiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000

Expand Down
3 changes: 1 addition & 2 deletions ports/atmel-samd/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -68,8 +68,7 @@
#define MICROPY_PY_SYS_PLATFORM "MicroChip SAME54"
#endif
#define SPI_FLASH_MAX_BAUDRATE 24000000
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)

// MICROPY_PY_ERRNO_LIST - Use the default

#endif // SAM_D5X_E5X
Expand Down
4 changes: 1 addition & 3 deletions ports/broadcom/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,9 +13,7 @@

#define CIRCUITPY_MCU_FAMILY broadcom
#define MICROPY_PY_SYS_PLATFORM "BROADCOM"
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (1)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#if BCM_VERSION == 2837 || BCM_VERSION == 2711
#define MICROPY_OBJ_REPR (MICROPY_OBJ_REPR_A)
#elif BCM_VERSION == 2835
Expand Down
2 changes: 0 additions & 2 deletions ports/cxd56/boards/spresense/mpconfigboard.h
Original file line number Diff line number Diff line change
Expand Up @@ -18,5 +18,3 @@

#define DEFAULT_UART_BUS_RX (&pin_UART2_RXD)
#define DEFAULT_UART_BUS_TX (&pin_UART2_TXD)

#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
3 changes: 0 additions & 3 deletions ports/cxd56/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

#define MICROPY_PY_SYS_PLATFORM "CXD56"

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// 64kiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE (0x10000)

Expand Down
3 changes: 0 additions & 3 deletions ports/espressif/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,9 +17,6 @@

#define CIRCUITPY_DIGITALIO_HAVE_INPUT_ONLY (1)

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#include "py/circuitpy_mpconfig.h"

#define MICROPY_NLR_SETJMP (1)
Expand Down
2 changes: 0 additions & 2 deletions ports/litex/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,6 @@

#define CIRCUITPY_INTERNAL_NVM_SIZE (0)
#define MICROPY_NLR_THUMB (0)
#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#include "py/circuitpy_mpconfig.h"

Expand Down
4 changes: 0 additions & 4 deletions ports/mimxrt10xx/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -17,10 +17,6 @@ extern uint8_t _ld_filesystem_end;
extern uint8_t _ld_default_stack_size;

#define CIRCUITPY_DEFAULT_STACK_SIZE ((uint32_t)&_ld_default_stack_size)
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (0)
#define MICROPY_PY_FUNCTION_ATTRS (0)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)


#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_START_ADDR ((uint32_t)&_ld_filesystem_start)
#define CIRCUITPY_INTERNAL_FLASH_FILESYSTEM_SIZE ((uint32_t)(&_ld_filesystem_end - &_ld_filesystem_start))
Expand Down
2 changes: 0 additions & 2 deletions ports/nordic/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -13,8 +13,6 @@
#include "nrf_sdm.h" // for SD_FLASH_SIZE
#include "peripherals/nrf/nvm.h" // for FLASH_PAGE_SIZE

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)
#define MICROPY_PY_SYS_STDIO_BUFFER (1)

// 24kiB stack
Expand Down
3 changes: 0 additions & 3 deletions ports/raspberrypi/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -16,9 +16,6 @@
#define MICROPY_PY_SYS_PLATFORM "RP2350"
#endif

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// Setting a non-default value also requires a non-default link.ld
#ifndef CIRCUITPY_FIRMWARE_SIZE
#define CIRCUITPY_FIRMWARE_SIZE (1020 * 1024)
Expand Down
3 changes: 0 additions & 3 deletions ports/renode/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -8,9 +8,6 @@

#define MICROPY_PY_SYS_PLATFORM "Renode"

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

#define MICROPY_USE_INTERNAL_PRINTF (1)

// This also includes mpconfigboard.h.
Expand Down
3 changes: 0 additions & 3 deletions ports/silabs/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -29,9 +29,6 @@

#include <stdint.h>

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

// 24kiB stack
#define CIRCUITPY_DEFAULT_STACK_SIZE 0x6000

Expand Down
3 changes: 0 additions & 3 deletions ports/stm/mpconfigport.h
Original file line number Diff line number Diff line change
Expand Up @@ -9,9 +9,6 @@

#include <stdint.h>

#define MICROPY_PY_FUNCTION_ATTRS (1)
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (1)

extern uint8_t _ld_default_stack_size;

// 24kiB stack
Expand Down
22 changes: 22 additions & 0 deletions py/circuitpy_mpconfig.h
Original file line number Diff line number Diff line change
Expand Up @@ -93,6 +93,7 @@ extern void common_hal_mcu_enable_interrupts(void);
#define MICROPY_OPT_COMPUTED_GOTO_SAVE_SPACE (CIRCUITPY_COMPUTED_GOTO_SAVE_SPACE)
#define MICROPY_OPT_LOAD_ATTR_FAST_PATH (CIRCUITPY_OPT_LOAD_ATTR_FAST_PATH)
#define MICROPY_OPT_MAP_LOOKUP_CACHE (CIRCUITPY_OPT_MAP_LOOKUP_CACHE)
#define MICROPY_OPT_MPZ_BITWISE (0)
#define MICROPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE (CIRCUITPY_OPT_CACHE_MAP_LOOKUP_IN_BYTECODE)
#define MICROPY_PERSISTENT_CODE_LOAD (1)

Expand Down Expand Up @@ -224,31 +225,52 @@ typedef long mp_off_t;

// Turning off FULL_BUILD removes some functionality to reduce flash size on tiny SAMD21s
#define MICROPY_BUILTIN_METHOD_CHECK_SELF_ARG (CIRCUITPY_FULL_BUILD)

#ifndef MICROPY_CPYTHON_COMPAT
#define MICROPY_CPYTHON_COMPAT (CIRCUITPY_FULL_BUILD)
#endif

#ifndef MICROPY_CPYTHON_EXCEPTION_CHAIN
#define MICROPY_CPYTHON_EXCEPTION_CHAIN (CIRCUITPY_FULL_BUILD)
#endif

#define MICROPY_PY_BUILTINS_POW3 (CIRCUITPY_BUILTINS_POW3)
#define MICROPY_PY_FSTRINGS (1)
#define MICROPY_MODULE_WEAK_LINKS (0)
#define MICROPY_PY_ALL_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)

#ifndef MICROPY_PY_BUILTINS_COMPLEX
#define MICROPY_PY_BUILTINS_COMPLEX (CIRCUITPY_FULL_BUILD)
#endif

#define MICROPY_PY_BUILTINS_FROZENSET (CIRCUITPY_FULL_BUILD)

#ifndef MICROPY_PY_BUILTINS_NOTIMPLEMENTED
#define MICROPY_PY_BUILTINS_NOTIMPLEMENTED (CIRCUITPY_FULL_BUILD)
#endif

#define MICROPY_PY_BUILTINS_STR_CENTER (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_STR_PARTITION (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_BUILTINS_STR_SPLITLINES (CIRCUITPY_FULL_BUILD)

#ifndef MICROPY_PY_COLLECTIONS_ORDEREDDICT
#define MICROPY_PY_COLLECTIONS_ORDEREDDICT (CIRCUITPY_FULL_BUILD)
#endif

#ifndef MICROPY_PY_COLLECTIONS_DEQUE
#define MICROPY_PY_COLLECTIONS_DEQUE (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_COLLECTIONS_DEQUE_ITER (CIRCUITPY_FULL_BUILD)
#define MICROPY_PY_COLLECTIONS_DEQUE_SUBSCR (CIRCUITPY_FULL_BUILD)
#endif

#ifndef MICROPY_PY_FUNCTION_ATTRS
#define MICROPY_PY_FUNCTION_ATTRS (CIRCUITPY_FULL_BUILD)
#endif

#ifndef MICROPY_PY_REVERSE_SPECIAL_METHODS
#define MICROPY_PY_REVERSE_SPECIAL_METHODS (CIRCUITPY_FULL_BUILD)
#endif

#define MICROPY_PY_RE_MATCH_GROUPS (CIRCUITPY_RE)
#define MICROPY_PY_RE_MATCH_SPAN_START_END (CIRCUITPY_RE)
#define MICROPY_PY_RE_SUB (CIRCUITPY_RE)
Expand Down
Loading








ApplySandwichStrip

pFad - (p)hone/(F)rame/(a)nonymizer/(d)eclutterfier!      Saves Data!


--- a PPN by Garber Painting Akron. With Image Size Reduction included!

Fetched URL: http://github.com/adafruit/circuitpython/pull/9876/commits/a0b482c2806ac19962ed26f2d4bbe5ebdef3406a

Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy