Configuring an Apple Mac for commercial/instillation use. [UPDATED]


So for the last 12 weeks I have been working as a Digital Creator at York Museums Trust. This has meant I have had to totally rethink the way in which I use and implement technology. I have not found any forums, Facebook pages or anything for us creative bunch of ‘Digital Creators’ and I feel a little bit on my own in this delicate but creative role. So I decided to use my blog and maybe people will find me along the way!

Forethought 

In some areas of the museum and art gallery spaces there are already a lot of DVD players, TV monitors, projectors, etc that need turning on each morning and off again at night. The tour guides and volunteers already have enough to do of a morning so one important aspect to consider was the starting up and shutting down of the systems. Might sound quite simple… but not necessarily. How do you make sure that a computer is going to behave? Let’s discuss….

Hardware

We use Mac Mini (mostly) for the systems as they are small, quiet, cheap(ish) and have good overall performance. There are enough USB ports and most screens and projectors have HDMI/DVI-D now so its a good choice.

Configuring the OS (tame the lion!)
The first things I did when the machines came where:

  1. Auto-Sign in. So that when a machine stats up there is no password. All of our machines are locked in secure spaces and are trackable anyway.
  2. Disable all energy-saving features. We do not want the HD to go to sleep.
  3. Turn off screen savers. (it might be ok to allow the screen saver now and again – up to you)
  4. Change the wallpaper to something appropriate. Remove icons from off desktop so that if the system does crash then it doesn’t look a mess.
  5. Disable all notifications (note: for Mountain Lion (10.8). This will show you how…[LINK] Even if you disable notifications manually in System Preferences the Apple Software update still show up. It can really get annoying.
  6. Turn on restart if power cut. This is really handy for the rare occasion that a power cut may occur! Obviously.
  7. Turn off all your software automatic updates. Go through all the menus in preferences to make sure!
  8. install VNC or another similar screen sharing software. It’s handy, trust me.

Other things to consider

If like me you are running the machine to power  kiosk style interaction then you need to make sure that the software if going to keep running and running. Obviously testing is the best way to do this. Self testing is ok but you know the system and unconsciously are ‘nice’ to it. Ask a few people from various departments, ages, etc to try it out. Make sure everyone can work the system. See if any other problems occur.

But I decided to create something to make sure the software stayed live and even if the software did crash it would re-open within seconds, it’s all automated and can select precise files to open. I did this using automator (with the help of Mark Conilgio) and posted a link on the Isadora forum (this is the software I use for interactive AV design) The discussion can be found [HERE] You need a little bit of knowledge but if I can figure it out you sure can!

Auto Start/Auto Shut Down
Some of you will know what Apple Macs have a function that ‘Schedule’ the machine to turn off and on each day…
You will find this in Energy Saving in System Preferences

This can solve a big problem already… but what if you need something more advanced? Well I found a brilliant website called If This Then That, also known as IFTTT (I prefer the abbreviation!) And as you can see in this link for the Date & Time channel it can do quite a lot of stuff, and its web-based… BUT it works even better with a WiFi enabled plug! The Belkin Wemo Switch. The two companies have joined forces and API’s to allow each to talk to each other. So you can set the plug to turn on at 8:30 every morning and thus the machine will turn on. This saves energy and also works like a normal plug. [I must warn you at this point that we have had issues with the plug and our WiFi, it works best with ‘normal’ home WiFi and not advanced ultra secure networks like ours at the trust!]

There are other softwares and techniques but for now… the above should help some of you. Next…

How to check it all systems are online?
I can’t walk around all the various sites each morning to check to see if all the machines have turned on and are running. Of course I can ring and ask each site but not very efficient. So I decided to automate something that would let me know. The keyword here is automate and the little app called Automator on Mac is a godsend. I created an app that you can add to your log in items (more detail here) so that as each machine starts up it can either; run a quick and basic terminal command and save it to a drop box folder. So each morning I have a Dropbox folder which I can glance over and see that I have a new system report for each machine (including other system details such as RAM, wi-fi, etc) and if I do not have a report for machine…. then I can investigate! You can change this to take screenshots or anything you fancy really. Oh; and type “last” into terminal for a basic idea of the info I get.

Using my good friend IFTTT (look above if you don’t know what that stands for!) Dropbox is also useable; so a file added to Dropbox can A)email me B)tweet me c)SMS text me D)anything else I can think of that is IFTTT activated! It’s really neat.

