Re: [PD] time/date

2024-01-16 Thread Patco
Hello,

 in zexy external there is [time] object



> Le 16 janv. 2024 à 11:26, Hrvoje Radnic via Pd-list  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


Re: [PD] time/date

2024-01-16 Thread Peter P.
Hrvoje,
have you checked the list archives at pd.iem.at?
best, P

* Hrvoje Radnic via Pd-list  [2024-01-16 11:27]:
> 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


Re: [PD] time/date

2024-01-16 Thread Matt Davey
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.
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date

2024-01-16 Thread adam johnson
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  wrote:

> Hello,
>
>  in zexy external there is [time] object
>
>
>
> Le 16 janv. 2024 à 11:26, Hrvoje Radnic via Pd-list 
> 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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date

2024-01-16 Thread Patco


> Le 16 janv. 2024 à 13:43, adam johnson  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


Re: [PD] time/date

2024-01-16 Thread Alexandre Torres Porres
there's also [datetime] frome ELSE btw

Em ter., 16 de jan. de 2024 às 11:14, Patco 
escreveu:

>
>
> > Le 16 janv. 2024 à 13:43, adam johnson  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
>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date

2024-01-16 Thread Dan Wilcox
I also use the sexy [time] object. It is actually the only reason I have zexy 
installed as I try to be as vanilla-only as possible due to working with libpd.

I agree that at this point it would be nice to have something like date & time 
built into vanilla... however the objects exist and are easy to install/use on 
desktop.

> On Jan 16, 2024, at 12:00 PM, pd-list-requ...@lists.iem.at wrote:
> 
> Message: 1
> Date: Tue, 16 Jan 2024 11:40:41 +0100
> From: Patco mailto:colet.patr...@gmail.com>>
> To: Hrvoje Radnic mailto:hrvojerad...@yahoo.com>>
> Cc: "pd-list@lists.iem.at <mailto:pd-list@lists.iem.at>" 
> mailto:pd-list@lists.iem.at>>
> Subject: Re: [PD] time/date
> Message-ID:  <mailto:a3df4bb9-1591-4f1e-a595-5e806121c...@gmail.com>>
> Content-Type: text/plain; charset="utf-8"
> 
> Hello,
> 
> in zexy external there is [time] object


Dan Wilcox
danomatika.com <http://danomatika.com/>
robotcowboy.com <http://robotcowboy.com/>
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date objects in zexy

2018-11-18 Thread Roman Haefeli
On Sun, 2018-11-18 at 11:08 -0600, Rick Snow wrote:
> The time and date objects in the current zexy are not loading on
> macOS High Sierra.  When I pull the .pd_darwin files from an old pd-
> extended resources/extra/zexy folder they do load.

Make sure to load the library. Only adding the path is not sufficient
for multi-object libraries like zexy. Since pd-extended compiled all
objects into their own file, everything loads by only specifying the
path. (The pd-extended way had its own quirks with certain objects with
special characters in their name). 

BTW: Some objects of the new zexy still do load, because some of the
objects are provided as both, compiled external and abstraction. 

Roman


 



signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date objects in zexy

2018-11-19 Thread Rick Snow
Thanks!  Working now.  I should have thought to try adding the .d_fat to the 
startup path.

> 
> On Sun, 2018-11-18 at 11:08 -0600, Rick Snow wrote:
>> The time and date objects in the current zexy are not loading on
>> macOS High Sierra.  When I pull the .pd_darwin files from an old pd-
>> extended resources/extra/zexy folder they do load.
> 
> Make sure to load the library. Only adding the path is not sufficient
> for multi-object libraries like zexy. Since pd-extended compiled all
> objects into their own file, everything loads by only specifying the
> path. (The pd-extended way had its own quirks with certain objects with
> special characters in their name). 
> 
> BTW: Some objects of the new zexy still do load, because some of the
> objects are provided as both, compiled external and abstraction. 
> 
> Roman
> 
> 




___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date objects in zexy

2018-11-19 Thread IOhannes m zmoelnig
On 19.11.18 14:28, Rick Snow wrote:
> Thanks!  Working now.  I should have thought to try adding the .d_fat to the 
> startup path.
> 


better yet: use [declare -path zexy -lib zexy]

vasdr
IOhannes



signature.asc
Description: OpenPGP digital signature
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date objects in zexy

2018-11-19 Thread Alexandre Torres Porres
Em seg, 19 de nov de 2018 às 12:43, IOhannes m zmoelnig 
escreveu:

> On 19.11.18 14:28, Rick Snow wrote:
> > Thanks!  Working now.  I should have thought to try adding the .d_fat to
> the startup path.
> >
>
> better yet: use [declare -path zexy -lib zexy]
>

doesn't just [declare -lib zexy] work?
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


Re: [PD] time/date objects in zexy

2018-11-19 Thread Roman Haefeli
On Mon, 2018-11-19 at 13:30 -0200, Alexandre Torres Porres wrote:
> 
> 
> Em seg, 19 de nov de 2018 às 12:43, IOhannes m zmoelnig <
> zmoel...@iem.at> escreveu:

> > better yet: use [declare -path zexy -lib zexy]
> 
> doesn't just [declare -lib zexy] work?

No, some objects like [rad2deg] are provided only as abstractions.

Roman


signature.asc
Description: This is a digitally signed message part
___
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list