« We're back from IFA 2007 | Main | The Wiinstrument 0.2 for Linux and Mac »

Wii remote + Garageband = <3 (Howto)

Playing drums with your Wii remote in GarageBand? No problem. Here's how you do it…

(You need The Wiinstrument 0.2+, a Mac with Bluetooth and Apple's GarageBand installed, and a Nintendo Wii remote. For a better feeling, a Nunchuk extension controller is recommended.)

garageband_icon.png

Step 1: Start and configure GarageBand

First, start GarageBand. In the lower right corner of the GarageBand window, you should see a small button with an "information" symbol:

garageband_corner.png

Clicking on this button opens the track information panel. Choose “Drum Kits” on the left panel (1), then click on one of the available drum kits (2). I recommend “Rock Kit”, as this kit features a high quality drum set that sounds almost like a real one:

garageband_drumkit_choice.png

audio_midi_setup_icon.png

Step 2: Configure MIDI

To be compatible to typical electronic musical hard- and software, The Wiinstrument outputs MIDI. To reroute this MIDI output signal into GarageBand's virtual MIDI-in jack, you have to set up a so-called “loopback device”. Luckily, MacOS X already has a MIDI loopback device built-in.

Find the Audio/MIDI Setup application (e.g. via Spotlight) and open it. To enable the loopback device, double click on “IAC Driver”:

audio_midi_setup.png

Then enable the device by activating the “Device is online” checkbox:

enable_iac_driver.png

Click on “Apply” and close the Audio/MIDI setup windows.

Step 3: Delete Wii remote connections

Connecting Wii remotes to a Macintosh is sadly not officially supported by Apple and Nintendo—therefore, the following procedure is sometimes necessary to make sure that the connection really works.

You have to delete existing Wii remote Bluetooth connections. Go into System Preferences and click on “Bluetooth”:

find_bluetooth_preferences.png

To put the Bluetooth kernel gods in a merciful mood, look for devices with the name “Nintendo RVL-CNT-01” in the appearing list (1) and delete 'em all (2):

remove_wiimote_connection.png

Click on “Disconnect and delete” if you get a message like this:

disconnect_and_delete.png

You're almost done…

wiinstrument_icon.png

Step 4: Connect the Wii remote

Now you're ready to start The Wiinstrument. Be sure to have your Wii remote at hand, as you have only 20 seconds to connect your Wii remote after the application starts. Follow the instruction and press 1+2 on your Wii remote at the same time. After some LED blinking, The Wiinstrument should receive the first data from the remote and change to the Confiiguration screen. If you have a Nunchuk extension controller, be sure to connect it to your Wii remote before pressing 1+2.

If you're unlucky and the connection fails (because you have waited to long or because the Bluetooth gods didn't receive your prayers), repeat step 3. If you've got a single processor machine, this may even be necessary multiple times, but don't panic: if you get a connection, everything is stable (at least as long as your Wii remote batteries last).

Step 5: Using The Wiinstrument

As mentioned, you should see the Confiiguration screen now: Here you can setup how the Wiinstrument works. You can use Up, Left, Down and Right on the D-pad to navigate between the graphical elements and Plus, Minus, or the A button to change the values. By pressing the Home button, you can change between the different modes of The Wiinstrument:

wiinstrument_screens.png

But let's keep an eye on the Confiiguration screen first. On the right side, you see the data that the accelerometers supply. Navigate to the MIDI device field and press A until the field displays “IAC driver bus 1” (if not already chosen by default). Don't touch the other settings yet.

Press Home to get into the Drumstiicks (MIDI) screen. In this mode, The Wiinstrument recognizes drumming gestures and sends appropriate MIDI notes. If everything went well, you have a new percussion instrument in your hands: Just beat into the air with your controllers. If you beat harder, the sound intensity increases.

The screen also displays how to change played notes. You can assign each controller individually. If you want to know which MIDI note means what in GarageBand's drum kit, consult this listing.

Have fun!
Sebastian

TrackBack

TrackBack URL for this entry:
http://screenfashion.org/cgi-bin/mt/mt-tb.cgi/11

Listed below are links to weblogs that reference Wii remote + Garageband = <3 (Howto):

» A new way to control MIDI with your Wii remote from screenfashion
Update: 0.1 is an old release. A newer one is available here: The Wiinstrument 0.2b713. Be also sure to check out our GarageBand+Wiinstrument tutorial! Hi everybody. Ever wanted to have a cheap external MIDI controller that's wireless? Or to play... [Read More]

