This shows you the differences between two versions of the page.
pm:prj2022:agmocanu:guitar_tuner [2022/05/29 13:31] alberta.milicu [Bibliografie/Resurse] |
pm:prj2022:agmocanu:guitar_tuner [2022/05/29 13:54] (current) alberta.milicu [Jurnal] |
||
---|---|---|---|
Line 91: | Line 91: | ||
===== Software Design ===== | ===== Software Design ===== | ||
+ | |||
+ | <note tip> | ||
+ | |||
+ | The way the code works: | ||
+ | |||
+ | </note> | ||
+ | |||
+ | |||
+ | The code consists of two main parts, an autocorrelation algorithm that will be useful for detecting periodic signals, and a peak detector for detecting the peaks from the output of the autocorrelation function. | ||
+ | |||
+ | Distance between peaks = period of incoming signal. | ||
+ | |||
+ | The code calculates the frequency as: | ||
+ | |||
+ | freq_per = sample_freq/period; | ||
+ | |||
<note tip> | <note tip> | ||
Line 115: | Line 131: | ||
{{:pm:prj2022:agmocanu:tune_sample_agm.png|}} | {{:pm:prj2022:agmocanu:tune_sample_agm.png|}} | ||
+ | <note tip> | ||
+ | Disclaimer | ||
+ | </note> | ||
+ | Part of the code is based on a similar project in this website: | ||
+ | http://www.akellyirl.com/arduino-guitar-tuner/ (link is found in Bibliography) | ||
- | ===== Rezultate Obţinute ===== | ||
- | <note tip> | ||
- | The final result: a functional Arduino guitar tuner: | ||
- | </note> | ||
- | {{:pm:prj2022:agmocanu:final_agm.jpg?300|}} | ||
- | ===== Concluzii ===== | ||
- | ===== Download ===== | + | |
+ | ===== Rezultate Obţinute ===== | ||
<note tip> | <note tip> | ||
- | In progress. | + | The final result: a functional Arduino guitar tuner: |
</note> | </note> | ||
+ | {{:pm:prj2022:agmocanu:final_agm2.jpg?750|}} | ||
+ | |||
+ | ===== Concluzii ===== | ||
+ | |||
+ | This has been a pleasant and challenging experience that has taught me a lot about what can be done with creativity and a couple of wires (and the internet :D). | ||
+ | |||
+ | This has been a great opportunity for me to work with 2 things I like a lot (music and coding) and it has definitely inspired me to try out other projects like this is the future. | ||
+ | ===== Download ===== | ||
+ | {{:pm:prj2022:agmocanu:alberta-milicu_1221b_arduino-guitar_tuner.zip|}} | ||
===== Jurnal ===== | ===== Jurnal ===== | ||
Line 146: | Line 171: | ||
The set-up of the amp: | The set-up of the amp: | ||
- | {{:pm:prj2022:agmocanu:microphone_agm.jpg?300|}} | + | {{:pm:prj2022:agmocanu:microphone_agm.jpg?750|}} |
Setting up the LEDs (part 1): | Setting up the LEDs (part 1): | ||
- | {{:pm:prj2022:agmocanu:led1_agm.jpg?300|}} | + | {{:pm:prj2022:agmocanu:led1_agm.jpg?750|}} |
Setting up the LEDs (part 2): | Setting up the LEDs (part 2): | ||
- | {{:pm:prj2022:agmocanu:led2_agm.jpg?300|}} | + | {{:pm:prj2022:agmocanu:led2_agm.jpg?750|}} |
Connecting to Arduino: | Connecting to Arduino: | ||
- | {{:pm:prj2022:agmocanu:arduino_agm.jpg?300|}} | + | {{:pm:prj2022:agmocanu:arduino_agm.jpg?750|}} |
===== Bibliografie/Resurse ===== | ===== Bibliografie/Resurse ===== | ||
Line 173: | Line 198: | ||
https://en.wikipedia.org/wiki/Guitar_tunings | https://en.wikipedia.org/wiki/Guitar_tunings | ||
+ | |||
+ | https://arduinoguitartuner.wordpress.com/ | ||
<html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | <html><a class="media mediafile mf_pdf" href="?do=export_pdf">Export to PDF</a></html> | ||