Im talking about the Arduino, or whatever microcontroller board you use, if that's how you decide to do it.spacedad wrote:what controller do you mean,software or hardware?
Yeah, that can be done, like I say; some microcontroller board, like the Teensy, can be made to act like class-compliant USB MIDI devices.i was thinking plug in to usb on laptop and energyXT/asio4all would recognise it as aodio or midi.
But some (eg Arduino Uno) cant act as MIDI devices - when connecting them, your PC is 'talking' to the Arduino via an onboard USB-to-serial connection but that only ever looks to the PC like a serial (COM) port. If that's the case, you'd have to be sending messages over serial, and converting them to MIDI on the PC end (eg with something like this...http://projectgus.github.io/hairless-midiserial/)
As an alternative to both of those, though, you could build old-style 5-pin DIN MIDI connectors onto the microcontroller board, and plug it in via a MIDI interface, but you have to get the software you write sending properly-formed MIDI messages. There are 'shield' boards for the Arduino family that are prebuilt DIN MIDI boards that plug into an Arduino controller if you dont want to have to work out how the electronics would work.
Examples of all of these are all over the place, FWIW.
asio4All is for audio only. If you were going down the route of directly hooking up your drumpads to a soundcard, and avoiding using a microcontroller board completely, then you'd need one audio input channel per drumpad. But then you'd probably need to turn the signal into MIDI by some plugin or other inside eXT, and you'd start running into issues with the soundcard you actually want to use for your audio, since ASIO is funny about multiple connections etc.