Open raw binary files and interpret as sound

Hey guys,

in Audacity there is a possibility to import almost every raw file as sound files. Like images binaries and so on. Do we have a similar possibility in OF / c++?

Any ideas on this?

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.