Hi,
It's finally done. You can download the latest version of The Wiinstrument for Mac OS X and Linux as well as the C++ sources at SourceForge.
The Linux version can be found here and the Mac OS X version here (the application) and here (source code as Xcode project folder).
(Update: Release 0.2b745 fixes a bug and should now work on Intel macs!)
Changelog
- [new] The Wiinstrument is now working under Linux. (tobias)
- [new] Included "DrumStiicks w/ sampler" mode with own preliminary Audio sampler - not finished yet! (tobias)
- [new] Added a Tilt-to-MIDI feature. Controller tilt angles are now mappable to MIDI controllers (with jitter correction). (sebastian)
- [new] Joystick-to-MIDI support. (sebastian)
- [new] Configurable MIDI channels for each instrument mode. (sebastian)
- [new] Added a simple, easily extensible GUI for configuration. (sebastian)
- [new] Included an automatic crash report feature. Please make use of it! (sebastian)
- [new] Battery status display (sebastian)
- [new] Joystick display on Confiiguration screen (tobias)
- [new] Superfluos visual effects! (sebastian)
- [better] Faster processing in Drumstiicks mode. (sebastian)
- [better] Clarified license. The Wiinstrument is now licensed under GPL. (sebastian)
- [better] Balanced Nunchuk and Wiimote acceleration differences when applying the same force to both controllers (sebastian)
- [better] The executable is now about 10 times smaller (Éwhich saves me web server traffic) (sebastian)
- [better] New version number scheme (main version+release number+release state+build number) (sebastian)
- [better] Version display (sebastian)
- [fixed] Kiiboard mode doesn't send more note-ons than needed anymore (sebastian)
- [fixed] Corrected note display (sebastian)
- [fixed] fixed an issue when no MIDI device is available when starting (sebastian)
Compiling The Wiinstrument on Linux
There are two ways to compile the version for Linux:
- Using KDevelop
- Just start KDevelop, load the project file and compile.
After that copy libfmod-3.75.so from wiinstrument/fmodapi/api to /usr/lib/. - Using make
- Goto wiinstrument/ and start ./configure.
Copy the folders
wiinstrument/lib/boost/ wiinstrument/lib/Gosu/
as well as the files from
wiinstrument/lib/Gosu/gcc/ wiinstrument/lib/portmidi/ wiinstrument/lib/glew/ wiinstrument/lib/drums/ wiinstrument/lib/libcwiid/
to wiinstrument/src/.
Goto wiinstrument/ again, start make and watch it compiling ;)
Afterwards, copy libfmod-3.75.so from wiinstrument/fmodapi/api/ to /usr/lib/The executable file should now be at wiinstrument/scr/debug/.
WARNING! (regarding the Linux version)
You have to press 1 + 2 on your Wiimote as soon as you start the application (even bevor the application window pops up).
After a few seconds, the application window should show.
If you can see the configuration screen and the two outer LEDs of your wiimote are glowing, the wiimote successfuly connected with The Wiinstrument.
If the window shows a screen ordering you to press 1 + 2 on your wiimote, something went wrong.
I recommend starting the application from a terminal window, so you can see the debugging messages.
This is a temporary flaw and will change in a later version.
Have fun,
Tobias and Sebastian


