olofson / audiality2

A realtime scripted modular audio engine for video games and musical applications.
http://audiality.org/
zlib License
79 stars 5 forks source link

Implement a wrapper program for playing waves in a2play #310

Closed olofson closed 7 years ago

olofson commented 7 years ago

When passing a wave (rather than a program) to the -p switch, play it using a built-in wrapper program that plays the wave, and responds to additional arguments in the same manner as a basic "instrument."

The clever way of doing it would be to actually generate and compile the wrapper program on demand, so it doesn't have to take the wave handle as an argument. That way, waves could be used as actual instruments with MIDI - but for that to be of any real use, #302 is needed.