#Bandwidth for detection (i.e., detect frequencies within this margin of error of the TONE) # 1: Poorly sensitive, will only go off for relatively loud #Volume Sensitivity, 0.05: Extremely Sensitive, may give false alarms >įrom numpy import zeros,linspace,short,fromstring,hstack,transpose,log2, logįrom scipy.signal import hamming, convolve The code can also be copy and pasted below: #THIS CODE IS HEAVILY BASED ON: #. You really only need the packages above to make it work. The matlab plotting was mainly used for debugging and developing the pitch detection. It contains GPIO test files, which are used to make sure your Raspberry Pi GPIO is working along with a program to test the matlab plotting function. These commands will install the Numpy and Scipy environments on your Pi which allow you to edit and deploy python code.Īll the code you will need to run this project can be found on the project GitHub:
0 Comments
Leave a Reply. |
AuthorWrite something about yourself. No need to be fancy, just an overview. ArchivesCategories |