You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
and when audio was Vector{Float64} after changing that input to Vector{Float32} the underflow warning is gone.
Hopefully this helps to narrow down and fix the issue?
i get an error when trying to simultaneously read and write as described here:
Stacktrace
Stacktrace: [1] wait @ ./task.jl:352 [inlined] [2] fetch_messenger(messenger::PortAudio.Messenger{Float32, PortAudio.SampledSignalsReader, Tuple{…}, Int64}, task::Task) @ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:525 [3] close(stream::PortAudioStream{PortAudio.Messenger{…}, PortAudio.Messenger{…}}) @ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:896 [4] PortAudioStream(::var"#1#3", ::Int64, ::Vararg{Int64}; keywords::@kwargs{}) @ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:888 [5] PortAudioStream(::Function, ::Int64, ::Vararg{Int64}) @ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:883 [6] top-level scope @ REPL[8]:1caused by: TaskFailedException
Stacktrace:
[1] try_yieldto(undo::typeof(Base.ensure_rescheduled))
@ Base ./task.jl:931
[2] wait()
@ Base ./task.jl:995
[3] wait(c::Base.GenericCondition{ReentrantLock}; first::Bool)
@ Base ./condition.jl:130
[4] wait
@ ./condition.jl:125 [inlined]
[5] take_unbuffered(c::Channel{Int64})
@ Base ./channels.jl:494
[6] take!
@ ./channels.jl:471 [inlined]
[7] exchange
@ ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:1031 [inlined]
[8] unsafe_read!
@ ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:1053 [inlined]
[9] read!(source::PortAudio.PortAudioSource{…}, buf::SampledSignals.SampleBuf{…}, n::Int64)
@ SampledSignals ~/.julia/packages/SampledSignals/KYg5Q/src/SampleStream.jl:184
[10] read!
@ ~/.julia/packages/SampledSignals/KYg5Q/src/SampleStream.jl:222 [inlined]
[11] read
@ ~/.julia/packages/SampledSignals/KYg5Q/src/SampleStream.jl:63 [inlined]
[12] read(stream::PortAudioStream{PortAudio.Messenger{…}, PortAudio.Messenger{…}}, arguments::Int64)
@ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:928
[13] (::var"#1#3")(str::PortAudioStream{PortAudio.Messenger{…}, PortAudio.Messenger{…}})
@ Main ./REPL[8]:3
[14] PortAudioStream(::var"#1#3", ::Int64, ::Vararg{Int64}; keywords::@kwargs{})
@ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:886
[15] PortAudioStream(::Function, ::Int64, ::Vararg{Int64})
@ PortAudio ~/.julia/packages/PortAudio/HNBv4/src/PortAudio.jl:883
[16] top-level scope
@ REPL[8]:1
Some type information was truncated. Use
show(err)
to see complete types.same story when just trying to read as described in the docs:
ditto for just playing, though it actually did play something:
The text was updated successfully, but these errors were encountered: