“Works fine. You can use the sine_wave demo in the pico-playground repo as example code. You'll need to change the pins being used for i2s control:
diff --git i/audio/sine_wave/sine_wave.c w/audio/sine_wave/sine_wave.c
index c6f62c7..04f41f0 100644
--- i/audio/sine_wave/sine_wave.c
+++ w/audio/sine_wave/sine_wave.c
@@ -54,8 +54,8 @@ struct audio_buffer_pool *init_audio() {
const struct audio_format *output_format;
#if USE_AUDIO_I2S
struct audio_i2s_config config = {
- .data_pin = PICO_AUDIO_I2S_DATA_PIN,
- .clock_pin_base = PICO_AUDIO_I2S_CLOCK_PIN_BASE,
+ .data_pin = 9, //PICO_AUDIO_I2S_DATA_PIN,
+ .clock_pin_base = 10, //PICO_AUDIO_I2S_CLOCK_PIN_BASE,
.dma_channel = 0,
.pio_sm = 0,
};
That demo runs at 24000 samples/sec with 16 bit samples.”