faust
faust copied to clipboard
Integrate native rust audio libraries (CPAL)
Hey gang! The CPAL project seems to be the direction that rust audio is working in as "the way" to do audio interfacing in that language. I was playing with faust generated rust code and was thinking that it should use https://github.com/RustAudio/cpal under the hood as one of the architectures. I'm adding this issue more as a means of tracking things rather than a "do this for me please" because I know how much work you've all got on your plates!
In any case, I'm curious what maintainers and people think. Thank!
That would be great yes !
For now we have JACK (https://github.com/grame-cncm/faust/blob/master-dev/architecture/minimal-jack.rs) and PortAudio (https://github.com/grame-cncm/faust/blob/master-dev/architecture/minimal-portaudio.rs) architectures that could be used as examples.
CPAL in progresse with this commit: https://github.com/grame-cncm/faust/commit/ef4ddf8cdaecdb5da66bac99b6aed6b964e56ef3, which adds a new faust2cpalrust
script.
Duplex mode is still not supported in CPAL (see https://github.com/RustAudio/cpal/pull/553). So better wait for that before moving on.
Ah makes sense!