freq note converter
** recently I ran into a great package, that also supports note frequency conversion**
import librosa
librosa.hz_to_note(440.0)
['A5']
librosa.note_to_hz(['A3', 'A4', 'A5'])
array([ 220., 440., 880.])
I like this librosa package, thus I will not continue with my package...
but if you still want to use this package, here's the documentation:
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
--------------------------------------------------
Metadata
Release files for freq-note-converter 0.2.0
For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.
Source distribution (sdist)
| File | Size | Uploaded | Provenance | Actions |
|---|---|---|---|---|
| freq_note_converter-0.2.0.tar.gz | 3.6 kB | Without provenance | Details for freq_note_converter-0.2.0.tar.gz |
Built distribution (wheel)
| File | Interpreter | ABI | Platform | Actions Reset |
|---|---|---|---|---|
| freq_note_converter-0.2.0-py3-none-any.whl | Python 3 | none | any | Details for freq_note_converter-0.2.0-py3-none-any.whl |
Total release size: 8.6 kB
Release files / freq_note_converter-0.2.0.tar.gz
| Download URL | freq_note_converter-0.2.0.tar.gz |
|---|---|
| Size | 3.6 kB |
| Tags | Source |
|
SHA-256 checksum How to use checksums |
813dab638a653854c79af8e1b54c5d9ac4485ba848ed97215a11499b70c21548
|
|
BLAKE2b-256 checksum How to use checksums |
998d995f132e6ec5e8ad7dd4aad4a819472c70f6f1b74b84b216a4ba2ea5984c
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Release files / freq_note_converter-0.2.0-py3-none-any.whl
| Download URL | freq_note_converter-0.2.0-py3-none-any.whl |
|---|---|
| Size | 5.0 kB |
| Tags | Python 3 |
|
SHA-256 checksum How to use checksums |
cf1d7974986a05f24e1477a960b4e72bde6a094d002dd648cfaf15ab9ccfd823
|
|
BLAKE2b-256 checksum How to use checksums |
904ce0b7c401861381dddd64206644cb61db2e2f22f0d17a0c46bb07659970a3
|
| Upload date | |
|
Uploaded using Trusted Publishing? What is trusted publishing? |
No |
| Uploaded via |
twine/4.0.0 CPython/3.8.12
|
Security for freq-note-converter 0.2.0
Provenance
Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.
No provenance found
None of the files in this release were uploaded with provenance metadata.
A note on package security
PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.
To learn more about protecting yourself from malicious actors, visit our package security documentation.