Hi,
I have a text file which I run via terminal via:
source say.txt
It contains 2 lines:
However, I wanted to load up 22 lines with different voices, and in future would like to change the words the say command says.
I thought I could just do that via Excel, loading up the say command statement by pulling in the variables from the different columns in excel - e.g.:
returns:
So I did that and get the same output seemingly via Excel for a 2 line test:
Trouble is that when I run it, the say command saves all of the output in the first file (hb01agnes.aif), and the first say command just carries on saying all of the actual command on line 2, instead of creating a new, 2nd file called hb02kathy.aif.
Is there an issue do you think with getting the data from excel, and the fact that the terminal doesn't like the way the line breaks are done in excel when it tries to read them?
Any advice much appreciated.
Thanks
I have a text file which I run via terminal via:
source say.txt
It contains 2 lines:
Code:
say -o hb01agnes.aif -v agnes happy birthday
say -o hb02kathy.aif -v kathy happy birthday
However, I wanted to load up 22 lines with different voices, and in future would like to change the words the say command says.
I thought I could just do that via Excel, loading up the say command statement by pulling in the variables from the different columns in excel - e.g.:
Code:
=F2&E2&A2&C2&G2&B2&H2&D2
returns:
Code:
say -o hb01agnes.aif -v agnes happy birthday
So I did that and get the same output seemingly via Excel for a 2 line test:
Code:
say -o hb01agnes.aif -v agnes happy birthday
say -o hb02kathy.aif -v kathy happy birthday
Trouble is that when I run it, the say command saves all of the output in the first file (hb01agnes.aif), and the first say command just carries on saying all of the actual command on line 2, instead of creating a new, 2nd file called hb02kathy.aif.
Is there an issue do you think with getting the data from excel, and the fact that the terminal doesn't like the way the line breaks are done in excel when it tries to read them?
Any advice much appreciated.
Thanks