Thursday, December 6, 2012

Phot 125 Class show



So, we successfully installed the collaborative piece.  It still had some small bugs, but I feel the students involved with it, especially those involved directly in the programming, design and construction, have a lot to be proud of.

The idea was simple, the execution.... well that's where the rubber hits the road.

These were the parameters:

An ambient sound, a sonfication of home sale data for the Bay Area was to play in the gallery until a person entered the room at which point it was to fade out.

When a person was sensed in the room via a PIR sensor, a spotlight was to fade up, illuminating the controller podium.

The podium had a handle and lens built into it which, as turned, referenced images and audio projected onto the gallery wall. Inside

The equipment being used for this was a 360 degree potentiometer in the podium connected to a Miditron board running to a Mam Mini via a MOTU Fastlane Midi interface.  Also connected to the MOTU was a CyberPak midi controllable dimmer.

In practice this all worked, but consistency was an issue.  We assembled the components and software and everything worked on the work bench.  In the gallery though, working all day, we found some glitches.  One was the CyberPak would switch modes, rendering the spotlight inoperable.  I ended up just plugging it into the wall.  The snooted spot didn't effect the projection in any way so it was not a real problem.

Another issue was upon rapid turning of the controller it would "freak out".  I believe this was the midi buffer filling up with just too much data.  It would ultimately get back on track, but was a issue.  There also appeared to be a small issue of drift in the values the Pot  would give us, this could have been some small amount of play in the mounting of it.  In hindsight, we should have gone with the individual mechanical switches for triggering the various clips.

Still the concept was proven and the full process of taking a project like this form white board to a functioning art work was a valuable learning experience.

Tuesday, October 30, 2012

First student gallery install

The first installation relying upon the tools being used in the Phot 125 course is being installed as I post this.  The installation relies upon a Max patch, a Midi dimmer, motor and a Miditron controller.  Interesting piece and my quick video doesn't do it justice.  This was shot during the install so things are fully in place and the sculptural component is still needing a wipe down, but it is functioning as intended.




Monday, October 29, 2012

Mac Mini, MIDI and monitorless use

Tonight was frustrating all around.  It totally sucks when your programming and the equipment is all set up correctly and then what appears to be an OS issue gets in the way.  We have a brand new Mac mini running OS 10.7x for driving installations.  Works great until we unplug the monitor.  Once that happens the MIDI stream freaks out, slows down or otherwise doesn't do its job.

After doing web searches and trying various attempts to "trick " the computer, I opted to take apart a cheap VGA flat screen so we can fit it in the security box.  A student show is being installed and failure is not an option.  How demoralizing would it be to get all that stuff in order and then be defeated so capriciously.  I am a firm believer in testing and making sure stuff works.  It is awful to walk into an interactive show and then not understand what is going on or to have the interactivity not function because of a computer crash etc.  Things must work!

So,   the immediate problem appears solved.  Now to find out a real solution.  I have posted to cycling74's forum and am crossing my fingers hoping an answer will be forthcoming.

Wednesday, October 17, 2012

Something Cool

Stumbled across this the other day.  Here is the link:

http://audiocookbook.org/category/one-max-patch-per-week/


Wednesday, October 10, 2012

Sound as a trigger and Solenoids



After a review of the videos being produced by the class, I asked the Core group to build up a program to control the tripping of a solenoid attached to a rudimentary lever arm.  After a couple of dead ends they got it to trigger.  Just for fun I added onto the patch the ability to trigger the device by using a microphone and loud sounds.  This clip shows just that.

The solenoid is a 12volt Dc device tied directly to a wall wart power supply.  This device is plugged into the Elation Cyber Pak.  When the AC channel of the pack turns on, the solenoid is powered and thus pulls shut.  Even so, it may not have the power needed for the student project I had envisioned, plus it is very noisy making a loud "thunk" when tripped.  Regardless, the thing is a riot.  It was especially entertaining when shouting for a while when one of the full time faculty (Valerie Mendoza) stuck her head in through the side door, no doubt wondering what the relative shouting and other vocalizations we were doing to trigger the thing.

The cool object for the night was the "split" object allowing a range of numbers to be selected.  The other odd discovery was the arm not triggering when the lights were off (we had attached a lit candle to the arm end).  We found that the Miditron was still active with a photo cell sensor.  This overrode the audio trigger.  Another good nights work.    Next will be motors.

Tuesday, October 9, 2012

Hand Crank blues



Last night after the reviewing some basics about audio for video and recording, the Core group went to work on getting the small hand crank taken from a hand crank flash light as a control or trigger for an upcoming project of one of the Grad students.  The good news is that it does work as a trigger.  So, a success is good.  We would have liked to see a smoother stream of voltage coming from the crank though.  I threw the control change message (midi) generated by the Miditron into a patch to control the playback speed of an audio file ( my normal goto method of testing stuff).  With the the constant change in the voltage though, it made the audio unrecognizable in terms of what is being said.  I started with a "I hate this Fish" audio file which was not understandable at all.  However it was not uninteresting, which is good.  I later substituted a whistling file which was very musical and could be worked coaxed into something beautiful and maybe interesting. Next stop will be motors.

We did try inserting various resistors and an inductor into the voltage path with little effect, we were hoping to smooth the voltage gradient out a bit, not go.  Now I have to ping one of our supporting engineers again.

Wednesday, October 3, 2012

Miditron and Potentiometer

Made some excellent progress this evening.  The Miditron PDF is pretty thorough and simple, this is why I couldn't quite figure why it wasn't performing the way I expected.  We had a photo-resistor in terminal one that I could only get to read in digital mode.  It just wouldn't give any information when set to analogue in.  I had assumed that this was because I didn't know the resistance of the component.  Tonight we had the photo cell in terminal one and a 100k ohm Pot in terminal 3.  Not working except in digital mode.  After re-reading the documentation we moved it to terminal 2 as the terminals must be used in sequence.  After this also failed, I reset the board to factory default.  Instantly we were getting analogue readings on terminal one.  When I switched it to digital and and term 2 to analogue, term two did not read.  The lesson is the terminals must be set to the same mode to function.


After this minor discovery, we were good.  With the pot functioning I threw together a quick patch allowing the control of ann audio files playback speed.




Here is the image of the patch used for making the sounds.  Super simple.  Had terminal two set to "control change"  and used that to control the playback speed of the file via an SfPlay object.



Wednesday, September 12, 2012

Tonight we made headway in figuring out the Elation Cyber Pak 8 midi/dmx dimmer pack.  The core group ( the three students and myself that are working out the bugs of the software and hardware before  teaching it to the rest of the class )  started going through the dimmer documentation.  It is pretty thin at best, it took us a while of trial and error and web searches to determine the device responds to only one midi channel and the dimmers are tied to a single midi note.  If the pak is set to 4 channel, then midi notes 1 through 4 are used.  As the velocity of the note is increased, so is the power to the channel.  We were using the noteout object in max.  I am almost certain I can use the midiout object.  The immediate issue with the noteout object is that we get pulses of whichever duration is currently set.  The next thing to test will be if I can just send a midi note on and then a midi note off as distinct events.

The rest of the class is engaged in the first of the video projects.  An essential "warm-up" exercise in Adobe Premiere.

Video of tonights work.