rmouneyres Posted January 16, 2013 Report Share Posted January 16, 2013 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 Quote Link to comment Share on other sites More sharing options...
nILS Posted January 19, 2013 Report Share Posted January 19, 2013 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 ;-) Quote Link to comment Share on other sites More sharing options...
rmouneyres Posted January 19, 2013 Author Report Share Posted January 19, 2013 (edited) OK thanks for the reply, i get the scheme for coding it... if my skills are able to do it :sheep: I just wonder if we can handle the interrupts directly with MIOS already "installed", need further investigation ! Edited January 19, 2013 by rmouneyres Quote Link to comment Share on other sites More sharing options...
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.