DIYstompboxes.com

DIY Stompboxes => Digital & DSP => Topic started by: QSQCaito on December 08, 2007, 07:52:36 PM

Title: Usb to Midi Interface.
Post by: QSQCaito on December 08, 2007, 07:52:36 PM
hello guys!!

I think this topica should go in this section, so here i'm writing.

I recently bought a laptop and I'm ready to do my recordings! :) Guitar through a mic'ed amp. And I have a yamaha ydp-131 of my mom, which has a midi out. Which I would like to use to controll vst plugins such as virtual bassit groove machine, synths etc!

I don't have money, nor can afford buying external audio "placa" (lol, cant remember name). So im searching for a DIY way of usb to midi.


I came out with this, but my knowledge in dps is limited.

http://www.embedds.com/diy-midi-interface-for-usb/ (http://www.embedds.com/diy-midi-interface-for-usb/)


To do this, do i need anytype of code, and program that chip? cuz i havent seen no code anywhere. And, do you think thats a good idea, any idea better??


Thanks a lot. Andy income is appreciated.

Bye bye

dac
Title: Re: Usb to Midi Interface.
Post by: Andre on December 09, 2007, 04:40:48 AM
Diego,

Yes, you need to program the AVR, and you can find a very simple programmer here:
http://www.arduino.cc/en/Hacking/ParallelProgrammer (http://www.arduino.cc/en/Hacking/ParallelProgrammer)

You can find the schematic, sourcecode and hexcode here:
http://www.avrfreaks.net/index.php?module=Freaks%20Files&func=viewFile&id=2515&showinfo=1 (http://www.avrfreaks.net/index.php?module=Freaks%20Files&func=viewFile&id=2515&showinfo=1)

The link was on the webpage you pointed to, but I think you overlooked it.

And to make it all complete, here's the driver:
http://www.roland.com/products/en/_support/dld.cfm?iCncd=724&ln=en&SearchBy=RcId&dst=P&iRcId=0000010777&dsp=1 (http://www.roland.com/products/en/_support/dld.cfm?iCncd=724&ln=en&SearchBy=RcId&dst=P&iRcId=0000010777&dsp=1)

André
Title: Re: Usb to Midi Interface.
Post by: QSQCaito on December 09, 2007, 04:25:26 PM
Superb! I'm going to take a reading and respond very soon.  Hope this works for windows vista, as it says xp.
Title: Re: Usb to Midi Interface.
Post by: QSQCaito on December 09, 2007, 04:43:56 PM
Let me see if i got it right. I build a layout for this schematic.

(http://www.embedds.com/wp-content/uploads/2007i/0709/midi_sch_big.png)

Then I build my parallel port programmer. Go with the old pc win98 which has the port to programm. On the page to biuild this it says:

You'll need to download giveio from MIT's Microcomputer Project Laboratory (thanks Jim!) and run the enclosed ginstall.bat file.

I download, execute the file. I then burn the bootloader into the chip.--> Clueless now. I execute the file. Then what do I have to do?



THanks a lot.


Sry my n00bish in dsp :P


Bye bye

DAC
Title: Re: Usb to Midi Interface.
Post by: Andre on December 10, 2007, 08:44:57 AM
QuoteYou'll need to download giveio from MIT's Microcomputer Project Laboratory (thanks Jim!) and run the enclosed ginstall.bat file.

I download, execute the file. I then burn the bootloader into the chip.--> Clueless now. I execute the file. Then what do I have to do?

No need for that. In the Arduino project the bootloader allows you to program the AVR through a serial or USB connection, which is more convenient
if you write your own AVR software.

You do need some programming software to program the hexcode in the AVR of course.
On the Arduino pages I also read something about UISP, which is AVR Programming software
http://www.nongnu.org/uisp/ (http://www.nongnu.org/uisp/)




Title: Re: Usb to Midi Interface.
Post by: QSQCaito on December 11, 2007, 03:16:06 PM
I'll have to wait until 26th decemeber to start with this. I'll be out of town. Maybe I start doinh the layout.


One more question for the moment, do you think this will have good enough latency to use it "live"

thansk a lot

bye bye

dac
Title: Re: Usb to Midi Interface.
Post by: bioroids on December 13, 2007, 02:05:40 PM
Diego, yo tengo un programador de AVR. Si me mandas el chip y el codigo yo te lo programo y te lo mando de vuelta.

Saludos!

Diego, I got an AVR programmer. If you send me the chip and the code I can program it and send it back to you.

Regards!

Miguel
Title: Re: Usb to Midi Interface.
Post by: Nisei on December 19, 2007, 09:10:05 PM
Quote from: QSQCaito on December 11, 2007, 03:16:06 PM
One more question for the moment, do you think this will have good enough latency to use it "live"
I don't think latency has anything to do with this. Latency depends on your sound card.
Title: Re: Usb to Midi Interface.
Post by: Seljer on December 20, 2007, 07:05:41 AM
Quote from: Nisei on December 19, 2007, 09:10:05 PM
Quote from: QSQCaito on December 11, 2007, 03:16:06 PM
One more question for the moment, do you think this will have good enough latency to use it "live"
I don't think latency has anything to do with this. Latency depends on your sound card.

latency shouldn't be too much of a problem from the side of the MIDI data, its the software synths where it'd probably become an issue