From: Jan S. <ha...@st...> - 2011-11-30 20:18:07
|
> >> 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 > then I use sox like so? > sox playlist.pls output.wav yes |