10000 i2s stereo is reversed in Raspberry Pi Pico · Issue #10230 · adafruit/circuitpython · GitHub
[go: up one dir, main page]

Skip to content

i2s stereo is reversed in Raspberry Pi Pico #10230

Closed
@VinceParsons

Description

@VinceParsons

CircuitPython version and board name

Verified on 8.x, 9.x, and even the 10 pre-releases. raspberry_pi_pico_w, but also verified on a pico 2w.

Code/REPL

import board
import audiobusio
import audiocore
import time

audioOut = audiobusio.I2SOut(bit_clock=board.GP8, word_select=board.GP9, data=board.GP7)
sound = audiocore.WaveFile("leftright.wav")
audioOut.play(sound)

while audioOut.playing:
	time.sleep(1)
	
print("done")

Behavior

No error messages, but left and right channels are reversed. The same code (pins adjusted, of course) on a WaveShare ESP32-S3-Zero works correctly.

Description

Only tried on i2s, not PWM audio. Is reversed whether or not a mixer is used, or whether file is .wav or .mp3.

Additional information

No response

Metadata

Metadata

Assignees

Labels

audiobugrp2Both RP2 microcontrollers

Type

No type

Projects

No projects

Relationships

None yet

Development

No branches or pull requests

Issue actions

    0