efairbanks / cybin

A programming/performance environment for seamless online and offline audiovisual rendering.
28 stars 4 forks source link

Multiple options for handing off audio data to C++ audio system #14

Closed efairbanks closed 4 years ago

efairbanks commented 6 years ago

Right now Cybin calls a Lua function called __process(sr) that accepts the current sample rate and returns a float representing a single audio sample. Not only should this be modified to support multichannel audio, there should be a way to configure how audio is passed from Lua to the underlying audio system and what that system's responsibilities are.

For instance, perhaps we would rather work with an audio buffer of size N that provides frequency domain and time domain representations instead of a stream of samples.

efairbanks commented 4 years ago

nope- this is fine the way it is