 Jamais Vu
|
curious…are u running this on ubuntu or windows? i know it should be platform independent but just checking… :)
|
 Brad
|
It’s on Ubuntu. You might be able to do it all with cygwin on Windows, but I haven’t tried…
|
 Jamais Vu
|
lol is there a book called “ubuntu for retards”? cause i need it. It appears damn near every line of the script is causing errors. i got past the first one (the auto format is not installed by default) now it doesn’t know what the heck norm is and i cant find how to install it, it doesn’t to appear to be an option by default on my sox and i can’t find what i need online. lol if anyone has an answer that doesn’t take much effort id appreciate it…until then, I’ll continue my googling. :) Thanks!
|
 Brad
|
Huh, that’s actually maybe only the second bash script I’ve written so it’s possible I’m the retard.
I’m running Ubuntu 8.10, generally as root. It’s pretty much a stock installation, the only things I remember adding were in the readme file with the script.
|
 Jamais Vu
|
cool thanks…ill poke around and if i figure it out ill post it here…whether it was stupid on my part or not..lol
|
 rogerroll
|
I just got this working on an Intel-based Mac running OS 10.5. It took awhile. Everything installed/ran fine except for the following. Here are the problems I encountered and the solutions:
flite was a pain in the ass to install because it returned an error when you ran make. Namely, there were conflicting definitions of “swab” in a couple of header files. The solution is to temporarily comment out the swab definition in usr/include/string.h and remake it. The (mildly dangerous) workaround can be found here: http://lists.berlios.de/pipermail/festlang-talk/2008-June/002518.html
From here, there were a few problems I ran into.
The first is to make sure that the location of SOX and SOXI in crossfade_cat.sh is set properly. (For me, /usr/bin/sox rather than /usr/local/bin/sox)
Second, for whatever reason the second if statement (line 8) in podcastit.sh was returning an error, so I commented it out.
Finally, it was only creating a norm2.wav file and no norm1.wav file. I found out this is because seq is called jot on OS X and the syntax appears slightly different. I edited “for i in 'seq 1 $SONGS';” to “for i in 'jot $SONGS 1';” (backticks replaced with apostrophes due to forum syntax)
Works great now.
|
 Brad
|
Huh, interesting. It’s a pretty ramshackle script, I didn’t test it anywhere but my own server, where it continues to run okay.
What are you using it for?
|
 rogerroll
|
I’m in the process of combining it with an Applescript so that you can easily export an iTunes playlist to a podcast file and then auto-FTP upload it to a server. On the server, I’ve got a PHP script that automatically crawls through folders to generate a Podcast XML file.
|
 Brad
|
Oh awesome, sounds cool! Let me know if you get it rolling.
|
 rogerroll
|
I’ve got a copy of it running here for a few of my friends:
http://www.howcollective.com/mixtapes/
|