Page 1 of 1

MIDI Controllers

Posted: Tue May 08, 2012 10:41 pm
by racarate
Hey everyone,

I recently heard about somebody (I think it was increpare) hooking up physical knobs and sliders to control gameplay parameters. It's sounds like Unity's scrubbers to the next level! Has anybody here tried this with LOVE? The Korg nanocontrol looks like a perfect little gizmo for this kind of thing, but while there seems to be reams of USB-->MIDI projects I can't find anything about MIDI-->'love.keypressed'.


-Nick

Re: MIDI Controllers

Posted: Wed May 09, 2012 3:32 pm
by josefnpat
It might be tricky, but I think you can do it with the help of a few external Lua Libraries. Take a look at this.

My MIDI knowledge is not up to snuff to understand this at a glance, so perhaps someone else on the forums has tried this, but I've only seen a few threads talking about getting MIDI keyboards working in love.

Re: MIDI Controllers

Posted: Wed May 09, 2012 3:42 pm
by coffee
josefnpat wrote:It might be tricky, but I think you can do it with the help of a few external Lua Libraries. Take a look at this.

My MIDI knowledge is not up to snuff to understand this at a glance, so perhaps someone else on the forums has tried this, but I've only seen a few threads talking about getting MIDI keyboards working in love.
That would help him to deal with midi data internally but wouldn't deal with get hardware input as he wants. He would need do some custom LOVE build.
Turns to be the same problem that viewtopic.php?f=4&t=8290

Re: MIDI Controllers

Posted: Wed May 09, 2012 4:19 pm
by racarate
Thanks for the replies so far... I was hoping there was a MIDI-keyboard program along the lines of joyToKey but I haven't found one yet.


-Nick

Re: MIDI Controllers

Posted: Wed May 09, 2012 4:24 pm
by TechnoCat
racarate wrote:Thanks for the replies so far... I was hoping there was a MIDI-keyboard program along the lines of joyToKey but I haven't found one yet.
MIDI is generally values from 0-255 so midi2key wouldn't make sense.

I suppose I can try it out with my MIDI controllers and report back in the near future if I remember to.

Re: MIDI Controllers

Posted: Wed May 09, 2012 4:56 pm
by racarate
Good point, maybe mapping MIDI input to love.joystick.getAxes() makes more sense?


-Nick

Re: MIDI Controllers

Posted: Wed May 09, 2012 6:05 pm
by TechnoCat
racarate wrote:Good point, maybe mapping MIDI input to love.joystick.getAxes() makes more sense?


-Nick
You would need like hundreds of joysticks. :crazy:

Re: MIDI Controllers

Posted: Wed May 09, 2012 6:28 pm
by coffee
TechnoCat wrote:
racarate wrote:Good point, maybe mapping MIDI input to love.joystick.getAxes() makes more sense?


-Nick
You would need like hundreds of joysticks. :crazy:
I had same thought than you but actually with modern gamepads with a lot of parameters/axis/buttons one joystick is actually enough to do a lot. There really some people that had that idea
http://www.otk.it/mjoy/
http://www.fergonez.net/index.php?lang= ... pps&pid=14 / http://forum.cockos.com/showthread.php?t=37629
http://www.virtualdj.com/homepage/pern/ ... apper.html
http://www.instructables.com/id/Arcade- ... ontroller/
http://www.instructables.com/id/DIY-Vir ... ontroller/
http://www.instructables.com/id/How-to- ... Xbox-360-/

GREAT UPDATE!
Actually could be possible use a midi keyboard or any midi device to transform it in game controls so we can use it again in LOVE to do something musical!
This transforms midi signals in game controls input
http://glovepie.org/glovepie.php
Control games and applications any way you want.
Send fake keyboard keys, jostick actions, mouse moves, midi input or speech input to any program.
Use a VR Glove, Kinect, Wiimote, SIXAXIS, keyboard, joysticks, mice, touchpad or a microphone
to control any program.

Re: MIDI Controllers

Posted: Wed May 09, 2012 8:12 pm
by racarate
Awesome! Gonna borrow a MIDI controller and try this out...


-Nick

Re: MIDI Controllers

Posted: Thu May 10, 2012 3:17 pm
by projecte1
I've been looking at the links you posted and "http://glovepie.org/glovepie.php" I have been very useful.

Thanks for sharing and help! Above me in this case hehehehe.
:D :D :D :D :D
coffee wrote:
TechnoCat wrote:
racarate wrote:Good point, maybe mapping MIDI input to love.joystick.getAxes() makes more sense?


-Nick
You would need like hundreds of joysticks. :crazy:
I had same thought than you but actually with modern gamepads with a lot of parameters/axis/buttons one joystick is actually enough to do a lot. There really some people that had that idea
http://www.otk.it/mjoy/
http://www.fergonez.net/index.php?lang= ... pps&pid=14 / http://forum.cockos.com/showthread.php?t=37629
http://www.virtualdj.com/homepage/pern/ ... apper.html
http://www.instructables.com/id/Arcade- ... ontroller/
http://www.instructables.com/id/DIY-Vir ... ontroller/
http://www.instructables.com/id/How-to- ... Xbox-360-/

GREAT UPDATE!
Actually could be possible use a midi keyboard or any midi device to transform it in game controls so we can use it again in LOVE to do something musical!
This transforms midi signals in game controls input
http://glovepie.org/glovepie.php
Control games and applications any way you want.
Send fake keyboard keys, jostick actions, mouse moves, midi input or speech input to any program.
Use a VR Glove, Kinect, Wiimote, SIXAXIS, keyboard, joysticks, mice, touchpad or a microphone
to control any program.