Comments (7)
That screenshot says "portAudio" not "pulseAudio" (which are different devices). Which were you intending to use?
from praat.
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.
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).
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.
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.
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.
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.
Great! Look forward to the update.
from praat.
Related Issues (20)
- `test_Sound_voiceActivity.praat` test fails with `runAllTests_batch.praat` random seed HOT 2
- Formula for converting PitchTier to Point Process HOT 2
- File test/fon/closeEditor_GUI.praat should be renamed to test/fon/closeEditor_GUI_.praat HOT 1
- Running cursor doesn't show HOT 1
- File `test/script/runScript.praat` should be renamed to `test/script/runScript_GUI_.praat` HOT 1
- [Linux musl] melder/melder_real.h: build fails in GCC 12 with "numeric_limits is not a member of std' HOT 3
- sys/praat.cpp - praat_cleanUpName - Why replacing ` ` and `.` characters by underscores? HOT 3
- Unterminated ifs and loops execute instead of throwing syntax error HOT 7
- autosave and version control HOT 1
- Allow refreshing the list of audio devices
- `Record Sound (fixed time)` cannot select USB input
- Compilation of praat.cpp fails on i386 with g++ 13 HOT 5
- Unable to find License information in the repository or via github interface
- Failing test on Windows because of mismatched path separator HOT 1
- Wrong output for "Create SpeechSynthesizer" in Praat 6.3.15 HOT 2
- Add license file to the repository HOT 2
- Extraneous files in 6.3.17 tarball HOT 4
- [feature request] please support save sound to disk as mp3 (in Menu: View & Edit>FIle>Save sound to disk) HOT 2
- Version 6.3.18 failing to build from source on i386 architecture HOT 11
- Allow selection of a boundary without clicking on it exactly
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
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.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from praat.