Jump to content

Guitar tuner for PIC based core


rmouneyres

Recommended Posts

Hello,

I've almost finished a guitar fx looper (which would need a major wiki update...), and i'm wondering if i could add a tuner to this box. As i'm not using any AIN, i have all the analog pins free to use. I think that the 10bits conversion is enough to have the guitar signal.

 

I've found this in the forum but this is standalone project : 

 

The code for the fx switcher is pretty small, and written in C. So i guess there is room for the tuner code.

Is there any code block known that i could use ?

 

thanks

post-6390-0-80018600-1358376687_thumb.jp

Link to comment
Share on other sites

There's really not any voodoo in the tuner software. An interrupt gets called whenever the input pin changes, the number of changes per $time get counted and that determines the frequency, which is checked against a preset table. The distance to the closest note and that note are displayed and that's it. The whole thing was done in asm and isn't commented, so I don't think it'll be a great help ;-)

Link to comment
Share on other sites

Join the conversation

You can post now and register later. If you have an account, sign in now to post with your account.

Guest
Reply to this topic...

×   Pasted as rich text.   Paste as plain text instead

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

Loading...
×
×
  • Create New...