Author Topic: Guitar-to-MIDI project article  (Read 89494 times)

mikestorm

Re: Guitar-to-MIDI project article
« Reply #20 on: December 17, 2009, 09:11:17 AM »
hi

is there some way to get a free copy of the article/project?

thanks all

mikestorm

Re: Guitar-to-MIDI project article
« Reply #21 on: January 11, 2010, 05:12:31 AM »
Hi all

i'm working on this project, done the pcb, but the problem is to find the pic 16f88(i've got many 16f84A and 16f84) here in Italy.

however, does anyone allready done this circuit and tasted yet?

would someone be kind and let me listen to some sample, in order to see what really can do the project?

thanks to all

Mikestorm

Jarno

Re: Guitar-to-MIDI project article
« Reply #22 on: January 11, 2010, 09:10:04 AM »
You can get the programmed PIC at Magenta Electronics.

I am wondering about this project, since it's such a simple build. Has anyone else built it? How's the tracking/ delay? Anyone try it on bass?

G. Hoffman

Re: Guitar-to-MIDI project article
« Reply #23 on: January 11, 2010, 03:29:33 PM »
You can get the programmed PIC at Magenta Electronics.

I am wondering about this project, since it's such a simple build. Has anyone else built it? How's the tracking/ delay? Anyone try it on bass?


I haven't tried this project, but many years back I did play around with MIDI guitar for a while.  The tracking is always an issue, and if your technique isn't clean you will have problems. 

The problem with the tracking is that it takes at least half a cycle for the device to figure out what note you are playing.  One of the side effects of this is it takes longer to detect lower notes than higher, so tracking on a bass will ALWAYS be a problem.


Gabriel

Jarno

Re: Guitar-to-MIDI project article
« Reply #24 on: January 12, 2010, 05:28:23 AM »
Yes, it seems we don't always have physics on OUR side  :)

mikestorm

Re: Guitar-to-MIDI project article
« Reply #25 on: January 12, 2010, 08:21:08 AM »
Thanks Jarno
but i've got a pic programmer, so i would like to take a new  16f88 and program by myself.

here in italy isnt easy to find one, i've got a couple of 16f84 but i think it wont be nice

let me know if there is some news

markeebee

Re: Guitar-to-MIDI project article
« Reply #26 on: January 13, 2010, 06:26:39 AM »
mikestorm - if i send you two pic 16f88 chips from the UK, would you be able to program them and send one back to me?

mikestorm

Re: Guitar-to-MIDI project article
« Reply #27 on: January 13, 2010, 11:31:07 AM »
yes i can , but it will be too expencive for me and for you

i pay 10 euro for the delivery

i can help you to program the pic, programmer schematics and software

potul

Re: Guitar-to-MIDI project article
« Reply #28 on: January 13, 2010, 12:28:50 PM »
As I said some posts above, I built it in a proto-board some weeks ago. See my comments below

I breadboarded it tonight, and it works fine, at least it works as I expected it to work after reading the code.

-Tracking is not perfect (having the guitar in tune helps, though :P )
-You need to pick very cleanly.
-The unit is only tracking pitch at the attack of the note, so if after picking you modify the pitch (bending, slide, pull up...), it is not tracked.
-Volume of the note attack is translated into midi note velocity. But velocity is constant until note fades.

Not bad, considering that I skipped the part of the circuit that references the ADC max and min, so probably accuracy can be improved in the final build.
I will investigate if adding some filtering by hardware, the tracking can be improved.
Modify it to have bend tracking will be tricky... because of the way the algorithm works. It tracks pitch at the note attack on purpose to avoid harmonics... so if we continuously track pitch, probably will have wrong pitch detected at the note decay. And, if we add a schmidt trigger type of filter to focus on the main harmonic, we will lose the dynamics.


I cannot post any sample because:

-I didn't record anything
-The unit does not produce any sound... it depends on the MID instrument you attach to it. so I don't see if a sample would be of any usefulness.

I plan to build it in a definitive pcb in brief.. I will keep you updated.

Potul

