Dear group, Is there any solution for getting the system time-date in pure data vanilla? I would like to use my quick recording abstraction without worrying about file name and I know it could be done by using [savestate] and incremental numbering system, but I think it could be much more elegant to just use the time-date stamp as file name. Thank you! Hrvoje Radnic https://www.instagram.com/singlecycled/
https://pdvrecords.bandcamp.com/album/umovi-protiv-valova https://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
Hello,
in zexy external there is [time] object
Le 16 janv. 2024 à 11:26, Hrvoje Radnic via Pd-list pd-list@lists.iem.at a écrit :
Dear group,
Is there any solution for getting the system time-date in pure data vanilla? I would like to use my quick recording abstraction without worrying about file name and I know it could be done by using [savestate] and incremental numbering system, but I think it could be much more elegant to just use the time-date stamp as file name.
Thank you!
Hrvoje Radnic
https://www.instagram.com/singlecycled/ https://www.instagram.com/singlecycled/
https://pdvrecords.bandcamp.com/album/umovi-protiv-valova https://pdvrecords.bandcamp.com/album/umovi-protiv-valova https://soundcloud.com/sumovi-protiv-valova https://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
On linux and probably OSX and bsd you can get to time and date from /proc/driver/rtc, use [file copy] to copy /proc/drive/rtc to a temp file and then read that temp file into [text], then just grab the needed fields from the [text]. This will work on most any linux and if it does not work on OSX/BSD they will have this somewhere in /proc/ or /sys/, been too long since I have used either of them but I think they have /proc/driver/rtc, no clue about Windows.
On Tue, Jan 16, 2024 at 4:42 AM Patco colet.patrice@gmail.com wrote:
Hello,
in zexy external there is [time] object
Le 16 janv. 2024 à 11:26, Hrvoje Radnic via Pd-list pd-list@lists.iem.at a écrit :
Dear group,
Is there any solution for getting the system time-date in pure data vanilla? I would like to use my quick recording abstraction without worrying about file name and I know it could be done by using [savestate] and incremental numbering system, but I think it could be much more elegant to just use the time-date stamp as file name.
Thank you!
Hrvoje Radnic
https://www.instagram.com/singlecycled/
https://pdvrecords.bandcamp.com/album/umovi-protiv-valova https://soundcloud.com/sumovi-protiv-valova 00385(0)915225162 _______________________________________________ Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Le 16 janv. 2024 à 13:43, adam johnson ulioidle@gmail.com a écrit :
use [file copy]
wow this new vanilla internal is really cool
So we can timestamp filenames just by using [file stat] and [file move]
there's also [datetime] frome ELSE btw
Em ter., 16 de jan. de 2024 às 11:14, Patco colet.patrice@gmail.com escreveu:
Le 16 janv. 2024 à 13:43, adam johnson ulioidle@gmail.com a écrit :
use [file copy]
wow this new vanilla internal is really cool
So we can timestamp filenames just by using [file stat] and [file move]
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
Hrvoje, have you checked the list archives at pd.iem.at? best, P
Dear group, Is there any solution for getting the system time-date in pure data vanilla? I would like to use my quick recording abstraction without worrying about file name and I know it could be done by using [savestate] and incremental numbering system, but I think it could be much more elegant to just use the time-date stamp as file name. Thank you! Hrvoje Radnic https://www.instagram.com/singlecycled/
https://pdvrecords.bandcamp.com/album/umovi-protiv-valova https://soundcloud.com/sumovi-protiv-valova 00385(0)915225162
Pd-list@lists.iem.at mailing list UNSUBSCRIBE and account-management -> https://lists.puredata.info/listinfo/pd-list
I looked for this for YEARS and have been away from PD for a little while, but was always something that seemed to have never been implemented in vanilla.