Git Product home page Git Product logo

Comments (7)

drammock avatar drammock commented on June 21, 2024

That screenshot says "portAudio" not "pulseAudio" (which are different devices). Which were you intending to use?

from praat.

jjatria avatar jjatria commented on June 21, 2024

Oh, you're right. I guess it's too late here. :)

Which were you intending to use?

I'm not sure I understand this question, though. I wasn't intending to use a specific device. I mean, most of my system runs with PulseAudio, so I wasn't intending to change anything about that. But when using the recent versions of Praat this comes up every time I try to play a sound.

from praat.

drammock avatar drammock commented on June 21, 2024

What I meant, @jjatria, is: please confirm which device you had selected. I for one would often get errors during sound playback on pre-6.0 versions of praat, e.g., when playing a sound in praat just after using the keyboard hotkeys to change system volume level. I still get those errors with praat 6.0.04 if I ask praat to use ALSA via PortAudio (see screenshot, and note the different error message) but so far I never get errors when praat 6.0.04 output sound system is set to use PulseAudio (much gratitude to @PaulBoersma for this enhancement, by the way).

screenshot from 2015-11-03 20 28 27

Your error, in contrast, appears to be praat failing to connect to PulseAudio, and asking you to switch to ALSA via PortAudio as a fallback. I have no speculations as to why this is happening; all I can say is that playing sounds works well for me via PulseAudio on both Ubuntu 14.04 (laptop) and Xubuntu 14.04 (desktop). So unfortunately this is a "cannot reproduce" (albeit not on an identical system), and the best I can suggest is combing through the numerous Linux PulseAudio troubleshooting guides. Hopefully others have more encouraging things to say.

from praat.

PaulBoersma avatar PaulBoersma commented on June 21, 2024

Could it be, José, that your Praat binary was created by yourself, with a makefile that doesn't link with libpulse and that doesn't set HAVE_PULSEAUDIO?

from praat.

jjatria avatar jjatria commented on June 21, 2024

Could it be, José, that your Praat binary was created by yourself

No, all these were versions that I downloaded from the web. The first were downloaded from <praat.org>, but I tried the ones from Github as well, just in case. The error is still there.

I for one would often get errors during sound playback on pre-6.0 versions of praat, e.g., when playing a sound in praat just after using the keyboard hotkeys to change system volume level

I've also had those errors for a long time, but for some reason the new PulseAudio support does not work for me. Not sure what step to take to troubleshoot this further.

please confirm which device you had selected

What I tried to say in the first post was that PulseAudio is selected by default, and that doesn't work, but selecting ALSA over PortAudio works. The problem is that these settings get reset for me across sessions. Any idea why that might be?

from praat.

PaulBoersma avatar PaulBoersma commented on June 21, 2024

Haha, I found it! It turns out that my hunch about the wrong makefile was very close. I suddenly remembered you telling me you used the 32-bit edition, and indeed all those positive reports we received about audio now suddenly working were from 64-bit Linuxes.

So it is us who used the wrong makefile for the 32-bit edition. When you build from sources with the right makefile.defs, you'll hear PulseAudio at work. Will publish 6.0.05 with the correct libs for 32-bit Linux, and that version will also fix the preference setting. Fortunately, Rafael used the correct makefile for his Debian package.

from praat.

jjatria avatar jjatria commented on June 21, 2024

Great! Look forward to the update.

from praat.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.