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
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).
roman
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@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
i guess i have to stick to PD extended version, thanks.
Roman Haefeli(e)k dio:
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).
roman
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@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
Hallo, Roman Haefeli hat gesagt: // Roman Haefeli wrote:
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).
Or be lazy and just "convert" "sound.wav" to "sound.wav.mp3", which is easy.
Frank Barknecht _ ______footils.org_ __goto10.org__
i'd do
[splitfilename .] | [makefilename %s.mp3] |
splitfilename is iemlib i believe.
m.
Am 14.05.2007 um 19:40 schrieb altern:
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@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/ listinfo/pd-list