Skip to main content

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 Distributions

No source distribution files available for this release.See tutorial on generating distribution archives.

Built Distribution

freq_note_converter-0.1.0-py3-none-any.whl (4.7 kB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page