Welcome, Guest
Username: Password: Remember me

TOPIC: Midi signals to tone generation using due/shield?

Midi signals to tone generation using due/shield? 1 year 6 months ago #1353

  • ZagatoZee
  • ZagatoZee's Avatar
  • OFFLINE
  • New Member
  • Posts: 17
  • Thank you received: 3
  • Karma: 3
I'm seriously toying with the idea of doing a mod like this to some Guitar Hero World Tour drums - www.instructables.com/id/Convert-Rockban...oller-to-MIDI-Drums/

I have a pair of Dues and pedal shields laying around, and I was wondering if I could in theory use the due/shield combo as is for the midi generation aspects - but also use the output jack of the pedal shield to generate a tone based on those midi inputs - all on the one board?

Ideal use case;

Drum pad is hit, midi signal is generated that can be read by a device connected via the midi port in the GHWT drum kit using the connection methods described in the above link.
Simultaneously, a tone or note is generated and sent out via the output jack of the pedal shield (C4 for randaom eg).

Is this possible, or am I wasting my time?
The administrator has disabled public write access.

Midi signals to tone generation using due/shield? 1 year 6 months ago #1354

  • Ray
  • Ray's Avatar
  • OFFLINE
  • Moderator
  • Posts: 692
  • Thank you received: 146
  • Karma: 41
Hi, I have been reading the project and it is interesting.
Your idea of sending a MIDI serial note and generating a tone in parallel seems plausible.
You can use any arduno board because does not look like a very complicated code.
It would be basically a mix of the program uploaded by evankale (github.com/evankale/ArduinoMidiDrums/blo...ArduinoMidiDrums.ino) and the sinewave generator program.
At the time that the evakale code generates the midinote ("noteFire" in the code), you can try to generate a sinewave for some hundreds of milliseconds.

So, for me seems plausible, but first of all, you need to understand how evankale code works, how the pedalshield tone generator (sinewave generator) code works and try to mix both together.
The administrator has disabled public write access.

Midi signals to tone generation using due/shield? 8 months 3 days ago #1704

  • ZagatoZee
  • ZagatoZee's Avatar
  • OFFLINE
  • New Member
  • Posts: 17
  • Thank you received: 3
  • Karma: 3
Thank You for replying so promptly originally, I have read your reply a few times and am finally getting to the point I think I can start actually doing this project. Believe it or not, but acquiring a GHWT drum set has much harder here than I thought it would be.

Your comment about using any arduino and the space (packaging) constraints at play got me thinking, could I use one of my arduino pro micros instead? I figure I only "need" 6 analogue inputs and one output for this idea to work right? (Ignoring the original midi output concept for now)

But the next thing to hit me was - can I just use a bare analog output pin connected to the "tip" for a 1/4 inch audio jack - and expect to be able to connect that to pc based gear (usb audio interfaces) designed for use with a guitar - and not risk frying anything?

Is that safe, or does some sort of small circuit need to be put between the analog output pin and the 1/4 jack to "make sure" not to mess anything up?

I know I'm way off the "pedal shield" territory now, but I figure you're more likely to give an informed answer than random googling or arduino forums are likely to get me. If "something" needs to be between the output pin and the jack, can you suggest what it should be?

Again, thanks for everything you do - any help you can offer will be greatly appreciated.
The administrator has disabled public write access.
Time to create page: 0.196 seconds
Powered by Kunena Forum
Joomla SEF URLs by Artio