From: Jeff S. <jef...@gm...> - 2011-11-30 20:50:04
|
On Wed, Nov 30, 2011 at 1:17 PM, Jan Stary <ha...@st...> wrote: >> >> I created a second simple script to create a playlist from my dot dash >> >> space output from my first script. >> > >> > Does "playlist" mean "a syntactically valid PLS file"? >> > >> I could create that with the script instead. >> all I had where a list of file names which I used mplayer -playlist >> playlist.m3u like I said too large a gap when trying this >> >> playlist.m3u looked as follows for sos >> >> dot.ogg >> inter.ogg >> dot.ogg >> inter.ogg >> dot.ogg >> inter.ogg >> inter.ogg >> inter.ogg >> dash.ogg >> inter.ogg >> dash.ogg >> inter.ogg >> dash.ogg >> inter.ogg >> inter.ogg >> inter.ogg >> dot.ogg >> inter.ogg >> dot.ogg >> inter.ogg >> dot.ogg >> >> >> mplayer waits too long between switching files so I thought combining >> >> them and playing that might be the best way to have it do what I'd >> >> like. >> >> So my question: >> >> Is there a way to have sox use a list of files to concatenate together? >> > >> > Yes; SoX supports the 'playlist' (*.pls) format. >> > >> so if I create a playlist.pls like so >> [playlist] >> File1=dot.pcm >> Title1=dot >> length1=-1 >> File2=inter.pcm >> Title2=pause >> length2=-1 >> File3=dot.pcm >> Title3=dot >> length3=-1 >> File4=inter.pcm >> Title4=pause >> length4=-1 >> ... >> NumberOfEntries=<how many there are> >> Version=2 > > You don't need to put the titles and lengths in there. > It would suffice to have just > > [playlist] > File1=dot.pcm > File2=inter.pcm > File3=dot.pcm > File4=inter.pcm > awesome them my project could be done in minutes when I get home thanks > >> then I use sox like so? >> sox playlist.pls output.wav > > yes > > > ------------------------------------------------------------------------------ > All the data continuously generated in your IT infrastructure > contains a definitive record of customers, application performance, > security threats, fraudulent activity, and more. Splunk takes this > data and makes sense of it. IT sense. And common sense. > http://p.sf.net/sfu/splunk-novd2d > _______________________________________________ > Sox-users mailing list > Sox...@li... > https://lists.sourceforge.net/lists/listinfo/sox-users > |