Xbox LIVE Indie Games
Sort Discussions: Previous Discussion Next Discussion
Page 1 of 1 (13 posts)

Rock Band 3 Keyboard/Keytar/piano support?

Last post 1/9/2012 5:13 PM by Funky Ants - V 1.x. 12 replies.
  • 1/3/2011 9:44 PM

    Rock Band 3 Keyboard/Keytar/piano support?

    I'm hoping to use Rock Band 3's piano keyboard/keytar in an App I'm working on. Does anyone know if this is possible? I'm not even sure how I would connect it to my computer, since it's wireless and has no USB jack. Thanks, any help would be appreciated!
  • 1/3/2011 10:45 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    No idea if it's possible. As far as connecting it to a PC, you could try using the connecter that comes with http://www.microsoft.com/hardware/gaming/ProductDetails.aspx?pid=090 . But if it works, you'd still need to see if the input maps at all or if the connection uses special drivers on the Xbox that aren't available through XNA currently. If you can test through an Xbox, I'd start with that to avoid spending the money on a wireless controller thing.
  • 1/4/2011 2:12 AM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    Cool! I'll give that adapter a shot if I can find one for cheap. But I'm not very optimistic, the keys are colour-coded to the face buttons, but have no effect in any menu or game other than RB3. If and when I do get that adapter, I'll use the tools mentioned in this thread ( http://xboxforums.create.msdn.com/forums/p/22640/121140.aspx ) to find out what the inputs are. Thanks!
  • 1/14/2011 8:15 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    At it's root, you can use the keyboard entirely as any other MIDI device and plug it into a MIDI port on your soundcard, or through a MIDI->USB adapter into the USB. I don't know whether it will transfer the data for the non-keyboard parts of the device though (face buttons, analog panel, etc).
  • 1/14/2011 8:25 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    Not sure if this is useful to you:

    http://msdn.microsoft.com/en-us/library/dd254801.aspx
  • 8/5/2011 1:16 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    Im looking into this vis the rockband midi adapter (which i assume the wireless stuff uses the same protocol)

    The midi notes seem to be encoded via the trigers (C = 0.5f left trigger, c#=0.25f, d=0.125 and so on), 8 per trigger, which isnt all of the notes so im missing something. the velocity is sent via the analog pads, again, not entirely sure, but first note seems to be left x, 2nd=left y, 3rd note is a weird mishmash of the first 2, then 4th=right X
  • 8/7/2011 10:55 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    I did some testing on it at one point and there were some notes it simply wasn't possible to ascertain for the RB3 Keytar (it's been a while, but I think it was the upper octave). My best guesses were either that it uses a custom driver or else the conversion between the XINPUT struct ( http://msdn.microsoft.com/en-us/library/microsoft.directx_sdk.reference.xinput_gamepad(VS.85).aspx ) which uses a short for each thumbstick axis and a byte for each trigger and XNA's GamePad struct (which uses floats for everything) obliterates some information or makes it really hard to ascertain. I forget whether I checked to see if it was feeding anything via Keyboard.GetState(PlayerIndex) - it might be doing that on top of GamePad in order to get extra data channels. That might be worth exploring.
  • 8/9/2011 8:16 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    Bob Taco Industries:
    My best guesses were either that it uses a custom driver or else the conversion between the XINPUT struct

    close...

    the last 9 notes are stored in the left analog X - along with velocity - first 7 bits=velocity, second 9 bits=last 9 notes...

  • 8/9/2011 8:32 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    Even if you can get them to work, make sure to check with the company who makes them, they may be proprietary. Nothing puts a stop to indie development like a good old fashion lawsuit, so make sure you're not violating any copyrights by implementing them in your game.
  • 8/9/2011 8:34 PM In reply to

    There is a possible library...

    Is the input device for the Wii, Xbox, or Playstation?
    Because, I had come across a C#/Java library for all Wii input devices that support Bluetooth. The library is called WiiLib (last I checked).
  • 8/10/2011 12:21 PM In reply to

    Re: Rock Band 3 Keyboard/Keytar/piano support?

    unfortunately for them, its not proprietary, its XInput. Yes, theyve used it in a weird way, but under DMCA rules, everything we do for compatibility reasons is nonpunishable. However, using the name of the product can be considered trade mark infringement.

    So, what I have done is manage to get the "MIDI instrument to Xinput adapter" to work in xna.
  • 8/10/2011 12:22 PM In reply to

    Re: There is a possible library...

    i think youve misunderstood. its for xbox. Which is the platform we are trying to use it on. The issue isnt comms between device and console - its what to do with the data we get.
  • 1/9/2012 5:13 PM In reply to
    If any of you got this working nicely, it would be cool if you could post some sample code :D

    (that maybe just prints on screen what button/key was pressed or something!)
Page 1 of 1 (13 posts) Previous Discussion Next Discussion