Different voices sometimes pronounce the text in different ways, so one solution to weird-sounding speech is to try another voice. wav files sound like the text you meant for them to sound like. You can replace “Kate” with any voice available on your system by removing “Kate” from the code and typing your preferred voice instead. This code uses the MacOS voice “Kate” (a female voice with a British accent). wav file for each entry from “words.txt”. In a few seconds, the directory containing “words.txt” will also include a. The “ls” command lists the folders in the current directory. ![]() will move you to the directory one above where you are. TLDR: the “cd” (current directory) command is what you need. Here’s a lesson on how to navigate via command line. Open iTerm, and navigate to the folder where your “words.txt” file is located. ![]() It should look something like this one we recently used to generate audio files for a digit span task: Line break after each word or phrase that you want to generate a sound file for.
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |