Re: [PD] Nikon DSLR Capture with Pd

2013-04-04 Thread me.grimm
if interested here is an example that works with applescript. takes a
pic with a dslr, saves to ~/Pictures, deletes from camera, opens in
Gem window:

http://megrimm.net/software/dslr-trigger_0.1_osx.zip

m

On Tue, Apr 2, 2013 at 10:56 AM, Max abonneme...@revolwear.com wrote:
 that's done conveniently through the [shell] or [motex/system] with 
 applescript.

 example: to open VLC player
 send a message
 osascript -e 'tell application Finder to open application file VLC.app of 
 folder Applications of startup disk' 
 to [motex/system]



 Am 02.04.2013 um 16:38 schrieb me.grimm megr...@gmail.com:

 Has anyone been able to capture images from a Nikon DSLR with Pd?

 I have a student who is able to control her dslr with osx image capture 
 (space bar takes an image) but we can not seem to figure out how to capture 
 directly with/to pd OR even trigger image capture with pd might work also 
 for now

 BTW this is through the USB cable.

 thinking out loud - can pd send a system wide event like space bar though 
 shell maybe to image capture?

 that is if pd can not control dslr directly

 m

 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-04 Thread Max
Oh, that relies on system events. Alternatively you could also make an 
application through Automator and run this app from the shell in Pd. 

m.

Am 04.04.2013 um 23:51 schrieb me.grimm megr...@gmail.com:

 if interested here is an example that works with applescript. takes a
 pic with a dslr, saves to ~/Pictures, deletes from camera, opens in
 Gem window:
 
 http://megrimm.net/software/dslr-trigger_0.1_osx.zip
 
 m
 
 On Tue, Apr 2, 2013 at 10:56 AM, Max abonneme...@revolwear.com wrote:
 that's done conveniently through the [shell] or [motex/system] with 
 applescript.
 
 example: to open VLC player
 send a message
 osascript -e 'tell application Finder to open application file VLC.app 
 of folder Applications of startup disk' 
 to [motex/system]
 
 
 
 Am 02.04.2013 um 16:38 schrieb me.grimm megr...@gmail.com:
 
 Has anyone been able to capture images from a Nikon DSLR with Pd?
 
 I have a student who is able to control her dslr with osx image capture 
 (space bar takes an image) but we can not seem to figure out how to capture 
 directly with/to pd OR even trigger image capture with pd might work also 
 for now
 
 BTW this is through the USB cable.
 
 thinking out loud - can pd send a system wide event like space bar though 
 shell maybe to image capture?
 
 that is if pd can not control dslr directly
 
 m
 
 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list
 
 
 
 
 -- 
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _


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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-04 Thread me.grimm
yeah all events in one big message. too messy?

i tried quick to compile gphoto but my build machine is at home and i
only have access to a dslr at uni so i didnt have a way to test
today... maybe in a couple weeks time...

m

On Thu, Apr 4, 2013 at 5:56 PM, Max abonneme...@revolwear.com wrote:
 Oh, that relies on system events. Alternatively you could also make an 
 application through Automator and run this app from the shell in Pd.

 m.

 Am 04.04.2013 um 23:51 schrieb me.grimm megr...@gmail.com:

 if interested here is an example that works with applescript. takes a
 pic with a dslr, saves to ~/Pictures, deletes from camera, opens in
 Gem window:

 http://megrimm.net/software/dslr-trigger_0.1_osx.zip

 m

 On Tue, Apr 2, 2013 at 10:56 AM, Max abonneme...@revolwear.com wrote:
 that's done conveniently through the [shell] or [motex/system] with 
 applescript.

 example: to open VLC player
 send a message
 osascript -e 'tell application Finder to open application file VLC.app 
 of folder Applications of startup disk' 
 to [motex/system]



 Am 02.04.2013 um 16:38 schrieb me.grimm megr...@gmail.com:

 Has anyone been able to capture images from a Nikon DSLR with Pd?

 I have a student who is able to control her dslr with osx image capture 
 (space bar takes an image) but we can not seem to figure out how to 
 capture directly with/to pd OR even trigger image capture with pd might 
 work also for now

 BTW this is through the USB cable.

 thinking out loud - can pd send a system wide event like space bar 
 though shell maybe to image capture?

 that is if pd can not control dslr directly

 m

 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-04 Thread me.grimm
neato... i guess ill have to learn more about automator

m

2013/4/4 Max abonneme...@revolwear.com:



 Am 05.04.2013 um 00:01 schrieb me.grimm megr...@gmail.com:

 yeah all events in one big message. too messy?

 i tried quick to compile gphoto but my build machine is at home and i
 only have access to a dslr at uni so i didnt have a way to test
 today... maybe in a couple weeks time...

 m

 On Thu, Apr 4, 2013 at 5:56 PM, Max abonneme...@revolwear.com wrote:
 Oh, that relies on system events. Alternatively you could also make an 
 application through Automator and run this app from the shell in Pd.

 m.

 Am 04.04.2013 um 23:51 schrieb me.grimm megr...@gmail.com:

 if interested here is an example that works with applescript. takes a
 pic with a dslr, saves to ~/Pictures, deletes from camera, opens in
 Gem window:

 http://megrimm.net/software/dslr-trigger_0.1_osx.zip

 m

 On Tue, Apr 2, 2013 at 10:56 AM, Max abonneme...@revolwear.com wrote:
 that's done conveniently through the [shell] or [motex/system] with 
 applescript.

 example: to open VLC player
 send a message
 osascript -e 'tell application Finder to open application file 
 VLC.app of folder Applications of startup disk' 
 to [motex/system]



 Am 02.04.2013 um 16:38 schrieb me.grimm megr...@gmail.com:

 Has anyone been able to capture images from a Nikon DSLR with Pd?

 I have a student who is able to control her dslr with osx image 
 capture (space bar takes an image) but we can not seem to figure out 
 how to capture directly with/to pd OR even trigger image capture with 
 pd might work also for now

 BTW this is through the USB cable.

 thinking out loud - can pd send a system wide event like space bar 
 though shell maybe to image capture?

 that is if pd can not control dslr directly

 m

 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _
 ___
 Pd-list@iem.at mailing list
 UNSUBSCRIBE and account-management - 
 http://lists.puredata.info/listinfo/pd-list




 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _




 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_

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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread Bastiaan van den Berg
Hey, there is this;

http://puredata.info/downloads/gphoto

Although I haven't tried this extension, i _did_ use gphoto from
commandline to control a camera.

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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread Max
that's done conveniently through the [shell] or [motex/system] with applescript.

example: to open VLC player
send a message
osascript -e 'tell application Finder to open application file VLC.app of 
folder Applications of startup disk' 
to [motex/system]



Am 02.04.2013 um 16:38 schrieb me.grimm megr...@gmail.com:

 Has anyone been able to capture images from a Nikon DSLR with Pd?
 
 I have a student who is able to control her dslr with osx image capture 
 (space bar takes an image) but we can not seem to figure out how to capture 
 directly with/to pd OR even trigger image capture with pd might work also 
 for now
 
 BTW this is through the USB cable.
 
 thinking out loud - can pd send a system wide event like space bar though 
 shell maybe to image capture?
 
 that is if pd can not control dslr directly
 
 m
 
 -- 
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread Claude Heiland-Allen
Hi,

On 02/04/13 15:38, me.grimm wrote:
 Has anyone been able to capture images from a Nikon DSLR with Pd?

gphoto is a library for interfacing with cameras [0]

Ben Bogart wrote a gphoto external for Pd [1]

gphoto does probably work on OS X [2]

gphoto for Pd's makefile is only for Linux [3]

so at least some build system hacking is required, possibly more in
depth code changes (if gphoto external for Pd has bitrotted out of sync
with current versions of gphoto library)

[0] http://gphoto.sourceforge.net/
[1] http://puredata.info/downloads/gphoto
[2] http://blog.dcclark.net/2009/05/how-to-gphoto-primer.html
[3]
https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/bbogart/gphoto/makefile


Claude


 I have a student who is able to control her dslr with osx image capture
 (space bar takes an image) but we can not seem to figure out how to
capture
 directly with/to pd OR even trigger image capture with pd might work
also
 for now

 BTW this is through the USB cable.

 thinking out loud - can pd send a system wide event like space bar
though
 shell maybe to image capture?

 that is if pd can not control dslr directly

 m

-- 
http://mathr.co.uk

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


Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread me.grimm
all good info! thanks for quick responses!

any gphoto osx binaries laying around? ill compile this week if not

i also forgot about the applescript stuff on osx systems... that might work
fine too...

thanks
m




On Tue, Apr 2, 2013 at 10:58 AM, Claude Heiland-Allen cla...@mathr.co.ukwrote:

 Hi,

 On 02/04/13 15:38, me.grimm wrote:
  Has anyone been able to capture images from a Nikon DSLR with Pd?

 gphoto is a library for interfacing with cameras [0]

 Ben Bogart wrote a gphoto external for Pd [1]

 gphoto does probably work on OS X [2]

 gphoto for Pd's makefile is only for Linux [3]

 so at least some build system hacking is required, possibly more in
 depth code changes (if gphoto external for Pd has bitrotted out of sync
 with current versions of gphoto library)

 [0] http://gphoto.sourceforge.net/
 [1] http://puredata.info/downloads/gphoto
 [2] http://blog.dcclark.net/2009/05/how-to-gphoto-primer.html
 [3]

 https://pure-data.svn.sourceforge.net/svnroot/pure-data/trunk/externals/bbogart/gphoto/makefile


 Claude

 
  I have a student who is able to control her dslr with osx image capture
  (space bar takes an image) but we can not seem to figure out how to
 capture
  directly with/to pd OR even trigger image capture with pd might work
 also
  for now
 
  BTW this is through the USB cable.
 
  thinking out loud - can pd send a system wide event like space bar
 though
  shell maybe to image capture?
 
  that is if pd can not control dslr directly
 
  m

 --
 http://mathr.co.uk

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




-- 

m.e.grimm | m.f.a | ed.m.
megr...@gmail.com
_
___
Pd-list@iem.at mailing list
UNSUBSCRIBE and account-management - 
http://lists.puredata.info/listinfo/pd-list


Re: [PD] Nikon DSLR Capture with Pd

2013-04-02 Thread Luiz Naveda
Hi there,

Some time ago I made a system using pd + arduino to trigger my Pentax via
infrared at specific time points. The goal was to take shots of paper
objects jumping in a paper bed attached to a speaker.  It is part of a
series of studies of paper design and photography. See some photos here:
https://www.dropbox.com/sh/dlbh1642r4h0vtj/f-k8i1R23f (and work here http://
paperdesign.naveda.info)

It didnĀ“t work well because there were hidden delays in the chain from PD
to the Infrared led ...and the speaker was driven by pulses around 10 hz. I
don't know if the patch is useful but the arduino code was based on the
code from:

http://sebastian.setz.name/arduino/my-libraries/multi-camera-ir-control/

So, if you have no problems with latency, just build a arduino-pd system
(see pduino), get an infrared led and have fun!

Let me know if its clear or if you need any help.

Luiz Naveda



On Tue, Apr 2, 2013 at 11:38 AM, me.grimm megr...@gmail.com wrote:

 Has anyone been able to capture images from a Nikon DSLR with Pd?

 I have a student who is able to control her dslr with osx image capture
 (space bar takes an image) but we can not seem to figure out how to capture
 directly with/to pd OR even trigger image capture with pd might work also
 for now

 BTW this is through the USB cable.

 thinking out loud - can pd send a system wide event like space bar
 though shell maybe to image capture?

 that is if pd can not control dslr directly

 m

 --
 
 m.e.grimm | m.f.a | ed.m.
 megr...@gmail.com
 _

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




-- 
Luiz Naveda
_
- PhD researcher
http://www.ipem.ugent.be/samba
- Director SysMus09
http://www.ipem.ugent.be/sysmus09

IPEM - Institute for Psychoacoustics and Electronic Music
Ghent University
Office: + 32 9 264 4127
Blandijnberg 2
Ghent, B-9000
Belgium

  ^v^
  ^v^
 ^v^

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