convert notes to freq and vise verse
Project description
freq_note_converter
convert frequency to note and note to frequency.
currently, can only input frequency and note index, and not supporting note name and octave as input
usage example:
input:
import freq_note_converter
val = freq_note_converter.from_freq(449)
print(val.note)
output:
'A'
input:
print(val)
output:
freq : 449
note_index : 49
note : A
octave : 4
offset_from_note : 0.351
--------------------------------------------------
input:
freq_note_converter.from_note_index(49).print_me()
output:
freq : 440.0
note_index : 49
note : A
octave : 4
offset_from_note : 0
--------------------------------------------------
Project details
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Close
Hashes for freq_note_converter-0.1.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 85386cf434cf8b5364fe6cc5ee218584d300cf33288588e3154b3a7772f43649 |
|
MD5 | 20c18feeb3411192a783620a89af3a0a |
|
BLAKE2b-256 | 93ddfd53c888c89f097b4f59dc5f2c7dd7502ac7333c763b5c09541ba6731053 |
Close
Hashes for freq_note_converter-0.1.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 065d99d9eb429c21aecb378595a189a7419c96d65f974aebb63be733aac11e1e |
|
MD5 | 90b8a75d28f3f6c9327a3d3ebcf0004c |
|
BLAKE2b-256 | a8cae50b97429b8311ec42f6f7dce78d4c9d7bc708a93ebdb913ae2100754c3f |