So, By 9:00 every morning I already know that my machines are turned on and running. If not I get straight off the train and go and investigate. Most of the time the Internet is down and it just hasn’t synced the file in Dropbox.

I know people will say just use VNC and log into each machine but I really don’t have the time and this was it automatic and I can do it on the train via my iPhone or iPad. I set up a bog standard but hidden twitter account and it tweets my personal twitter account once each file from each machine has loaded before I even get to work. Depending on my 3G signal I receive all the tweets at the same time within a 10 minute period; again its simple and effective.

Final thoughts

Once the system is working then hold off for as looooooooooooooong as you can before updating. If it ain’t broke dont fix it! Even a simple update might change a file or directory that handles video, images, audio, etc. it might take you hours or even weeks to figure it out and that means a lot of down time for the system.

Keep a back up and save it in two or three places. The software files and media need to be backed up. it’s boring but do it! If files are small then email them to yourself or buy a cheap USB hard drive and drop them on there. Put it in a draw and forget about it – hopefully you wont need it.

I would really like to get some dialogue going between other AV creators in this sector. Please drop me a message!

UPDATE JUNE 2015

I have decided to re-visit this post. Two years on and the apple mac’s are still going strong. I had a few teething problems but all went well. My first issue was internet – the Wifi was not strong enough to cope so I do not use IFTTT now. I just have to live and hope! But; I will leave it in my blog as it’s handy for others.

I also use a lot of apple scripts now. I found that they are handy for automating tasks. I then export all scripts and automator workflows as apps and put them in login/start up. Here is a basic one I use to quit all apps and then just open my Isadora patch.

Screen Shot 2015-06-29 at 14.51.17

Once you get into Automator it’s really handy! it can run terminal commands and all sorts.

I also have a few handy links for you:

http://vormplus.be/blog/article/configuring-mac-os-x-for-interactive-installations (a blog similar to this one!)

http://www.interpretationshop.co.uk/product-category/software/ (really cool software and hardware)

https://www.peterborgapps.com/lingon/ (some advanced start up scripts and stuff to make apps re-open on crashes, etc Ive not used it but may do one day for the small fee)

I hope this helps. Comments welcome!

Thanks,

Graham

Advertisements

Kinect for Windows.. Could this be it?!


I have been slightly bewildered as to why the Microsoft Kinect has not really been able to work with windows computers as easily as it has been with Apple Mac; especially in terms of plug-ins. One only has to ‘do a Google’ to see that the majority of software are mac only.

I guess its all down to the drivers and frameworks… (well over my head) but it still seems a bit strange.

The Xbox Kinect. Great for Mac.... its been a long wait for Windows users!

Anyway; many of the Isadora PC/Windows users have been slightly jealous of us apple lot as we’ve been playing around with Kinect sensors for well over a year now via Quartz Composer, Processing, Syphon, etc. But now it seems that there is a Winndows plugin!

The all important link is here:

http://vjfx.com/main/en/mmblog/mmblogintrinsicsrnd/item/64-freeframe-depthcam-plugins

I have not tested it and don’t actually have access to a windows machine right now. But it seems its easy to install and should be fine.

But note: Important: Download and use the 32bit versions of all files, since 64bit versions do not work with the plugins, this also goes for use on Windows 7 64bit!

Enjoy!

MIDI Show Control & Isadora (Mac&Win)


It’s something I have never had to use BUT I know this is going to please a lot of people.

MIDI Show Control communication in Isadora for Mac and Windows machines.

It’s a special little extra made by Mark Coniglio, it’s a quick little manual install and then you’re away! (They go in /Library/Application Support/TroikaTronix/Isadora Plugins or c:\program files (x86)\isadora\isadora plugins)

Please Note: These are experimental and very much a beta item. It is not a full exclusive list and there may be problems. Back up your files and don’t install them an hour before a big performance!

Control’s (so far) include:

