Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-07-09 08:43, Richie Cyngler wrote:
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation
[quit( | [s pd]
will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
these are standard: consult your OS-manual on how to do timed shut-downs (and restarts) of the system.
powering down the system will usually close all running applications, so there shouldn't be a need to shutdown Pd separately (but there can be other reasons why you still would want to do that).
i don't know why this is not a "standard" component of Pd. maybe it requires priviliges that are usually not available to the average installment of Pd? why?
famsdr IOhannes
Under windows, a batch file should do the job, check this: http://www.computerhope.com/batch.htm#02. I've used one of those to get pd to restart automatically after a crash in an "7/7d 24/24h" installation setup.
D.S
http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/
Date: Mon, 9 Jul 2012 16:43:03 +1000 From: glitchpop@gmail.com To: pd-list@iem.at Subject: [PD] running Pd with a timer for an installation?
Hi All, I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions? Thanks a lot
hello, you can use windows task scheduler
Colet Patrice
----- Mail original -----
De: "David Schaffer" schafferdavid@hotmail.com À: "pd list" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 10:42:14 Objet: Re: [PD] running Pd with a timer for an installation?
Under windows, a batch file should do the job, check this: http://www.computerhope.com/batch.htm#02. I've used one of those to get pd to restart automatically after a crash in an "7/7d 24/24h" installation setup.
D.S
http://www.flickr.com/photos/schafferdavid/ http://audioblog.arteradio.com/David_Schaffer/
Date: Mon, 9 Jul 2012 16:43:03 +1000 From: glitchpop@gmail.com To: pd-list@iem.at Subject: [PD] running Pd with a timer for an installation?
Hi All, I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions? Thanks a lot -- Richie www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list _______________________________________________ Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
----- Mail original -----
De: "David Schaffer" schafferdavid@hotmail.com
to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
windows task scheduler is there since windows95, what about the apple?
Hi...
Two useless patches which could help you :
To kill all instances (I don't use Win but maybe it work with [popen] instead of [shell]): http://wiki.labomedia.org/images/9/97/Killall-pdextended.png
To kill one instance : http://wiki.labomedia.org/images/a/a8/Killall-pdextended-2.png
With [time] and [date] you should reach your goal.
Cheers
01ivier
Le 09.07.2012 08:43, Richie Cyngler a écrit :
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
De: "Olivier Baudu" olivier@labomedia.net À: pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 11:00:35 Objet: Re: [PD] running Pd with a timer for an installation?
Hi...
Two useless patches which could help you :
To kill all instances (I don't use Win but maybe it work with [popen] instead of [shell]):
hello, there is no 'killall' on win32 ;), I've tried once to implement Process.kill() on an external but this project is discontinued...
Anyway there are freewares available for this like 'killprocess.exe' I didn't try this one yet.
The problem with both macosX and windows seven OS for an installation is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
I haven't tried it myself, but I guess on OSX you should be able to do these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
this will take a little time to adjust, but works fine ! JMA
Le 9 juil. 2012 à 11:20, Ángel Faraldo a écrit :
I haven't tried it myself, but I guess on OSX you should be able to do these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
I think I will stick with just powering down at the end of the night I will start it up manually, too many things could fail if I try and automate running the patch, although Automator looks possibly useful too.
Thanks again
On Mon, Jul 9, 2012 at 7:41 PM, Jean-Marie Adrien jma@jeanmarie-adrien.netwrote:
- You kill PD from inside at a chosen time (pd quit;)
- You shutdown your mac at that time, after having killed PD, and restart
your mac at a given time (OSX preferences)
- You launch an application at restart of your mac (OSX Preferences /
accounts, this application is either compiled with applescript or with automator and does what you want, in this case run your patch, I guess) this will take a little time to adjust, but works fine ! JMA
Le 9 juil. 2012 à 11:20, Ángel Faraldo a écrit :
I haven't tried it myself, but I guess on OSX you should be able to do
these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation
is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-07-09 12:44, Richie Cyngler wrote:
Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
no. [realtime] measures the "real time" between two events (e.g. 1.023ms elapsed between [bang( and [bong() you might want zexy's [time] object, which gives you the current time (e.g. 12:04:55)
fgamsdr IOhannes
alternative:
[date +%H%M%S( | [shell]
2012/7/9 IOhannes m zmoelnig zmoelnig@iem.at
-----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1
On 2012-07-09 12:44, Richie Cyngler wrote:
Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
no. [realtime] measures the "real time" between two events (e.g. 1.023ms elapsed between [bang( and [bong() you might want zexy's [time] object, which gives you the current time (e.g. 12:04:55)
fgamsdr IOhannes -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.12 (GNU/Linux) Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/
iEYEARECAAYFAk/6ufwACgkQkX2Xpv6ydvTUIQCg1UlHnuo6q2JBA1cPr4Zh9G// sN8An1Don1o9ugYwdw+CC6j9Lh/w/WdC =x/+f -----END PGP SIGNATURE-----
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Hi,
On Mon, Jul 09, 2012 at 08:44:11PM +1000, Richie Cyngler wrote:
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
No, [realtime] is just a stopwatch for elapsed time, similar to [timer]. It's not a clock.
If you want to quit Pd at a certain time, [date] from the zexy library is fine, or you can use your operating system's scheduling mechanisms to start a little script to quit Pd gracefully via "pdsend" and a [netreceive] in your patch.
Frank Barknecht Do You RjDj.me? _ ______footils.org__
I strongly recommend keeping the machine running 24/7 unless power to the computer is being pulled daily. I've had OSX boxes that ran for years running GEM patches that pegged every CPU/GPU/ASIC in the box. The majority of issues came from restarting the computer after power was cut for some reason.
Shutting down peripherals like screens and speakers is fine, but OSX and Linux are designed for maximum uptime and run best that way. I had tons of problems with WinXP running for longer than a week or two.
On Mon, Jul 9, 2012 at 4:44 AM, Richie Cyngler glitchpop@gmail.com wrote:
Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
I think I will stick with just powering down at the end of the night I will start it up manually, too many things could fail if I try and automate running the patch, although Automator looks possibly useful too.
Thanks again
On Mon, Jul 9, 2012 at 7:41 PM, Jean-Marie Adrien < jma@jeanmarie-adrien.net> wrote:
- You kill PD from inside at a chosen time (pd quit;)
- You shutdown your mac at that time, after having killed PD, and restart
your mac at a given time (OSX preferences)
- You launch an application at restart of your mac (OSX Preferences /
accounts, this application is either compiled with applescript or with automator and does what you want, in this case run your patch, I guess) this will take a little time to adjust, but works fine ! JMA
Le 9 juil. 2012 à 11:20, Ángel Faraldo a écrit :
I haven't tried it myself, but I guess on OSX you should be able to do
these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation
is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
well Chris, on my side shutting down every day the mac and restarting from fresh every morning seems the only smart way to avoid unpredictable numerical papillon effects, kind of slow drifting towards crash, that in the end freeze the patch for reasons I ignore : I name it "the unreachable bug of the 428th hour" ! I run multiple instances of PD on multicore, GEM things and real time complicated audio. ... plus this cools the mac down ! Jm
Le 10 juil. 2012 à 00:53, chris clepper a écrit :
I strongly recommend keeping the machine running 24/7 unless power to the computer is being pulled daily. I've had OSX boxes that ran for years running GEM patches that pegged every CPU/GPU/ASIC in the box. The majority of issues came from restarting the computer after power was cut for some reason.
Shutting down peripherals like screens and speakers is fine, but OSX and Linux are designed for maximum uptime and run best that way. I had tons of problems with WinXP running for longer than a week or two.
On Mon, Jul 9, 2012 at 4:44 AM, Richie Cyngler glitchpop@gmail.com wrote: Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
I think I will stick with just powering down at the end of the night I will start it up manually, too many things could fail if I try and automate running the patch, although Automator looks possibly useful too.
Thanks again
On Mon, Jul 9, 2012 at 7:41 PM, Jean-Marie Adrien jma@jeanmarie-adrien.net wrote:
- You kill PD from inside at a chosen time (pd quit;)
- You shutdown your mac at that time, after having killed PD, and restart your mac at a given time (OSX preferences)
- You launch an application at restart of your mac (OSX Preferences / accounts, this application is either compiled with applescript or with automator and does what you want, in this case run your patch, I guess)
this will take a little time to adjust, but works fine ! JMA
Le 9 juil. 2012 à 11:20, Ángel Faraldo a écrit :
I haven't tried it myself, but I guess on OSX you should be able to do these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
2012/7/10 Jean-Marie Adrien jma@jeanmarie-adrien.net
well Chris, on my side shutting down every day the mac and restarting from fresh every morning seems the only smart way to avoid unpredictable numerical papillon effects, kind of slow drifting towards crash, that in the end freeze the patch for reasons I ignore : I name it "the unreachable bug of the 428th hour" ! I run multiple instances of PD on multicore, GEM things and real time complicated audio. ... plus this cools the mac down ! Jm
You don't necessarily have to shut down the computer to close/restart your patches... I often do so anyway because it's the quickest and simplest way to be sure that every morning the installation starts up exactly the same way, but I do it mostly with old hardware that's easily replaceable if it brakes, though I haven't broken any computers this way... yet...
Le 10 juil. 2012 à 00:53, chris clepper a écrit :
I strongly recommend keeping the machine running 24/7 unless power to the computer is being pulled daily. I've had OSX boxes that ran for years running GEM patches that pegged every CPU/GPU/ASIC in the box. The majority of issues came from restarting the computer after power was cut for some reason.
Shutting down peripherals like screens and speakers is fine, but OSX and Linux are designed for maximum uptime and run best that way. I had tons of problems with WinXP running for longer than a week or two.
On Mon, Jul 9, 2012 at 4:44 AM, Richie Cyngler glitchpop@gmail.comwrote:
Thanks for all the great answers.
So I found sleep/shut down scheduler in the Energy Saver menu of OSX System Preferences. If need be I should be able to just use that.
However if I want to kill Pd first is [realtime] the best object to use for a scheduled event (in this case quitting Pd) like this?
I think I will stick with just powering down at the end of the night I will start it up manually, too many things could fail if I try and automate running the patch, although Automator looks possibly useful too.
Thanks again
On Mon, Jul 9, 2012 at 7:41 PM, Jean-Marie Adrien < jma@jeanmarie-adrien.net> wrote:
- You kill PD from inside at a chosen time (pd quit;)
- You shutdown your mac at that time, after having killed PD, and
restart your mac at a given time (OSX preferences)
- You launch an application at restart of your mac (OSX Preferences /
accounts, this application is either compiled with applescript or with automator and does what you want, in this case run your patch, I guess) this will take a little time to adjust, but works fine ! JMA
Le 9 juil. 2012 à 11:20, Ángel Faraldo a écrit :
I haven't tried it myself, but I guess on OSX you should be able to do
these things with Automator.
https://discussions.apple.com/thread/1772992?start=0&tstart=0
On Jul 9, 2012, at 11:03 AM, Patrice Colet wrote:
The problem with both macosX and windows seven OS for an installation
is that you never know when they will decide to shutdown for maintenance, if you're not expert.
Colet Patrice
----- Mail original -----
De: "Richie Cyngler" glitchpop@gmail.com À: "PD-List" pd-list@iem.at Envoyé: Lundi 9 Juillet 2012 08:43:03 Objet: [PD] running Pd with a timer for an installation?
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Ángel Faraldo _________________ www.angelfaraldo.info
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management ->
http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
2012/7/9 Richie Cyngler glitchpop@gmail.com
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
What I sometimes do is (using a desktop computer): Set the computer's BIOS power setting to 'always on' so that the computer starts up as soon as it gets power. Then set up the necessary startup scripts to start your patch automatically when the computer is switched on. Use a simple household timer to switch the power of the computer on and off. (this may be a bad idea when there is a risk that your patch is writing to disk heavily while the computer gets switched off... I never used this with patches that need to write to disk)
Any suggestions?
Thanks a lot
-- Richie
www.glitchpop.com
Pd-list@iem.at mailing list UNSUBSCRIBE and account-management -> http://lists.puredata.info/listinfo/pd-list
On 09/07/12 14:43, Richie Cyngler wrote:
Hi All,
I'm planning on using Pd for an installation in Melbourne in a couple of weeks. It's running fine, Pduino working, sensors working. I'm just wondering is there is a object (or series) of objects I can use to "power down" the patch, or even kill Pd, at a designated time. The installation will run into the night for a week, I'll be there to start it up each night but not to shut it down. I'm probably running on OSX, windows may be an option. A sleep or shutdown timer for the OS would be very useful too, seems odd these are not standard.
Any suggestions?
as others mentioned, system preferences let you tell the computer to shut down at a set time, and also to startup again when power is restored after switching off if you like,
a user can be set up to login automatically on startup in the accounts preferences,
what hasn't been mentioned is the easiest place to get a patch starting automatically on login of that user is in the dock ... put the patch in the dock, then check the appropriate box
if you need a set of things starting in a fixed order then you could start them from a little shell script and put that in the dock to be started at login
or use an applescript, or these days automator, if you prefer that to shell and again put it in the dock etc
most of these have been part of OSX forever, and something quite similar was part of OS9 before that if I remember correctly.
There are many other more arcane ways to achieve this as well, but for me this system, especially making sure that switching off then back on resets and restarts everything correctly has made life much easier with installations - gallery attendants are usually able to use a power switch, but often anything more complicated is too intimidating. Even several computers communicating over a LAN have worked well that way ... with a little thought and some appropriate delays after the [loadbang]s to make sure the network is up and running before pd tries to connect.
The power off - power on cycle is fine if you are not changing the files you start up from, and the journaling on HFS+ seems very robust and tolerant of just switching off.
Simon