There are several ways.
Checkout the audiooutput example.
Load your binary file and convert it to a float vector with values from -1 to 1.
modify the audioOut method so a portion of your float vector is sent as audio.
↧
Open raw binary files and interpret as sound
↧