01 GO
02 STOP
03 RESUME
04 TIMED_GO
05 LOAD
06 SET
07 FIRE
08 ALL_OFF
09 RESTORE
0A RESET
0B GO_OFF
10 GO/JAM_CLOCK
11 STANDBY_+
12 STANDBY_- 
13 SEQUENCE_+
14 SEQUENCE_-
15 START_CLOCK
16 STOP_CLOCK
17 ZERO_CLOCK
18 SET_CLOCK
19 MTC_CHASE_ON
1A MTC_CHASE_OFF
1B OPEN_CUE_LIST
1C CLOSE_CUE_LIST
1D OPEN_CUE_PATH

Why not head over to the forum, join in the conversation and download them now.

Finding the perfect equilibrium…


What am I on about?

Well, I will try and explain; just like a dance or theater piece the amount of technology you use can influence and affect the performance itself. Do you A) create a piece based around the technology or B) make the technology work for you? or C) try and do a bit of both? In my case at the Museum and Art gallery the main focus is predominantly the artifacts and collection themselves. The technology and systems used are to help and assist the members of the public; BUT there is a massive push in our global strategy to use new and emerging technologies which are ‘innovative’ therefore there has to be a degree of a ‘wow’ factor. And here lies the problem for me. The wow factor can not be more powerful than the artifacts but enough to be recognised and appreciated.

You can read more about this idea here:

http://www.digicult.it/digimag/issue-030/the-importance-of-being-interactive/

Museums and galleries are wanting to reach out and engage with more people and technology can help with this through various means. If the technology is too over the top and futuristic then people may feel uncomfortable and walk away from it, they may not know how to use a multitouch screen, they may have never seen a Kinect camera before or perhaps they don’t know what an iPad is! Yet stereo typically younger generations instinctively know and somehow expect a screen to be multitouch or gesture controlled. Where is this equilibrium?

There is a lot to think about.

Isadora ‘Watcher’ (re-open on crash)… a free app you will (hopefully) never use!


Isadora is a very stable program, but as beta tester I do occasionally get sent versions to test that are not quite ready and can have bugs; before you ask I can’t reveal anything about future releases – it’s not my place!

However at my new job as Digital Creator at York Museums Trust I realised very quickly that people are skeptical about putting machines/computers and software into installations because they do not trust them and ‘they crash a lot…’ and to be fair there is nothing worse than walking into a space like a museum and seeing an out-of-order sign. So I have had to think about how I can 100% guarantee that the machine and Isadora will keep running 362 days of the year whilst the museum stays open.

Isadora is a very stable program. I find 99% of the time it crashes because of something I’ve done; something silly like attaching a wave generator to the movie player selector… we’ve all done it as it cycles through 100+ movies in less than 5 seconds…. instant hard drive meltdown (on my 5400rpm drive anyway!). Often its a Quicktime of Finder error. Sometimes its a Quartz file playing around with video inputs or sockets. Its not that often Isadora is actually being naughty.

But, I decided as a fail safe to create a little app which loads on start up and watches Isadora constantly to see if its running or not, if not it re-opens Isadora and starts all over again. I created the app in Automator for Mac and then Mark Conilgio revamped it and made it much better allowing it to open and select a specific version of Isadora and a chosen file. (Is there anything that man doesn’t know?)

So, i’m afraid I can only answer basic questions about this as in the end the final app was mostly done by Mark, however you will figure it out very easily when you open the app in Automator due to Marks annotations within the code. I’m afraid this is a mac only thing but I have heard that you can do similar on Windows. I am going to investigate this at some point.

For Windows users check out this post here:

http://www.blogsolute.com/restart-closed-applications-automatically/21992/

This is how to make an app start when you log in:

http://osxdaily.com/2006/11/29/how-to-launch-application-on-system-start-in-mac-os-x/

I hope this will come in handy for those of you doing insulation works, long VJ sets or any unmanned performance/install.

Here is the thread on the Isadora forum; ask any questions here:

http://troikatronix.com/forum/#/discussion/319/auto-reopen-on-crash

And….

[DOWNLOAD HERE] (link to my Public Dropbox)

Thanks,

Graham