Thursday, March 27, 2008

$40 DIY Lemur



DIY Lemur and touch screen monome for under $40.

Grab my patch for max/msp here or my Mac OSX application here (optimized for 1280 X 1024). To get the virtual monome to work, you will have to grab a monome patch from monome.org and enter the prefix into the prefix slot below the monome. If it has no prefix try /box or /osc. Grab wiimote whiteboard for Windows here and for Mac here (thank you Johnny Lee).

See my other posts for information on how to edit this for your own needs using max/msp and for more info on the infrared glove.

If you modify the patch I'd love to see what you've done. Comment and post me a link to your work!

This project is only a single touch display, but just recently wiimote whiteboard added TUIO support. So it is possible to create a multitouch display in max/msp. I will work on this as much as I can, but unfortunately its a bit over my head. If anyone would like to help me out with this it would be greatly appreciated.

I am also currently working on making a gloveless touch system using the wiimote. It would consist of a string of leds on either side of a plexiglass overlay on the monitor, creating a true touch screen.

IR Glove

Quick DIY infrared glove for use with Johnny Lee's wiimote whiteboard hack.

What you'll need:















A:
An AA battery holder
B: Infrared LED
C: Small momentary switch
D: A glove (not pictured)

Solder a wire from the negative side of the AA battery holder to the smaller end of the infrared LED. Then, solder the positive side of the AA battery holder to the momentary switch (just one of the prongs). On the opposite side of the momentary switch solder a wire going from there to the longer end of the infrared led. Make sure to leave enough wire so that you can put the momentary switch into the glove at the tip of the index finger. Place the infrared LED on the top of the index finger pointed in the same direction of the index finger. For more information please watch my video in the $40 DIY Lemur post that is soon to come.

Find more help and more infrared devices here: http://www.wiimoteproject.com/

Max/MSP Virtual Controller

Just a brief and simple instruction on how to create a simple virtual midi controller in Max/MSP. You can download the trial of Max/MSP here.

First off we need to let our controller know what port to send midi on. We do this by creating a loadbang object connected to a message box with the number one inside. Now, make a midiinfo object and connect that to a umenu object. This will create a drop down menu for us when we start our patch.

Create a pictctrl object connected to a number box with zero inside. Now, make another object containing *127 and connect that to another object box with zero. What this does is send a value of 127 when the button is on and zero when off. Now, connect that to a ctlout object including the number of the CC you want to send on. In this case it's 60. Now just connect the umenu object we made before to the ctlout object.

Now we need to add an image to the button. Option click on your pictctrl for more info on formatting for pictctrl and pictslider. Right click on your pictctrl object and select get info.

Select "open" on the bottom of the window and select your image file. I have included a sample image for a button here.

Next, we'll cover making sliders and x/y pads. To make a x/y pad we'll be making a pictslider object. It is essentially exactly the same as the button only you'll need to add one more ctlout so you have one for x and one for y.

To make a slider you will just need to get info on the pictslider object and uncheck "move horozontally". For x/y and sliders you need to use two image files. One for the knob and one for the background. Add the images just like the button. Here are some example images you can use: slider knob image, slider background, x/y knob image, x/y background.

Monday, March 24, 2008

Farmpad for Korg Padkontrol















I have to admit, after purchasing the Padkontrol I was more than a bit disappointed. The pads had no visual feedback like the Microkontrol and other features just felt limited. It was a bit frustrating, but I learned to live with it.

Then I found Farmpad. Farmpad fills the gaps that Korg overlooked. Farmpad lets you assign a note or CC to any of the buttons on the Padkontrol not just the pads. In addition you can set the lights on all the buttons to act however you need them to.

  • Pads set as triggers will blink when hit.
  • Pads set as switches light on when on, off when off.
  • Pads can be put into groups that effect each other when hit.
With other features like 64 scenes instead of 16, remote control support, and a ton of others that can be found in the read me file, this makes the Padkontrol work how I originally expected it to.

Farmpad is a work in progress and the author takes suggestions for it as well. Usually when a feature is suggested to him it ends up in the next release. Discuss this over at the Korg forums and let him know what a great program it is.