» Why I Bought a Wii Remote Before the Console from be awesome instead
Nintendo Wiis’ are addicting. I haven’t been a huge gamer since college but I am really wanting a Wii. However, I have been noticing more and more people finding uses for the WWII remote. Now I realize I could talk for years on all the hom... [Read More]

Comments (51)

Mike:

Wiili.org ?

I don't understand the question… Could you be more precise? Thanks ;)

robocop:

When I get info from the app, it's says PowerPC...
Is there an universal version?

Thanks for your GREAT work.

fletcher:

it doesn't work on my Intel Mac :( it is PPC only!

Thanks for the feedback, robocop. The next release will be Universal Binary.

fletcher,

Thanks for the crash report (if it's yours), this helps us a lot. The crash happened in some part of the DarwiinRemote code, but I will try to fix it anyways—the bug is on my todo and I hope we can fix it in for next release.

I'm getting an error immediately when starting the program:

Begin pairing...
terminate called after throwing an instance of 'std::runtime_error'
what(): Error on line 141
Abort trap

Is it just that this won't work on Intel Macs yet? Can I compile it myself with Xcode to make an Intel version?

Craig,

I've tested the previous release on an Intel mac and it worked, but did not test the 0.2 release yet.

The bug you describe here is already reported by other people, but I could not reproduce it yet—if you're a developer, it would be great if you could report where the error is thrown. A stack trace would also be perfect :) If you should be able to fix it, a patch would be really welcome!

Here's the XCode project folder:

http://downloads.sourceforge.net/wiinstrument/The_Wiinstrument_0.2b717_source.zip?use_mirror=osdn

Alejandro:

Hi.
I have tried doing the wiimotes and garageband thing, every step works fine until i get to the step 4..it just wont workd i can pair the wiimote to the wiinstrument.
I have the latest version and the weird thing is that i can connect the wiimote to darwiinremote so i dont understand whats happening.
Ive tried several times but it wont work.
I have an Imac bought like 4 months ago.

Please help i really want to use the wiimotes as drumsticks.

Thanks

Maybe it's really not working on Intel machines yet. As soon as I get hold of an Intel mac (maybe this weekend) I'll try to reproduce and fix this.

Can you tell me which version of DarwiinRemote worked for you?

Alejandro:

Hi.
The version of darwiin remote im using is 0.5
The weird thing also is that the wiinstrument beta version 0.1.1 IS working for me but since it has very few keys i wanna try the new one.
Thanks.

Gbadvance:

None of my wiimote progs work anymore.
The Wiinstrument 0.1.1
The Wiinstrument 0.2b
OR
Darwiin Remote
And darwiin remote keeps saying:
===== WiiRemoteDiscovery error (-536870185) ===== help

Have you deleted all Wii remote connections in Bluetooth preferences like shown in step 3 above?

Mike Cook:

I can confirm that it won't work on Intel machines. My new Power Book Pro I get no joy, but my old Mac Mini it works perfectly. Deleteing Wii remote connections are not needed on any other Wii application on any machine (OS 10.4.10) and doing so only causes other Wii apps not to work. I have found it is also not needed with the Wiinstrument on the old PPC processor. Great application I made me go out an buy a Wii remote this weekend.

felix dan:

the only wii to midi stuff that works well on intel macs is http://www.steim.org/steim/junxion_v3.html

and is not that expensive ...

Wiinstrument 0.1 also works well on Intel macs (at least my tests did ;)). We're still on a fix for 0.2 for Intel macs. Thanks for your patience in this matter…

Gbadvance:

Well it did too for me, until I installed v .2. Then none of them would work! I did delete the connections, though.

Gbadvance:

Ok, darwiin remote works now. But I am soo exited for v .2

Gbadvance:

Ok, darwiin remote works now. But I am soo exited for v .2 to work!

Mike Cook:

Hi,
I have downloaded the source code and compiled it on my Mac Book Pro and it works !!!
How do I get the compiled version to you so you can distribute it.

Mike,

this was really a silly "bug" :) Thanks for your information. We have released an official version (0b745) that should work on Intel machines here

SourceForge download link: http://sourceforge.net/project/platformdownload.php?group_id=190975&sel_platform=4332
Local mirror: http://screenfashion.org/releases/The_Wiinstrument_0.2b745.dmg

Kirby:

It seems the 0.2 version still doesn't work on my Intel Mac Mini. It boots up, crashes and then nothing.

Are you sure it will work on Intel Macs?

Thanks for your report.