Comments (24)
I waited long for a new version, but sadly nothing changed for me. I still got this error:
kevin:~/Desktop/The Wiinstrument.app/Contents/MacOS kevin$ ./The\ Wiinstrument
Begin pairing...
terminate called after throwing an instance of 'std::runtime_error'
what(): Error on line 141
Abort trap
I run OS 10.4.10 on a MacBook.
Greets
Kevin
Posted by Kevin Ulrich Moschallski | September 18, 2007 11:28 PM
Posted on September 18, 2007 23:28
Thanks for the report. The issue has already been reported to us, but as I can't reproduce it on my mac, it's difficult to find out where the error occurs. If you're a developer, I can only recommend to use XCode and the sources (the XCode project file is located at SourceForge), start the debugger and find out where the exception is thrown on your machine. The source file name would be really helpful.
Hope that helps,
Sebastian
Posted by Sebastian | September 19, 2007 1:06 PM
Posted on September 19, 2007 13:06
Hi Hypo,
Es geht ja schön weiter hier.
Wann kommt der Win-Port?
Gruß aus Friedrichshain
Bodo
Posted by Bodo | September 19, 2007 7:26 PM
Posted on September 19, 2007 19:26
Building this on Slackware Linux you may have a problem where it cannot find libX11. To resolve this I edited src/Makefile and changed the LDFLAGS line to say:
LDFLAGS = -L/usr/X11R7/lib
One other minor thing, the executable is in src not src/debug
.
All the same, thanks a lot for the software and the port.
Posted by Scott Waye | September 22, 2007 11:50 AM
Posted on September 22, 2007 11:50
I've had a quick look into the bug that 'Kevin Ulrich Moschallski' reported because the same thing happens to me.
I can't seem to build a debug version (it only compiles about 16 files instead of the 32 it compiles for the release version) so I can't be too exact.
The stack trace shows that the exception is being thrown in a function called getMetricsAt1Pt from Gosu::textWidth.
Hope that this helps.
Posted by Russ | September 23, 2007 8:21 PM
Posted on September 23, 2007 20:21
Bodo: The Windows port is almost working at this point of time. Tobias is just fixing some minor flaws, then we'll be done :)
Scott, thanks for the information. Regarding the compile directory build setting, I'm waiting for information about this from Tobias, who maintains the Linux port.
Russ, your comment also helps a lot, thanks. I'll try to dig deeper into this issue to fix it ASAP.
Posted by Sebastian | September 24, 2007 9:05 AM
Posted on September 24, 2007 09:05
Hey, I have the same problem as was reported before. (the line 141 problem)
I also am an amature developer, could we start an e-mail conversation about this problem?
Posted by Cullen | September 26, 2007 2:58 AM
Posted on September 26, 2007 02:58
This is the stack trace I get from gdb on a brand new Intel Mac Book Pro, after building the debug copy targeting i386 and ppc.
Hope this helps you track down the problem, and I'm anxious to try Wiinstrument.
Posted by Craig | September 27, 2007 4:54 AM
Posted on September 27, 2007 04:54
I managed to fix the "what(): error on line 141" issue that people, myself included, were having.
I commented out all the lines referencing the 'bigDings' object. The problem seems like trying to use certain unicode characters (that maybe didn't translate somehow) is what's crashing the application, rather than the object itself or the Wingdings font it's trying to use. These drawing routines appear to be mostly cosmetic. After I did this and compiled I was able to run the application, pair the Wiimote, and have everything work as it should.
Posted by Craig Calef | September 27, 2007 5:21 AM
Posted on September 27, 2007 05:21
Yay, you're really really great :) The next build will include a fix for the problem. Thank you!
The bigDings font is really only a cosmetic issue and was the fastest temporary solution to get some dingbats into the UI. We will include stuff like this as bitmaps in later versions anyway while refactoring the GUI code (I'm already working on it)…
Posted by Sebastian | September 27, 2007 8:44 PM
Posted on September 27, 2007 20:44
Hi,
i tried the update but still no luck on intel mac for me. Here's what i get:
./The\ Wiinstrument
terminate called after throwing an instance of 'std::runtime_error'
what(): Error initializing output device.
Abort trap
Greets Kevin
Posted by Kevin Ulrich Moschallski | September 28, 2007 9:42 PM
Posted on September 28, 2007 21:42
Don´t know if this is well known by now but all you have to do to make it work is install Wingdings.ttf
You find it on google!
Posted by Martin Kurtsson | October 1, 2007 6:15 PM
Posted on October 1, 2007 18:15
hello ppl :)
i have the same error on line 141 ...
craig calef: is there any chance to put somewhere or email me the fixed build ? internal use only ;)
thanks
Posted by felix petrescu | October 2, 2007 11:33 AM
Posted on October 2, 2007 11:33
funzt immer noch nich leider :o
hoffe das wird bald gefixt,
grüße aus potsdam!
christian
Posted by ifletcher | October 3, 2007 7:47 PM
Posted on October 3, 2007 19:47
Hi from France!
Keep up the good work! I'm watching daily for news about the Windows version :)
Bye!
Posted by Quezako | October 6, 2007 3:55 PM
Posted on October 6, 2007 15:55
Hi, I've downloaded every version so far, but alas, it still does not work on my Intel Mac. The application just opens to that white screen for a second and then closes with no message whatsoever. Please try to find a solution, I'm dying to use this app!!
Posted by Josh | October 7, 2007 9:08 PM
Posted on October 7, 2007 21:08
*SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION*
Please read my earlier comment or admins post the solution somewhere.
Just install Wingdings.ttf then the program works!
Wingdings is not a part of MacOSX without MS Office.
*SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION* *SOLUTION*
Posted by Martin Kurtsson | October 15, 2007 3:14 PM
Posted on October 15, 2007 15:14
To the previous guy: read the comment some posts before: get the windings font and 0.2b745, and it will work!!!
I had same problem on an Intel Mac and it worked for me! You're gonna love this wiinstrument (^__^)
Posted by Yuti | October 17, 2007 11:28 AM
Posted on October 17, 2007 11:28
Just wanted to say hello and that I am testing Wiinstrument with Ableton Live and STIEM's LiSa. So far so good. I will be closely watching development of this product.
Posted by Kevin Paul | November 10, 2007 5:30 PM
Posted on November 10, 2007 17:30
Yay!
Thanks for the (potentially) wonderful program. Unfortunately I haven't managed to get it working...
I'm using Wiinstrument-0.2b717 on Gentoo Linux. I run the executable from the compilation directory (no installing). First, it crashed with the following error:
terminate called after throwing an instance of 'std::runtime_error'
what(): Cannot open file Drum Samples/1-Crash.wav
but I copied the Drum Samples-directory from wiinstrument/debug/src to wiinstrument/src, and got no complains any more.
Now the GUI starts, but I got the following error:
Press 1 + 2 on your Wiimote to connect.
Bluetooth name read error
Connection failed.
This is the first time I'm using bluetooth on linux (I borrowed a Wiimote and bought a D-Link DBT-122 Bluetooth Dongle to test this program), so the problem may well be in my bluetooth configuration. Anyway, I'd be very grateful if someone could give some hints about what's wrong and what should I do now.
Posted by Jouni Rinne | November 29, 2007 6:10 PM
Posted on November 29, 2007 18:10
Hi!
An update: Wiinstrument works now on my machine. It's great fun, I'm looking forward for the future versions of this application.
I made a Wiinstrument ebuild for fellow Gentoo users, get it here:
http://bugs.gentoo.org/show_bug.cgi?id=203586
Posted by Jouni Rinne | December 28, 2007 5:45 PM
Posted on December 28, 2007 17:45
I tried this guide in April, and it was to only one that could explain the necessary and mystical steps needed to be performed before and after running make.
Some corrections:
The executable will be found directly in wiinstrument/src/ and since the Drum Samples folder should be in the same folder and also resides in the same directory, it's easiest not to actually issue sudo make install, but instead run the executable directly from src/:
cd wiinstrument/src/
./wiinstrument
Actually, sudo make install won't even copy the Drum Samples at all so it is rather pretty useless...
Here are the commands I used to follow your guide:
# Installing (run from the same dir that you downloaded the installation-tar.gz)
sudo apt-get install libboost-dev libportmidi-dev libglew1.5-dev zlib1g-dev libcwiid0-dev
tar -xvf The_Wiinstrument_0.2b717_source_linux.tar.gz
wiinstrument/configure
cp wiinstrument/lib/boost/ wiinstrument/src/ -r
cp wiinstrument/lib/Gosu/ wiinstrument/src/ -r
cp wiinstrument/lib/Gosu/gcc/* wiinstrument/src/
cp wiinstrument/lib/portmidi/* wiinstrument/src/
cp wiinstrument/lib/glew/* wiinstrument/src/ -r
cp wiinstrument/lib/drums/* wiinstrument/src/
cp wiinstrument/lib/libcwiid/* wiinstrument/src/
cd wiinstrument
make
ls -l /usr/lib | grep libfmod # to see if the following file already is installed
sudo cp fmodapi/api/libfmod-3.75.so /usr/lib
# Additionally, you must download Wingdings.ttf, put it into ~/.fonts and then logout and back in again before running the application
# Running:
cd wiinstrument/src/
./wiinstrument
The problems I am having currently (and benn having since April since no version has come out since):
1. There is no sound to be heard - not even in Sampler mode
2. Wiinstrument will not start when another device is using the sound card, and will not allow any other application to use the sound card. This makes software MIDI synthesizers unusable and thus the MIDI device functionality of the whole application pretty useless for everyone without hardware MIDI controllers...
Either Wiinstrument should be able to start in MIDI-only mode, support JACK, or at least allow for instance Qsynth to run in alsa mode in parallell to the Wiinstrument application.
Any plans to address these issues - or has anyone found workarounds for the above on Linux?
Cheers all!
Posted by Motin | July 21, 2008 9:18 PM
Posted on July 21, 2008 21:18
Additional (severe) issue on Linux:
No ALSA MIDI input device is registered - making it seemingly impossible to actually route the midi events to an actual external MIDI controller or software synthesizer / music application.
Is this Linux release but a interface? A teaser of what can become a real Linux port in the future?
Posted by Motin | July 21, 2008 9:29 PM
Posted on July 21, 2008 21:29
Hi guys, great work on The Wiinstrument!
I really wish for it to work better on Linux though... I have written an HOWTO on how to install the latest (and only...) Linux version, as well as summarized the outstanding issues that affect it's usability in it's current form:
http://ubuntuforums.org/showthread.php?p=5431448#post5431448
Would be highly appreciated if you could look at it and get back on the reported issues here at sourceforge! Thanks!
Posted by Motin | July 22, 2008 12:03 AM
Posted on July 22, 2008 00:03