I2S Oscillator?

Can anyone share a simple C script to generate a triangle wave in I2S format?

Ideally, would like the flexibility to adjust sample-rate, bit-depth, and mono/stereo.

Or downloadable I2S sample data files containing music or other audio?

This is for testing a device that has I2S input.

thx!
 
Can anyone share a simple C script to generate a triangle wave in I2S format?
I2S is a hardware bus, not a data format.
Ideally, would like the flexibility to adjust sample-rate, bit-depth, and mono/stereo.

Or downloadable I2S sample data files containing music or other audio?
Again I2S is not a format - perhaps you want .wav files?
This is for testing a device that has I2S input.
Then you'll need a host device which can drive an I2S bus. What is your device/module?