If this is the problem, you should still be able to play the sound by clicking on the gray rectangles of a highlighted section of audio under the spectrogram. Here’s the thread on GitHub.Īpparently, if you have the NumLock function activated, you won’t be able to hit tab in Praat to play a section of audio. You probably want to remove those source files on the Desktop, since you don’t need them anymore: $ cd $ sudo rm -r praatĪ friend of mine was still having problems with the sound after installing Praat on Linux, and he found a strange and simple solution. Now you can run Praat from anywhere, and you should have sound! $ praat So, we simply copy the file to where it goes: $ sudo cp. For Ubuntu users, this executable shoudl be in /usr/bin. So, to put Praat in the right place, you just copy that executable file. You should see that familiar, beautiful GUI. This error is telling you that the computer can’t find Praat, not that it’s not installed. The program 'praat' is currently not installed. `pkg-config -libs gtk+-2.0` -lm -lasound -lpthreadĪt this point you might think that you’re done, but if you try to run Praat from the command line, you get an error: $ praat G++ -o praat main/main_Praat.o fon/libfon.a \Ĭontrib/ola/libOla.a artsynth/libartsynth.a \įFNet/libFFNet.a gram/libgram.a EEG/libEEG.a \įon/libfon.a stat/libstat.a dwsys/libdwsys.a \Įxternal/espeak/libespeak.a external/portaudio/libportaudio.a \Įxternal/flac/libflac.a external/mp3/libmp3.a \Įxternal/glpk/libglpk.a external/gsl/libgsl.a \ Make: Leaving directory `/home/josh/Desktop/praat/main ' G++ -std =c++11 -DUNIX -Dlinux -DALSA -D_FILE_OFFSET_BITS =64 `pkg-config -cflags gtk+-2.0 ` -Werror =missing-prototypes -Werror =implicit -Wreturn-type -Wunused -Wunused-parameter -Wuninitialized -O1 -g1 -pthread -Wshadow -I. Make: Entering directory `/home/josh/Desktop/praat/main' Make: Leaving directory `/home/josh/Desktop/praat/contrib/ola ' Here’s the tail end of the output you should be getting. You’re going to get a lot of output at the command line, and it may take a couple mintues to finish. Now we can install Praat with the standard make command. gitattributes kar makefile num sysĭwsys EEG fon. git gram main makefiles statĬontrib dwtools FFNet. Now that we’ve made this new fs file, we can see it in our praat dir. We need to be in our new praat directory and save the ones that are relevant to us to a new file, fs. Now we need to get the definitions that are specific to Linux for our makefiles. gitignore kar main makefiles README.md sys gitattributes gram LPC makefile num stat testĬontrib dwtest EEG FFNet. Let’s take a look at what we’ve just got: $ la praatĪrtsynth dwsys dwtools external fon. Here are located all the files (Makefiles) to install it correctly. If you do an ls or la on your Desktop, you should see a new, praat directory. To get the most update version of Praat, let’s clone it from GitHub and just save it on our desktop. Here’s the command to get both at once: sudo apt-get install libasound2-dev libgtk2.0-dev ALSA is the Advanced Linux Sound Architecture. This package contains files required for developing software that makes use of libasound2, the ALSA library. To install on Ubuntu (or any other unix-like system), we first need to install a few dependencies. You can see the exact kernel on my version of Ubuntu below: $ uname -a So, I cloned from GitHub, did the install, and it worked! Since I couldn’t find other posts about the install and the GitHub page is little publicized on Praat’s home page, I will go through the steps here.įirst, in case it’s relevant for others I’m going to show a little info about my current setup. Sure enough, there it was, and it was reassuring to see that Paul Boersma was the one who had made the latest commits. They have a local version of the source, but I thought I’d just check on GitHub anyways. It’s strange, but there’s no mention that I could find of their source code being hosted on GitHub. Today I was on Praat’s website, looking through their installation page and their suggested steps to get Praat working, but then I thought installing from the latest source might be the solution. I remember reading a lot about alsa and pulsaudio, but not getting far. From what I can tell, a lot of Linux users hit this problem where they can see and edit sounds, but just not play them through speakers or headphones. I’ve gotten Praat to work before on Ubuntu, but it was a pain. I recently installed Ubuntu 14.04 on my Lenovo Yoga, and it’s time to reinstall Praat.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |