[PD] Move a file from within Pd?
Jamie Bullock
jamie at jamiebullock.com
Mon May 11 12:18:39 CEST 2015
Hi,
AFAICT neither [shell] nor [popen] results in portable Pd code, i.e. the specific shell commands are OS-dependent.
In any case, I decided to write a new external for the job. In case anyone is interested: [copy] can be used to copy files portably from Pd: http://sourceforge.net/p/pure-data/svn/HEAD/tree/trunk/externals/postlude/copy/
best,
Jamie
On 28 April 2015 at 00:18:35, tim vets (timvets at gmail.com) wrote:
[shell] or [popen] ?
On 28 Apr 2015 00:47, "Jamie Bullock" <jamie at jamiebullock.com> wrote:
Can anyone suggest a way to move a file in the user's filesystem from within Pd without loading it into memory?
My use case is that I am using [writesf~] to record audio to disk, and I want to allow users to “save” the audio file to somewhere else. Clearly the audio could be very large, so I want to avoid using soundfiler to read into memory and then write back out again. This is from an application that uses Pd as a backend so expecting the user to manually move the file is not an option.
Any solutions (including use of externals) welcome.
Thanks.
Jamie
--
http://jamiebullock.com
@jamiebullock
_______________________________________________
Pd-list at lists.iem.at mailing list
UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20150511/607e83e7/attachment.html>
More information about the Pd-list
mailing list