You are not logged in.

#1 2013-06-03 19:40:10

alomsimoy
Member
Registered: 2013-06-03
Posts: 10

[REQUEST] Wiimidi

Problem description:
After a whole day spent finding how to use my Guitar Hero World Tour Drum Kit (Such a long name...) as a virtual drum pad in my shiny arch, I found the perfect program for me: Wiimidi.
It takes all the features that I want. I can use it with a professional drum kit program called hydrogen. Also includes the source code. It sounds too perfect to be true.
So I download the package, and I look at the dependencies. Oops, first problem. configobj, pypm and python-cwiid.
Looking in the AUR, i supposed that the python-cwiid, i simply the cwiid package, and I install it and test it. It recognises well my wiimote.
The package configobj, I supposed that is python2-configobj, so I install it too.
But the last package, pypm, is not in the AUR under any name.
After an Aspirine, I decide to go on with the compilation, so after uncompressing the package, and entering to the directory, I put the classic ./configure, and... No such file or directory. What? i look into the package, and there is an executable named wiimidi, so I tried to run it, but, as expected, didn't work...
Well, I don't know how to go on, and I hope you guys help me.
I think that is a cool program that would be usefull in the AUR, for those people who have an old full of dust Guitar Hero World Tour Drum Kit in a corner.

Wiimidi

Mainpage:
http://roland.entierement.nu/pages/wiimidi.html

Dependencies:
configobj -> python2-configobj
pypm ??
python-cwiid -> cwiid

Code:
src: http://roland.entierement.nu/pages/wiimidi-0.8.tar.gz
bzr: http://alioth.debian.org/~lolando/bzr/wiimidi/trunk/

Opt depends:
hydrogen
hydrogen-drumkits

Thanks a lot!

Offline

#2 2013-06-03 19:48:02

tomk
Forum Fellow
From: Ireland
Registered: 2004-07-21
Posts: 9,839

Re: [REQUEST] Wiimidi

You'll need a few Python modules, namely configobj, pypm (PortMidi) and of course python-cwiid

Emphasis is mine, should help with your search... wink

Offline

#3 2013-06-03 19:51:45

Scimmia
Fellow
Registered: 2012-09-01
Posts: 13,729

Re: [REQUEST] Wiimidi

Why didn't it work? Enter the command under "Run it" on the main page you linked to and let us know what kind of errors you get.

It's probably the deps, pypm is most likely https://aur.archlinux.org/packages/python-portmidi/

Offline

#4 2013-06-03 20:46:46

alomsimoy
Member
Registered: 2013-06-03
Posts: 10

Re: [REQUEST] Wiimidi

After installing python-portmidi, i tried the following (under the wiimidi uncompressed directory):

$ ./wiimidi --verbose --config=./wiimidi.conf --kit=general_midi
  File "./wiimidi", line 121
    print msg
            ^
SyntaxError: invalid syntax

Same result under sudo

Emphasis is another PortMidi option? I didn't find in the repositories (AUR neither)

Offline

#5 2013-06-04 12:56:15

alomsimoy
Member
Registered: 2013-06-03
Posts: 10

Re: [REQUEST] Wiimidi

Ok, I finally found the mistake.
The script is written in python2, and in archlinux, the #! /usr/bin/python is python3, so, changing the #! /usr/bin/python to #! /usr/bin/python2, it works.

But, in hydrogen I cannot find the midi in, so I think that I'm doing something wrong (maybe some dependencies?)

Offline

Board footer

Powered by FluxBB