[PD] Creating random filenames

Joson Android joson.android at googlemail.com
Thu Jan 2 15:16:17 CET 2014


my abstraction also uses a unique time stamp, creates a folder named rec in the directory, and outputs the filename

have fun, 

jonas

-------------- next part --------------
A non-text attachment was scrubbed...
Name: rec~.pd
Type: application/octet-stream
Size: 7372 bytes
Desc: not available
URL: <http://lists.puredata.info/pipermail/pd-list/attachments/20140102/ba8afdcb/attachment-0001.obj>
-------------- next part --------------



Am 30.12.2013 um 14:14 schrieb tim vets:

> an alternative:
> [date +%P%s%N(
> |
> [shell]
> 
> 
> 2013/12/30 tim vets <timvets at gmail.com>
> [time] and [date] are externals, part of zexy
> tip: create them as [time _______] and [date ________] to better see the individual outlets.
> 
> 
> 2013/12/30 Ronni Montoya <ronni.montoya at gmail.com>
> Hi Tim, the idea is to get unique filenames. How do you get time and
> date inside pd?
> 
> 2013/12/30, tim vets <timvets at gmail.com>:
> > Do you really need random filenames, or just unique filenames?
> > In most cases, I use something like [time] and [date] to generate unique
> > filenames...
> > Tim
> >
> >
> > 2013/12/30 Simon Wise <simonzwise at gmail.com>
> >
> >> On 30/12/13 00:10, Jack wrote:
> >>
> >>> Le 29/12/2013 13:17, Ronni Montoya a ?crit :
> >>>
> >>>> Hi, how can i create random file names in pd?
> >>>>
> >>>> I need to have a recording button in my patch that everytimes records
> >>>> an audio file in a different ( random ) file name.
> >>>>
> >>>> For example, each time i record something it should create random .wav
> >>>> file names:
> >>>>
> >>>> kasdsd.wav
> >>>> lifasik.wav
> >>>> kjaskld.wav         ............  etc
> >>>>
> >>>>
> >>>> any idea how to achieve this?
> >>>>
> >>>> _______________________________________________
> >>>> Pd-list at iem.at mailing list
> >>>> UNSUBSCRIBE and account-management ->  http://lists.puredata.info/
> >>>> listinfo/pd-list
> >>>>
> >>>
> >>> A solution without external...
> >>>
> >>
> >> just use something like  [symbol $1$2$3$4.wav(
> >>
> >> to replace [list2symbol] if you really can't use it
> >>
> >>
> >> Simon
> >>
> >>
> >>
> >> _______________________________________________
> >> Pd-list at iem.at mailing list
> >> UNSUBSCRIBE and account-management -> http://lists.puredata.info/
> >> listinfo/pd-list
> >>
> >
> 
> 
> _______________________________________________
> Pd-list at iem.at mailing list
> UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list



More information about the Pd-list mailing list