0

I have 2 float arrays one representing the left channel values and the other representing the right channel values. How can I create and play music from these two arrays?(Sample Rate = 44100) TIA

1 Answers1

0

Here is an example of what you want to do. You just have to change it to use 2 channels instead of 1 and change the fillBuffer function to fill the buffers using your values.

Vlad
  • 932
  • 6
  • 18