Hi all,
I’m researching audio synthesis for computer games. I’ve written an audio engine that can synthesize sounds based on physical information of colliding objects i.e. generate contact sounds without using recorded samples. I’ve implemented the idea with my own simple physics and graphics engine (demonstrated at http://www.sarc.qub.ac.uk/~emullan/dsspe/) and now I want to make games that use the idea and I’m considering using Unity.
My question is, does Unity provide any way of accessing the sound card directly, i.e. send an audio stream to it? If not, I can do this job with a toolkit called STK (The Synthesis ToolKit in C++ (STK)) and my question becomes is Unity OK with using external libraries (it’s cross platform) and will Unity be OK with another process using the soundcard?
Many Thanks,
Eoin
I’m guessing if you have the Pro version, you can write a DLL that accesses the soundcard APIs that you need.
You can email Sales for a Unity Pro trial. 
-Will
I would assume this never happened.
Hoping to see this kind of thing working with unity free 
Hello,
I am guessing that writing a DLL to access soundcard and provide synthesis functions all in one would be a hard task, although you could find sad DLL in code from another program and adapt it.
It might be easier to generate midi or opens sound control messages from Unity, although that would be difficult as well.
I am looking forward to using some sound programming in unity one day, for the moment the only thing i expect to do is to use a bunch of samples… at worst you could import a sample CD with various instruments and use them as complete keyboards, I guess i would have to do that to make music apps like guitar hero, but actual SYNTHESIS requires a very dedicated synthesis DLL/EXE that can run in bkground and receive midi/sound event data from unity.
interesting!