Get the frequencies, feed them to find_notes and the return the Note with the highest amplitude.
(data, freq, bits)
| 151 | |
| 152 | |
| 153 | def find_Note(data, freq, bits): |
| 154 | """Get the frequencies, feed them to find_notes and the return the Note |
| 155 | with the highest amplitude.""" |
| 156 | data = find_frequencies(data, freq, bits) |
| 157 | return sorted(find_notes(data), key=operator.itemgetter(1))[-1][0] |
| 158 | |
| 159 | |
| 160 | def analyze_chunks(data, freq, bits, chunksize=512): |
nothing calls this directly
no test coverage detected