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.2.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | c9d767c9d12784b2fde64a78f32ced4e337d3cf3a40eacb82e3d2b19cfbc37e1 |
|
MD5 | ecee59b3af0c7bddc01c47fb7477f984 |
|
BLAKE2b-256 | 81b95aa7cbbe02d813ed4e841121fe45f4a3b3f3fc26afcb76636a8f2e10a10d |
Close
Hashes for freq_note_converter-0.1.2-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | 348675c47a87e3f4a4ff4100563c61737059e1d52e78c6d3873d768ef6b2bba2 |
|
MD5 | 712880692746bcf5bca64ec21c1b1679 |
|
BLAKE2b-256 | da903d8c801a0d1f2bdd8f58c36e5eb4096e67c97ce14f4f9f03cc2ba15d90f5 |