Closed
Description
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