Tag Archive for 'linux'

experiment 1 : the gas organ

I’ve been working on the wiimote -> puredata -> bluemelon controlled gas organ for a while now, and we are getting ready for a full test on Monday.

gas organ

We have a big event called ‘flame and flesh’ happening on the 22nd February at Corsica Studios. Come along and check it out!

update!

the test went really well! We have good intuitive control of the organ using 2 wiimotes. I’ve also got a basic random mode going down too. It was great seeing Shawn dancing with the controllers because the sound was so well linked to his movement. I began to be able to recognise and predict what the sound was going to do as he moved. I think the use of wiimotes is going to really make waves in synchronising music, movement, visuals and who knows what else. Exciting!

mirrordrive raid backup

To backup:

just insert the secondary into the slot and the backup will start automatically.

To restore:

start with mirror drive empty

step what to do status A status B
1 optional use non raid setting to wipe partition data of old primary n/a n/a
2 power down and remove old primary n/a n/a
3 put backup disk into slot A n/a n/a
4 ensure raid 1 mode is on, and power up. green red

if step 1 is done then:

step what to do status A status B
5 put old primary into slot B green flash red flash

if step 1 is not done then:

step what to do status A status B
5 put old primary into slot B green green
6 pull old primary and reinsert with power on green flash red flash

I noticed when doing step 6 that status a is flash green, and b is flashing green/red (not exactly as above).

using a wiimote with linux and puredata

I got my wiimote to connect to linux yesterday!

linux

  • compiling the bluetooth network support as modules. I needed bluetooth, rfcomm, hidp and l2cap. I’m using a thinkpad t42 with builtin bluetooth. The bluetooth adapter is connected to the usb bus, so I also needed hci_usb.
  • installed bluez-utils, then with the wiimote on and in discovery mode run ‘hcitool scan’; finds the Nintendo wiimote!

ping:555:$ hcitool scan
Scanning ...
        00:0A:3A:6B:BD:71       n/a
        00:14:51:8C:C4:78       core
        00:19:63:1B:15:2F       Me
        00:19:1D:30:06:CE       Nintendo RVL-CNT-01

pure data

Jack + pd + wiimote + freewheeling = remote controlled looping!

Then I started freewheeling and connected that to pd using jack. I controlled the freewheeling overdub button with pd to test and it all works! So that is proof of concept of a wiimote controlled loop setup.

future…

  • I’m going to hack up volume control with the wiimote over the weekend
  • I want to control master out granular filter
  • I want to find out is whether I can get freewheeling to give me status (maybe as a midi message or unix socket) back to PD so I can control the blue lights on the wii to give me status (like if overdub mode is on). I imagine that would be cool for any control surface.