Is there any possibilities to doing sound synthesis, or to have access to the sound stream for generating audio data?
If not, is it possible to implement the audio engine from LuaAV? (bsd like licence).
Codea with sound synthesis support would be great as a sound experimental tool for us sound design nerds!
Sounds like a great idea! (See what I did there?)
I implemented the current sound system in Codea. This is something I would be interested in implementing in the future, but no promises!
You would be the man I need to ask about the seeds for the sound() function, then! Wanting some more control over pitch, I roughly mapped an octave to the seeds. My script is here: https://gist.github.com/1336235
Do you have a complete mapping, or plans to support notes?
There is no deterministic mapping sadly. The sound system uses SFXR by Dr. petter. The seed is the random number generator seed value for that sound type and so the output is pseudorandom.
We were thinking about providing an interface to set the parameters for the sounds, but we thought a simple one would be best to start with.