[PD] change "sound.wav" to "sound.mp3"

Roman Haefeli reduzierer at yahoo.de
Mon May 14 20:13:17 CEST 2007

as far as i can think, there is no solution with only built-in objects.
at least, i don't know of a way to split a single symbol into a list,
which you certainly would need.
the is [symbol2list] from zexy, which is able to do that.
use [symbol2list .] to convert 'symbol yourfile.wav' to 'list yourfile
wav', then you can turn the last argument of the list 'wav' into
'mp3' (using select).

btw: a [symbol2list] (or whatever it should be called) is really missing
in pd, even more, since one can do the opposite (see franks [list-l2s]
from the list-abs).  


On Mon, 2007-05-14 at 19:40 +0200, altern wrote:
> hi
> i am trying to find out how to change the extension of a symbol with the 
> name of a file, from "sound.wav" to "sound.mp3". any ideas? if possible 
> i would like to avoid using externals for this.
> thanks
> enrike
> _______________________________________________
> PD-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list

Der frühe Vogel fängt den Wurm. Hier gelangen Sie zum neuen Yahoo! Mail: http://mail.yahoo.de

More information about the Pd-list mailing list