ssfrr / AudioIO.jl

[UNMAINTAINED] - Simple Audio IO in Julia
MIT License
61 stars 24 forks source link

WARNING: libportaudio: Input overflowed #30

Closed maackle closed 9 years ago

maackle commented 9 years ago

Attempting to use play under any circumstances seems to lead to an endless stream of warnings, although the sound does play properly.

I'm using Mac OS X 10.9.4, Julia 0.3.1, and ran Pkg.add("AudioIO") today. Here's my session:

julia> using AudioIO

julia> play([1])
INFO: Initializing PortAudio. Expect errors as we scan devices
INFO: Scheduling PortAudio Render Task...
INFO: PortAudio Render Task Running...
WARNING: libportaudio: Input overflowed
AudioNodeWARNING: libportaudio: Output underflowed
{WARNING: libportaudio: Input overflowed
ArrayRenderer}(falseWARNING: libportaudio: Input overflowed
,ConditionWARNING: libportaudio: Input overflowed
({})WARNING: libportaudio: Input overflowed
,ArrayRendererWARNING: libportaudio: Input overflowed
(Float32WARNING: libportaudio: Input overflowed
[1.0842e-19],2,Float32[1.0842e-19]))

julia> WARNING: libportaudio: Input overflowed
WARNING: libportaudio: Input overflowed
WARNING: libportaudio: Input overflowed
WARNING: libportaudio: Input overflowed
ssfrr commented 9 years ago

See issue #29, I think it's likely the same underlying problem.

If you can go over to that issue and let us know what versions of Portaudio you're using it would really helpful.

Thanks for reporting, the fact that it's happening for you on OSX is an important clue.

maackle commented 9 years ago

Sure, do you know of a way to check the portaudio version on OS X?

dpsanders commented 9 years ago

I am having this same problem on OS X, except that the sound does not play properly -- it plays, but in a disjointed way. In the lilyplay.jl example, for example, the chords do not sound simultaneously.

It is often impossible to get the WARNING: libportaudio: Input overflowed messages to stop with Ctrl-C.

I have tried this on OS X 10.9.1 and 10.10 on two different machines, with Julia 0.3 and 0.4-dev.

dpsanders commented 9 years ago

OK, doing Pkg.clone and Pkg.build got rid of the WARNING messages. But the sound still does not play as I would be expecting -- it still sounds disjointed.