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.convert(freq=449)
print(val.note)
output:
'A'
input:
print(val)
output:
freq : 449
note_number : 49
note : A
octave : 4
offset_from_note : 0.351
--------------------------------------------------
input:
freq_note_converter.convert(note_number=49).print_me()
output:
freq : 440.0
note_number : 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.0.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | 4ecfac7a6644ad961e167e38bc8d43ae0b827baa541ce2a2863e5a5bf0202022 |
|
MD5 | a229b18cd15284e543089ca992ebc4d1 |
|
BLAKE2b-256 | 548050077c2682df3dabc51007529ede35742edeea3d764de3bfa1292047925a |
Close
Hashes for freq_note_converter-0.0.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 6a01c3e010a0e8ff351f1efac34b0741e3b119060029c9524eb3b03a2250d9c4 |
|
MD5 | 5b62b2312e09b526edd224dad8178cbd |
|
BLAKE2b-256 | c7e5290089428ffe06d50ea0d4a98d4ea366ff43b98fc916db6d1aa6733a116e |