Simple Terminal Command "No such file or directory" error

Joined
Jul 17, 2018
Messages
1
Reaction score
0
Hi,

I am by no means a programming aficionado. All I'm trying to do with the terminal is get it to output an audio file from a plain text file created by using the speech accessibility features.

The code I have is:

say -o "IntroAudio" -f "Intro"

The Intro.txt. file is directly in my user folder as I was concerned about using iCloud for my desktop. I've tried typing the command in with and without the .txt at the end and I get the "No such file or directory" each time.

Can anyone help a novice like myself?

Thanks!
 

Cory Cooper

Moderator
Joined
May 19, 2004
Messages
11,098
Reaction score
500
Hello and welcome.

-Which model Mac?
-Which version of OS X/macOS?

As I understand it, you are trying to "record" the audio from a text file that is being "read" by Accessibility > Speech into an audio file on your Desktop?

Here is an article that has the steps: How to Record Text to Speech Using Terminal

It may easier to create a TextEdit file and use the Services menu > Add to iTunes as a Spoken Track workflow. Those steps are here: Convert Text to Spoken Audio in Mac OS X the Easy Way.

Let us know if either of those work for you,

C
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Top