Hi, I am trying to develop a gui app for real time audio processing using PortAudio.jl
and Gtk.jl
. The following code is for just recording and playing back.
using PortAudio
# using Gtk
stream = PortAudioStream(1, 2)
println("recording")
sig_in = read(stream, 51200)
println("playing back")
write(stream, sig_in)
However, using Gtk
makes recording and playback take too much longer than it should. Recorded data looks fine, but it’s breaking up when played back.
How do I fix this problem?