tags:

views:

168

answers:

3

Hello there!

I've been interested in making a type of 'drum emulator' using the rockband drum controller as an input. Windows systems recognize the controller as a Game pad. So, I was wondering what the best languauge to implement this in is?

I have made a sample program that works using the JInput API (Java), but I can't implement multiple similtanous hits at the same time. I was wondering if anyone would have any insight on what language to create my program in.

If anyone would like to see my java sample I can put a zip up here after I get home from school...

Thanks in advanced!

Brendan

+1  A: 

If you're on Windows interfacing with a Windows game why not go through XNA using C#?

wheaties
I never thought of using XNA...That could work really well actually...Thanks! I'll Look into it!
Brendan
A: 

Unfortunately, it's not that simple - you will need custom drivers to be able to interface with it.

I'm not sure exactly what needs to be done, but it's been done before - see this link for the drivers, and Drum Machine for an example of a working drumset emulator.

BlueRaja - Danny Pflughoeft
Yeah, I've seen that (drum machine). So i wanted a crack at making my own...
Brendan
[citation needed] - why do you need custom drivers? It appears the device acts as a Gamepad, i.e. a USB HID. This is corroborated by the ability to use Java JInput.
MSalters
I have a prototype made in Java using JInput, but obviously Java isn't the greatest for real time input and audio output...which is why i'm looking to make something in C# using XNA most likely
Brendan
A: 

Agree with wheaties, coming from Java, C# and XNA is probably your best bet. Alternatively, XInput/DirectInput (from DirectX) and any C/C++ environment (SDL/GDI/OpenGL/Win32 etc) but this will be a bit trickier.

acron