I have tested 0.2b745 on a MacBook Pro and a MacBook before releasing it and it worked well.

Have you looked for error messages in the Console? The content of your "~/Library/Logs/CrashReporter/The Wiinstrument.crash.log" file would also be helpful to fix the problem.

thesponge:

when launching on my macbook pro...

Begin pairing...
terminate called after throwing an instance of 'std::runtime_error'
what(): Error on line 141

Emma:

First of all... GREAT APP... Haha!!

It's awesome to play drums with it!!!

Now, on with the problem:

Everything works great, except for DrumStiicks (MIDI) sound... The volume is way lower than the rest (KiiBoard and Sampler) and I really don't know how to fix that... Maybe it's a problem in Garageband...

Well, any help would be appreciated...

Thanks again for this amazing, fun and free app!!

The Wiinstrument can't do much about the volume of a MIDI instruments like GarageBand: The software already uses almost the whole MIDI note velocity range.

But if you can't play louder by beating harder, you can still turn up the volume in GarageBand: Both the drum track and the Master track have a volume control where you can turn everything louder.

You could also change the Drum Kit or apply GarageBand's compressor effect on the track. To achieve this, just click on the "Details" arrow at the bottom of the track information panel on the right, where all track effect settings are located.

This program rocks. I've used it to control NI Reaktor and it worked great. Today I reinstalled my OSX and it no longer works. It crashes immediately. I've read others seeing this also. PPC, 10.4.10. Hmmm.

Emma:

Thanks for your quick response Sebastian!

But the fact that I wanted to point out is that the sound between the :

DrumStiicks (MIDI) and Kiiboard

modes are VERY different!

I mean, i play the same notes using the Kiiboard and the volume is top notch... GarageBand registers it very well and the volume of it is on par with anything...

But if I play these notes in the Drumstiicks MIDI mode, the sound is REALLY much lower... it barely registers on the volume scale in GarageBand... Even if I beat the hell out of my Wiimote...

So it really is problem with Wiinstrument (i think) since the same notes, with the same arrangements are registered with different volumes in GarageBand depending on the mode chosen in your software...

I hope I've better explained the problem...

Keep up the GOOD work!

Emma:

I found something.

The thing is: When you use the DrumStiicks MIDI mode, the velocity of the notes you play is REALLY low... So you don't really hear yourself playing.... But, afterwards, you can pump it to a respectable volume if you recorded yourself...

That brings my new question (Heheh):

Would there be a way of increasing the velocity of the sounds you do LIVE??

In GarageBand or in Wiinstrument...

We're making progress here.

Thanks again

The Wiinstrument does not send any volume information to GarageBand or any other MIDI capable software, but only MIDI instructions like "set status of midi note C-4 to ON with velocity 100". Possible MIDI velocity values lie between 0 to 128—the software uses values between about 40 and 128, so the full range is covered.

Normally, playing loud should be possible with GarageBand by turning up the track volume.

If you're really sure that you already have set everything as loud as possible in GarageBand and there's an error with the MIDI velocity range that The Wiinstrument sends, just record some of the loudest notes you manage to play in GarageBand, save the GarageBand song and send it to us (wiinstrument@screenfashion.org) so we can try to fix it :-)

Best regards,
Sebastian

Hi I'm using version 0.2b745 on my Mac Mini (1st gen) Intel. I'm still getting the

Error: No devices found.
Begin pairing...
terminate called after throwing an instance of 'std::runtime_error'
what(): Error on line 141

I've checked my Bluetooth preferences and can't see a previously paired Wiimote.

The first line ("Error: No devices found.") shows that there are no MIDI devices found, but this should not do any harm (except you won't be able to play MIDI with The Wiinstrument). The problem should be fixed when you set up the IAC device like explained above.

As some other blog comments point out: Find, download and install the font "wingdings.ttf" and the application should start correctly. We overlooked that the font is not part of MacOS X—In the next release, the used symbols are replaced by our own bitmaps so the problem is solved :-)

Klyick:

I'm having the Exact Same Problem as Emma and Andy.

Also, I discovered in the preferences pane of Garageband that there is a midi velocity adjuster, which changes the sound from unhearable to just barely hearable. Please fix this, Guys! This app will be awesome if you could get it to work.

Thanks for your feedback. Sorry for this—we've already found the error. The bug was sort of collateral damage of a code cleanup. The next version will come with a fix for this!

Bill:

