| hi all -
i have uploaded some UDOs which might be useful for working with filenames:
FilDir - returns the directory of a file path
"/my/dir/my/file.WAV" -> "/my/dir/my"
http://www.csounds.com/udo/displayOpcode.php?opcode_id=160
FilNam - returns the name of a file path
"/my/dir/my/file.WAV" -> "file.WAV"
http://www.csounds.com/udo/displayOpcode.php?opcode_id=161
FilSuf - returns the suffix of a filename or path, optional in lower case
"/my/dir/my/file.WAV" -> "WAV" or "wav" (depending on an optional parameter)
http://www.csounds.com/udo/displayOpcode.php?opcode_id=162
all these UDOs work at i-rate.
joachim
Send bugs reports to the Sourceforge bug tracker
https://sourceforge.net/tracker/?group_id=81968&atid=564599
Discussions of bugs and features can be posted here
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"
|