JuliaAudio / PortAudio.jl

PortAudio wrapper for the Julia programming language, compatible with the JuliaAudio family of packages
Other
115 stars 19 forks source link

Synchronized Simultaneous Playback and Recording #101

Open abhayap opened 2 years ago

abhayap commented 2 years ago

Is it possible to get an option to get a synchronized simultaneous playback and record feature? I am recording impulse responses so this necessary.

bramtayl commented 2 years ago

I think this should be possible. Maybe first, we should add a unsafe_read_and_write! and read_and_write function to SampledSignals, and then write an unsafe_read_and_write! method here?

ssfrr commented 2 years ago

This turns out to be quite difficult to achieve in Julia through PortAudio. See my comment here: https://github.com/JuliaAudio/PortAudio.jl/issues/37#issuecomment-897313292