This is terrific ... made my day ... I can here sound when I play in sampler mode but when in Drumstiicks mode and with Garageband open no sound ... I see the little midi dot light up on downward hits but if I record no data is captured .... Thanks!
Bill

Vineeta:

I was using the WiiInstrument application and it worked. However, when I do build and go, it doesn't create the executable, it says something about the path. Also, can we have more than 1 Wiimote input to generate sound with one application or do I have to run more than 1 application to run multiple sound inputs.

Thanks.
Vineeta

You have to use more than one instance of the Wiinstrument to use multiple Wiimotes at once, but multiple Wiimotes are on our ToDo list :)

toogers:

aw ******! is there darwiin remote for windows!?!?!?!?!?!?!?!

ty

Nope, but if you need The Wiinstrument for Windows, look here :)

Corbin :

My wiimote connected, but nothing happens when i try to play. Can u please send me an email on how to fix this?

Could you provide more information?

confused:

Is it possible to send midi events using the other 2 axis besides pitch? (yaw and roll)

As seen on the screenshots, you can use pitch and roll for MIDI CC.

Yaw is not supported, as the Wiinstrument has no IR support (which would only allow a very small range of yaw anyway), and as the yaw rotation axis is the gravity vector (which we use for calculating roll and pitch).

confused:

Thanks for the response. I wasn't as specific as I should have been...I'm using the drumsticks MIDI + garageband. Is it possible to send noteOn noteOff midi events with the other axis to Garageband?
I see the options for pitch and stick x,y, but how do i use those midi cc events to tell garageband to play a note?

The basic drum gesture works great, but I'd like to also be able to do different gestures...

Thanks again.

confused,

I'm sorry that this is not possible at this point of time, at least not with GarageBand.

Using the other axes for MIDI note-ons will definitely be in one of the next releases, though :)

Regards,
Sebastian

marco:

hi guys any info on how you connect wii instrument to Reaktor? anyone? Thnks

ElRhodeo:

Hello,

unfortunately, every version of Wiinstrument I tried shut down immediately.
I'm using a MacBook Pro with OSX 10.4.11, and I've tried the builds b745, b713 and n1151.
I followed all the steps you mentioned, deleted the Wiimote from the Bluetooth connections... no luck.
Looking forward to the next builds... thanks for your efforts!

Alistair Jones:

This is a lot of fun - thanks for putting it out there.
I did have a problem with the program quitting immediately at start-up, but I eventually figured out that this was because it couldn't find the "Drum Samples" folder. In a future version it might be nice to mention more explicitly the need to put this folder at the same level as the app itself, package the files inside the app folder, or give some kind a more visible message if they can't be found at start-up.
I'm having the same problem with very low volume as others report.
By the way, I can confirm compatibility with my MacBook Pro running Mac OS 10.5.1

Tim:

Hey!
Thanks A LOT! for making this software its the best fun and i've shown all my friends how cool it is.
you guys deserve to get paid or something hahaha
i was wondering if you have any idea as to when the new version is coming out?

i had an idea.
i was thinking maybe you could set up a small program for the drumstiicks where it has an Auto switch. like. say you're playing Snare(nunchuck) and Kick(wiimote). and then you want to switch immediately to a TomTom(nunchuck) and another TomTom(nunchuck) you could make the program so that you press B or A on the wiimote and it switches both of your hands to the tomtoms straight away. so its more like your playing a real drum kit and to switch both hands you just have to push one button.
Just thought of it. Duno if you're really looking for more ideas. but yeah :)

also the design work on the leopard version looks sweet.
wish i could use it on my Mac Version 10.4.1 but ill be patient and wait :D

Tim:

another idea!

make the program use-able by 2 wiimotes.
then you can strap the wii mote and the other nunchuck to ur feet and play kick and clap the high hat!
FUNNNNN!! :D!

Ted Kritzler:

Has anybody tried using the Guitar Hero Wiimote configuration with this? The guitar controller just plugs into the nunchuk port on the wiimote. I haven't set this up yet on my DAW but I can't wait to try....

Post a comment

(If you haven't left a comment here before, you may need to be approved by the site owner before your comment will appear. Until then, it won't appear on the entry. Thanks for waiting.)

About

This page contains a single entry from the blog posted on September 10, 2007 9:40 AM.

The previous post in this blog was We're back from IFA 2007.

The next post in this blog is The Wiinstrument 0.2 for Linux and Mac.

Many more can be found on the main index page or by looking through the archives.

Creative Commons License
This weblog is licensed under a Creative Commons License.
Powered by
Movable Type 3.34