diff --git a/ephemera.sc b/ephemera.sc index 1233104..5fd359b 100644 --- a/ephemera.sc +++ b/ephemera.sc @@ -19,6 +19,17 @@ s.boot; "...".postln; +// time of day - see AppClock for scheduling + +~now=Date.gmtime; +// dont trust the clock if it's n 1970 (not ntp synced) +if ( ~now.year == 1970, + {"previously".postln;}, + {"post 1970".postln;} +) +~now.hour.postln; + + ~prefix = Platform.userHomeDir ++ "/snd/"; ~background = {