Taylor

  • Poster2
  • **
  • Posts: 4112
  • Total likes: 57
  • The clean energy source of the future.
Re: Guitar-to-MIDI project article
« Reply #29 on: January 13, 2010, 04:00:07 PM »
One way that can be useful to record these things is to record the clean guitar in the right channel and then the synth or piano or whatever in the left channel. This gives a good representation of the latency and shows how the unit translates playing techniques into MIDI data.

space_ryerson

Re: Guitar-to-MIDI project article
« Reply #30 on: January 13, 2010, 06:22:00 PM »
When I read the article, I got the feeling that the code would need to be modified to work for bass, since the code seemed to be based on the lowest harmonic of a guitar. Whenever I got around to this project, I was planning on doing it with a bypass, add an audio-in jack for whatever midi module I planned on using, and a blend control for original bass signal vs. the midi module. That way, I can run the synth to the same amp, and potentially overlap the sounds if I wanted.

potul

Re: Guitar-to-MIDI project article
« Reply #31 on: January 14, 2010, 04:30:57 AM »
Oh, I see. Next time I build it in the definitive pcb I will try to record something, but it will not be in the next days because I'm fully dedicated now to program a MIDI bootloader for my projects.

Regarding the bass question, as somebody pointed, the code needs to be modified because it will not track low notes. There is a timeout set based on the guitar lowest frequency that must be modified, and there is a lookup table that probably needs to be adapted to include more octaves.

Potul

potul

Re: Guitar-to-MIDI project article
« Reply #32 on: January 15, 2010, 03:07:48 PM »
Thanks Jarno
but i've got a pic programmer, so i would like to take a new  16f88 and program by myself.

here in italy isnt easy to find one, i've got a couple of 16f84 but i think it wont be nice

let me know if there is some news

16F84 will not work, for a number of reasons...

I recently found a source for 16f88 online in Europe. Go check this web. I don't know about the shipping costs, you will need to check.

http://www.voti.nl/shop/catalog.html

mikestorm

Re: Guitar-to-MIDI project article
« Reply #33 on: January 16, 2010, 04:38:40 AM »
thanks Potul

i will contact him in these days

mikestorm

Re: Guitar-to-MIDI project article
« Reply #34 on: January 20, 2010, 04:04:48 AM »
found the PIC here in Italy
maybe next week i will contact them and buy one.

someone got news on the project?

wordstep

PIC newbie seeking help for Guitar-to-MIDI project
« Reply #35 on: January 20, 2010, 04:44:41 PM »
About this project, I built the circuit. And wondering how to program the chip.

I use pickit2 clone with version 2.61 software.

There are 2 HEX files.

GUITAR TO MIDI.HEX
ignprgm.HEX

Can someone explain that why there are 2 files?

Thanks a lot.

wordstep

Re: Guitar-to-MIDI project article
« Reply #36 on: January 21, 2010, 04:58:42 AM »
It works with the G*****.hex
I still like to know why there are 2 files.

Thanks.

mikestorm

Re: Guitar-to-MIDI project article
« Reply #37 on: January 21, 2010, 05:06:57 AM »
hi wordstep

i think you have only to load the G######.hex file

the otherone i think is the code for another project in the same issue

would you like to make some audio sample?

maybe as  Tylor said:

One way that can be useful to record these things is to record the clean guitar in the right channel and then the synth or piano or whatever in the left channel. This gives a good representation of the latency and shows how the unit translates playing techniques into MIDI data.

thanks for all
Mikestorm

potul

Re: Guitar-to-MIDI project article
« Reply #38 on: January 21, 2010, 07:58:52 AM »
Yes, the GUITAR TO MIDI.HEX is the file to use. I compiled the ASM file as well and it also worked.
The other hex file is from another project.

Regards,

Potul

wordstep

Re: Guitar-to-MIDI project article
« Reply #39 on: January 21, 2010, 06:29:16 PM »
Thanks for the replies.

Maybe I can record sth. When it is ready, I will post here. I need 2 weeks.
« Last Edit: January 21, 2010, 06:44:56 PM by wordstep »