{"id":19817,"date":"2026-09-17T16:38:31","date_gmt":"2026-09-17T14:38:31","guid":{"rendered":"https:\/\/www.lukaswojcik.com\/blog\/toolbox\/note-frequency-midi-converter\/"},"modified":"2026-09-17T16:38:31","modified_gmt":"2026-09-17T14:38:31","slug":"note-frequency-midi-converter","status":"publish","type":"page","link":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/","title":{"rendered":"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch"},"content":{"rendered":"<div class=\"lw-nfm\" id=\"nfm-wurzel\" style=\"background: var(--bg-panel, #1e1e24); padding: 25px; border-radius: 8px; border: 1px solid var(--border, #2a2a35);\">\n<style>\n.lw-nfm .nfm-reihe { display: flex; flex-wrap: wrap; gap: 12px 18px; align-items: flex-end; }\n.lw-nfm label.nfm-feld { display: flex; flex-direction: column; gap: 6px; font-size: 0.84rem; color: var(--text-secondary, #a0a0b0); }\n.lw-nfm input[type=number], .lw-nfm input[type=text], .lw-nfm select { padding: 8px 10px; background: var(--bg-body, #14141a); border: 1px solid var(--border, #2a2a35); color: var(--text-primary, #e8e8ee); border-radius: 6px; font-size: 1rem; }\n.lw-nfm input.nfm-gross { width: 150px; font-family: monospace; font-size: 1.35rem; font-weight: 700; padding: 6px 10px; }\n.lw-nfm .nfm-kacheln { display: grid; grid-template-columns: repeat(auto-fit, minmax(150px, 1fr)); gap: 10px; margin-top: 16px; }\n.lw-nfm .nfm-kachel { background: var(--bg-body, #14141a); border: 1px solid var(--border, #2a2a35); border-radius: 6px; padding: 10px 12px; }\n.lw-nfm .nfm-k-titel { font-size: 0.78rem; color: var(--text-secondary, #a0a0b0); }\n.lw-nfm .nfm-k-wert { font-family: monospace; font-size: 1.12rem; font-weight: 700; color: var(--text-primary, #e8e8ee); margin-top: 4px; word-break: break-word; }\n.lw-nfm .nfm-tabelle { overflow-x: auto; margin-top: 10px; }\n.lw-nfm table { border-collapse: collapse; width: 100%; font-size: 0.88rem; }\n.lw-nfm th, .lw-nfm td { text-align: right; padding: 6px 10px; border-bottom: 1px solid var(--border, #2a2a35); white-space: nowrap; }\n.lw-nfm th:first-child, .lw-nfm td:first-child { text-align: left; }\n.lw-nfm th { color: var(--text-primary, #e8e8ee); font-weight: 700; }\n.lw-nfm td { color: var(--text-primary, #e8e8ee); font-family: monospace; }\n.lw-nfm tr.nfm-aktiv td { background: var(--bg-body, #14141a); font-weight: 700; }\n.lw-nfm .nfm-h { font-weight: 700; color: var(--text-primary, #e8e8ee); font-size: 0.98rem; margin: 28px 0 8px; }\n.lw-nfm .nfm-klein { font-size: 0.84rem; color: var(--text-secondary, #a0a0b0); line-height: 1.55; }\n.lw-nfm .nfm-fehler { color: var(--fail, #ff7b72); }\n@media (max-width: 480px) {\n    .lw-nfm input.nfm-gross { width: 130px; font-size: 1.2rem; }\n    .lw-nfm table { font-size: 0.8rem; }\n    .lw-nfm th, .lw-nfm td { padding: 6px 6px; }\n}\n<\/style>\n<p style=\"color: var(--text-secondary, #a0a0b0); margin-bottom: 18px;\">Samplers, synthesizers and tuners describe pitch as a note name, a MIDI number or a frequency. The converter translates between the three in every direction, shows how far a frequency lies from the nearest note in cents and lists the period and the samples per cycle, for example for tuning a kick drum or setting a filter to a note.<\/p>\n<div class=\"nfm-reihe\">\n        <label class=\"nfm-feld\">Note (e.g. A4, C#3, Eb5) <input id=\"nfm-note\" class=\"nfm-gross\" type=\"text\" value=\"A4\" autocomplete=\"off\" spellcheck=\"false\"><\/label><br \/>\n        <label class=\"nfm-feld\">MIDI number <input id=\"nfm-midi\" class=\"nfm-gross\" type=\"number\" min=\"0\" max=\"127\" step=\"1\" value=\"69\"><\/label><br \/>\n        <label class=\"nfm-feld\">Frequency (Hz) <input id=\"nfm-hz\" class=\"nfm-gross\" type=\"number\" min=\"1\" max=\"20000\" step=\"0.001\" value=\"440\" inputmode=\"decimal\"><\/label>\n    <\/div>\n<div class=\"nfm-reihe\" style=\"margin-top: 14px;\">\n        <label class=\"nfm-feld\">Reference A4 (Hz) <input id=\"nfm-a4\" type=\"number\" min=\"380\" max=\"500\" step=\"0.01\" value=\"440\" style=\"width: 110px;\" inputmode=\"decimal\"><\/label><br \/>\n        <label class=\"nfm-feld\">Octave numbering <select id=\"nfm-zaehlung\"><\/select><\/label><br \/>\n        <label class=\"nfm-feld\">Sample rate <select id=\"nfm-rate\"><\/select><\/label>\n    <\/div>\n<p id=\"nfm-meldung\" data-mp-mask class=\"nfm-klein\" style=\"margin: 10px 0 0;\" aria-live=\"polite\">Each of the three fields updates the other two. Note names use English spelling with # and b; H is accepted as B.<\/p>\n<div id=\"nfm-kacheln\" class=\"nfm-kacheln\" data-mp-mask aria-live=\"polite\"><\/div>\n<div class=\"nfm-h\">Octave table<\/div>\n<div class=\"nfm-tabelle\">\n<table>\n<thead>\n<tr>\n<th>Note<\/th>\n<th>MIDI<\/th>\n<th>Frequency (Hz)<\/th>\n<th>Period (ms)<\/th>\n<th>Samples per cycle<\/th>\n<\/tr>\n<\/thead>\n<tbody id=\"nfm-tabelle\" data-mp-mask><\/tbody>\n<\/table><\/div>\n<p class=\"nfm-klein\" style=\"margin: 8px 0 0;\">The highlighted row is the current note. All values follow equal temperament at the chosen reference pitch and sample rate.<\/p>\n<div class=\"nfm-h\">How it is calculated<\/div>\n<p class=\"nfm-klein\" style=\"margin: 0 0 6px;\">Frequency = reference \u00d7 2^((MIDI number \u2212 69) \u00f7 12). MIDI number 69 is A4, which is usually set to 440 Hz; each semitone multiplies the frequency by the twelfth root of two.<\/p>\n<p class=\"nfm-klein\" style=\"margin: 0 0 6px;\">MIDI number = 69 + 12 \u00d7 log\u2082(frequency \u00f7 reference). The distance to the nearest whole number times 100 is the deviation in cents; a semitone has 100 cents.<\/p>\n<p class=\"nfm-klein\" style=\"margin: 0 0 6px;\">Period in milliseconds = 1000 \u00f7 frequency, samples per cycle = sample rate \u00f7 frequency. FL Studio names MIDI number 60 C5, one octave higher than scientific pitch notation, which calls it C4.<\/p>\n<p class=\"nfm-klein\" style=\"font-size: 0.8rem; margin: 14px 0 0;\">Everything is calculated in the browser. The converter covers equal temperament only; other tunings and microtonal scales need their own tables.<\/p>\n<\/div>\n<p><script>\n(function () {\n    'use strict';<\/p>\n<p>    const T = {\"einleitung\":\"Samplers, synthesizers and tuners describe pitch as a note name, a MIDI number or a frequency. The converter translates between the three in every direction, shows how far a frequency lies from the nearest note in cents and lists the period and the samples per cycle, for example for tuning a kick drum or setting a filter to a note.\",\"feld_note\":\"Note (e.g. A4, C#3, Eb5)\",\"feld_midi\":\"MIDI number\",\"feld_hz\":\"Frequency (Hz)\",\"feld_a4\":\"Reference A4 (Hz)\",\"feld_zaehlung\":\"Octave numbering\",\"abtastrate\":\"Sample rate\",\"zaehlung_wiss\":\"C4 = MIDI 60 (scientific)\",\"zaehlung_fl\":\"C5 = MIDI 60 (FL Studio)\",\"hinweis_eingabe\":\"Each of the three fields updates the other two. Note names use English spelling with # and b; H is accepted as B.\",\"fehler_note\":\"Note not recognised. Expected is a letter from A to G, optionally with # or b, then the octave, for example C#4.\",\"fehler_midi\":\"The MIDI number has to be a whole number from 0 to 127.\",\"fehler_hz\":\"At this reference pitch the frequency has to lie between {min} and {max} Hz.\",\"fehler_a4\":\"The reference pitch has to lie between 380 and 500 Hz.\",\"fehler_bereich\":\"The note lies outside the MIDI range from 0 to 127.\",\"k_note\":\"Note\",\"k_midi\":\"MIDI number\",\"k_hz\":\"Frequency of the note\",\"k_cent\":\"Deviation from the note\",\"k_periode\":\"Period\",\"k_samples\":\"Samples per cycle\",\"k_samples_wert\":\"{samples} at {rate}\",\"h_oktave\":\"Octave table\",\"sp_note\":\"Note\",\"sp_midi\":\"MIDI\",\"sp_hz\":\"Frequency (Hz)\",\"sp_periode\":\"Period (ms)\",\"sp_samples\":\"Samples per cycle\",\"tabelle_hinweis\":\"The highlighted row is the current note. All values follow equal temperament at the chosen reference pitch and sample rate.\",\"h_formeln\":\"How it is calculated\",\"formel_1\":\"Frequency = reference \u00d7 2^((MIDI number \u2212 69) \u00f7 12). MIDI number 69 is A4, which is usually set to 440 Hz; each semitone multiplies the frequency by the twelfth root of two.\",\"formel_2\":\"MIDI number = 69 + 12 \u00d7 log\u2082(frequency \u00f7 reference). The distance to the nearest whole number times 100 is the deviation in cents; a semitone has 100 cents.\",\"formel_3\":\"Period in milliseconds = 1000 \u00f7 frequency, samples per cycle = sample rate \u00f7 frequency. FL Studio names MIDI number 60 C5, one octave higher than scientific pitch notation, which calls it C4.\",\"grenze\":\"Everything is calculated in the browser. The converter covers equal temperament only; other tunings and microtonal scales need their own tables.\",\"dezimal\":\".\",\"tausend\":\",\"};<\/p>\n<p>    var KREUZ = ['C', 'C#', 'D', 'D#', 'E', 'F', 'F#', 'G', 'G#', 'A', 'A#', 'B'];\n    var BE = ['C', 'Db', 'D', 'Eb', 'E', 'F', 'Gb', 'G', 'Ab', 'A', 'Bb', 'B'];\n    var STAMM = { C: 0, D: 2, E: 4, F: 5, G: 7, A: 9, B: 11, H: 11 };\n    var VORZEICHEN = { '': 0, '#': 1, '\u266f': 1, '##': 2, 'x': 2, 'b': -1, '\u266d': -1, 'bb': -2 };\n    var RATEN = [44100, 48000, 88200, 96000];\n    var ZAEHLUNGEN = ['wiss', 'fl'];\n    var A4_MIN = 380, A4_MAX = 500, MIDI_MIN = 0, MIDI_MAX = 127;<\/p>\n<p>    \/\/ --- Rechnen ------------------------------------------------------------\n    \/\/ Gleichstufige Stimmung: MIDI 69 = A4 = Bezugston. Wissenschaftliche Zaehlung: C4 = 60,\n    \/\/ FL Studio: C5 = 60 (eine Oktave hoeher benannt).\n    function versatz(zaehlung) { return zaehlung === 'fl' ? 0 : 12; }\n    function frequenz(midi, a4) { return a4 * Math.pow(2, (midi - 69) \/ 12); }\n    function midiAusHz(hz, a4) { return 69 + 12 * Math.log(hz \/ a4) \/ Math.LN2; }\n    function periodeMs(hz) { return 1000 \/ hz; }\n    function samplesJePeriode(hz, rate) { return rate \/ hz; }\n    function hzGrenzen(a4) { return { min: frequenz(MIDI_MIN - 0.5, a4), max: frequenz(MIDI_MAX + 0.5, a4) }; }\n    function a4Gueltig(a4) { return typeof a4 === 'number' && isFinite(a4) && a4 >= A4_MIN && a4 <= A4_MAX; }\n    function midiGueltig(m) { return typeof m === 'number' &#038;&#038; isFinite(m) &#038;&#038; Math.floor(m) === m &#038;&#038; m >= MIDI_MIN && m <= MIDI_MAX; }\n    function stufe(midi) { return ((midi % 12) + 12) % 12; }\n    function oktave(midi, zaehlung) { return Math.floor(midi \/ 12) - (zaehlung === 'fl' ? 0 : 1); }\n\n    \/\/ Notenname lesen: Buchstabe A-G (H = B), Vorzeichen #, ##, x, b, bb, dann die Oktave.\n    function noteLesen(text, zaehlung) {\n        var m = \/^\\s*([A-Ha-h])\\s*(##|bb|#|b|x|\u266f|\u266d)?\\s*(-?\\d{1,2})\\s*$\/.exec(String(text));\n        if (!m) { return null; }\n        return 12 * parseInt(m[3], 10) + STAMM[m[1].toUpperCase()] + VORZEICHEN[m[2] || ''] + versatz(zaehlung);\n    }\n    function notenNameKurz(midi, zaehlung) { return KREUZ[stufe(midi)] + oktave(midi, zaehlung); }\n    function notenName(midi, zaehlung) {\n        var s = stufe(midi), o = oktave(midi, zaehlung);\n        return KREUZ[s] === BE[s] ? KREUZ[s] + o : KREUZ[s] + o + ' \/ ' + BE[s] + o;\n    }\n\n    function zahlLesen(v) {\n        var x = parseFloat(String(v).replace(',', '.'));\n        return isFinite(x) ? x : NaN;\n    }\n\n    \/\/ Ergebnis zu einer Eingabe: art = note | midi | hz\n    function berechnen(art, wert, e) {\n        if (!a4Gueltig(e.a4)) { return { ok: false, fehler: T.fehler_a4 }; }\n        var midi, hz;\n        if (art === 'note') {\n            midi = noteLesen(wert, e.zaehlung);\n            if (midi === null) { return { ok: false, fehler: T.fehler_note }; }\n            if (!midiGueltig(midi)) { return { ok: false, fehler: T.fehler_bereich }; }\n            hz = frequenz(midi, e.a4);\n        } else if (art === 'midi') {\n            midi = String(wert).trim() === '' ? NaN : Number(String(wert).replace(',', '.'));\n            if (!midiGueltig(midi)) { return { ok: false, fehler: T.fehler_midi }; }\n            hz = frequenz(midi, e.a4);\n        } else {\n            hz = zahlLesen(wert);\n            var g = hzGrenzen(e.a4);\n            if (!(hz >= g.min && hz < g.max)) { return { ok: false, fehler: text('fehler_hz', { min: zahl(g.min, 2), max: zahl(g.max, 1) }) }; }\n            midi = Math.min(MIDI_MAX, Math.max(MIDI_MIN, Math.round(midiAusHz(hz, e.a4))));\n        }\n        var hzNote = frequenz(midi, e.a4);\n        return { ok: true, midi: midi, hz: hz, hzNote: hzNote, cent: 1200 * Math.log(hz \/ hzNote) \/ Math.LN2 };\n    }\n\n    \/\/ --- Darstellung --------------------------------------------------------\n    function zahl(x, stellen) {\n        if (typeof x !== 'number' || !isFinite(x)) { return '\u2013'; }\n        var s = x.toFixed(stellen);\n        if (s.indexOf('.') !== -1) { s = s.replace(\/0+$\/, '').replace(\/\\.$\/, ''); }\n        if (s === '-0') { s = '0'; }\n        return s.replace('-', '\u2212').replace('.', T.dezimal);\n    }\n    function ganz(x) {\n        var s = String(Math.round(x)), aus = '';\n        while (s.length > 3) { aus = T.tausend + s.slice(-3) + aus; s = s.slice(0, -3); }\n        return s + aus;\n    }\n    function centText(c) {\n        var r = Math.round(c * 100) \/ 100;\n        if (r === 0) { return '0 ct'; }\n        return (r > 0 ? '+' : '\u2212') + zahl(Math.abs(r), 2) + ' ct';\n    }\n    function text(schluessel, werte) {\n        return String(T[schluessel]).replace(\/\\{(\\w+)\\}\/g, function (m, k) { return werte && werte[k] !== undefined ? werte[k] : m; });\n    }\n    function rateText(rate) { return zahl(rate \/ 1000, 1) + ' kHz'; }\n    function el(id) { return document.getElementById(id); }<\/p>\n<p>    function einstellungen() {\n        return { a4: zahlLesen(el('nfm-a4').value), zaehlung: el('nfm-zaehlung').value === 'fl' ? 'fl' : 'wiss', rate: parseInt(el('nfm-rate').value, 10) || 48000 };\n    }<\/p>\n<p>    function kacheln(r, e) {\n        var ziel = el('nfm-kacheln');\n        ziel.textContent = '';\n        [['k_note', notenName(r.midi, e.zaehlung)], ['k_midi', String(r.midi)], ['k_hz', zahl(r.hzNote, 3) + ' Hz'],\n         ['k_cent', centText(r.cent)], ['k_periode', zahl(periodeMs(r.hz), 3) + ' ms'],\n         ['k_samples', text('k_samples_wert', { samples: zahl(samplesJePeriode(r.hz, e.rate), 1), rate: rateText(e.rate) })]].forEach(function (k) {\n            var d = document.createElement('div'), t = document.createElement('div'), w = document.createElement('div');\n            d.className = 'nfm-kachel'; t.className = 'nfm-k-titel'; w.className = 'nfm-k-wert';\n            t.textContent = T[k[0]]; w.textContent = k[1];\n            w.setAttribute('data-kachel', k[0]);\n            d.appendChild(t); d.appendChild(w); ziel.appendChild(d);\n        });\n    }<\/p>\n<p>    function tabelle(r, e) {\n        var tbody = el('nfm-tabelle');\n        tbody.textContent = '';\n        var anfang = Math.floor(r.midi \/ 12) * 12;\n        for (var m = anfang; m < anfang + 12; m++) {\n            if (m < MIDI_MIN || m > MIDI_MAX) { continue; }\n            var f = frequenz(m, e.a4), tr = document.createElement('tr');\n            if (m === r.midi) { tr.className = 'nfm-aktiv'; }\n            [notenName(m, e.zaehlung), String(m), zahl(f, 3), zahl(periodeMs(f), 3), zahl(samplesJePeriode(f, e.rate), 1)].forEach(function (inhalt) {\n                var td = document.createElement('td');\n                td.textContent = inhalt;\n                tr.appendChild(td);\n            });\n            tbody.appendChild(tr);\n        }\n    }<\/p>\n<p>    var quelle = 'note';\n    function aktualisieren(art) {\n        if (art) { quelle = art; }\n        var e = einstellungen();\n        var felder = { note: el('nfm-note'), midi: el('nfm-midi'), hz: el('nfm-hz') };\n        var r = berechnen(quelle, felder[quelle].value, e);\n        var meldung = el('nfm-meldung');\n        if (!r.ok) {\n            el('nfm-kacheln').textContent = '';\n            el('nfm-tabelle').textContent = '';\n            meldung.textContent = r.fehler;\n            meldung.classList.add('nfm-fehler');\n            return r;\n        }\n        meldung.textContent = T.hinweis_eingabe;\n        meldung.classList.remove('nfm-fehler');\n        if (quelle !== 'note') { felder.note.value = notenNameKurz(r.midi, e.zaehlung); }\n        if (quelle !== 'midi') { felder.midi.value = String(r.midi); }\n        if (quelle !== 'hz') { felder.hz.value = String(Math.round(r.hz * 1000) \/ 1000); }\n        kacheln(r, e);\n        tabelle(r, e);\n        return r;\n    }\n    \/\/ Einstellungen: das zuletzt bearbeitete Feld bleibt stehen. Ein getippter Notenname wird also\n    \/\/ nach der neuen Oktavzaehlung gelesen, eine MIDI-Nummer oder Frequenz behaelt ihren Wert.\n    function einstellungGeaendert() { return aktualisieren(); }<\/p>\n<p>    \/\/ --- Auswahllisten --------------------------------------------------------\n    function option(sel, wert, beschriftung, gewaehlt) {\n        var o = document.createElement('option');\n        o.value = wert; o.textContent = beschriftung;\n        if (gewaehlt) { o.selected = true; }\n        sel.appendChild(o);\n    }\n    function listenFuellen() {\n        ZAEHLUNGEN.forEach(function (z) { option(el('nfm-zaehlung'), z, T['zaehlung_' + z], z === 'wiss'); });\n        RATEN.forEach(function (r) { option(el('nfm-rate'), r, rateText(r), r === 48000); });\n    }<\/p>\n<p>    window.LW_TEST = window.LW_TEST || {};\n    window.LW_TEST.NFM = {\n        T: T, frequenz: frequenz, midiAusHz: midiAusHz, periodeMs: periodeMs, samplesJePeriode: samplesJePeriode, hzGrenzen: hzGrenzen,\n        a4Gueltig: a4Gueltig, midiGueltig: midiGueltig, noteLesen: noteLesen, notenName: notenName, notenNameKurz: notenNameKurz,\n        berechnen: berechnen, zahl: zahl, ganz: ganz, centText: centText, aktualisieren: aktualisieren, einstellungGeaendert: einstellungGeaendert,\n        quelle: function () { return quelle; }\n    };<\/p>\n<p>    if (!el('nfm-wurzel') || !el('nfm-kacheln')) { return; }\n    listenFuellen();\n    el('nfm-note').addEventListener('input', function () { aktualisieren('note'); });\n    el('nfm-midi').addEventListener('input', function () { aktualisieren('midi'); });\n    el('nfm-hz').addEventListener('input', function () { aktualisieren('hz'); });\n    el('nfm-a4').addEventListener('input', einstellungGeaendert);\n    ['nfm-zaehlung', 'nfm-rate'].forEach(function (id) { el(id).addEventListener('change', einstellungGeaendert); });\n    aktualisieren('note');\n})();\n<\/script><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Converts between note names, MIDI numbers and frequencies in every direction, shows the deviation of a frequency from the nearest note in cents, the period and the samples per cycle, with an adjustable reference pitch and octave numbering as in FL Studio or scientific pitch notation.<\/p>\n","protected":false},"author":1,"featured_media":0,"parent":38,"menu_order":0,"comment_status":"closed","ping_status":"closed","template":"template-tool-base.php","meta":{"footnotes":""},"tags":[92901],"class_list":["post-19817","page","type-page","status-publish","hentry","tag-music-production"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v28.1 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog\" \/>\n<meta property=\"og:description\" content=\"Converts between note names, MIDI numbers and frequencies in every direction, shows the deviation of a frequency from the nearest note in cents, the period and the samples per cycle, with an adjustable reference pitch and octave numbering as in FL Studio or scientific pitch notation.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/\" \/>\n<meta property=\"og:site_name\" content=\"Lukas Wojcik - Blog\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/08\/og-default.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1200\" \/>\n\t<meta property=\"og:image:height\" content=\"630\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/note-frequency-midi-converter\\\/\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/note-frequency-midi-converter\\\/\",\"name\":\"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\"},\"datePublished\":\"2026-09-17T14:38:31+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/note-frequency-midi-converter\\\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/note-frequency-midi-converter\\\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/note-frequency-midi-converter\\\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Toolbox\",\"item\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/en\\\/toolbox\\\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#website\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/\",\"name\":\"Lukas Wojcik - Blog\",\"description\":\"\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/#\\\/schema\\\/person\\\/895f7604f9b6b71aad9bba33af28d0f9\",\"name\":\"Lukas Wojcik\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"url\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"contentUrl\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\",\"width\":424,\"height\":636,\"caption\":\"Lukas Wojcik\"},\"logo\":{\"@id\":\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\\\/wp-content\\\/uploads\\\/2026\\\/07\\\/lw-x2.jpg\"},\"sameAs\":[\"https:\\\/\\\/www.lukaswojcik.com\\\/blog\"]}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/","og_locale":"en_US","og_type":"article","og_title":"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog","og_description":"Converts between note names, MIDI numbers and frequencies in every direction, shows the deviation of a frequency from the nearest note in cents, the period and the samples per cycle, with an adjustable reference pitch and octave numbering as in FL Studio or scientific pitch notation.","og_url":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/","og_site_name":"Lukas Wojcik - Blog","og_image":[{"width":1200,"height":630,"url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/08\/og-default.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_misc":{"Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/","url":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/","name":"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch - Lukas Wojcik - Blog","isPartOf":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#website"},"datePublished":"2026-09-17T14:38:31+00:00","breadcrumb":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/note-frequency-midi-converter\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.lukaswojcik.com\/blog\/"},{"@type":"ListItem","position":2,"name":"Toolbox","item":"https:\/\/www.lukaswojcik.com\/blog\/en\/toolbox\/"},{"@type":"ListItem","position":3,"name":"Note to Frequency and MIDI Converter: note names, MIDI numbers, hertz, cents and period at any reference pitch"}]},{"@type":"WebSite","@id":"https:\/\/www.lukaswojcik.com\/blog\/#website","url":"https:\/\/www.lukaswojcik.com\/blog\/","name":"Lukas Wojcik - Blog","description":"","publisher":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.lukaswojcik.com\/blog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":["Person","Organization"],"@id":"https:\/\/www.lukaswojcik.com\/blog\/#\/schema\/person\/895f7604f9b6b71aad9bba33af28d0f9","name":"Lukas Wojcik","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","url":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","contentUrl":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg","width":424,"height":636,"caption":"Lukas Wojcik"},"logo":{"@id":"https:\/\/www.lukaswojcik.com\/blog\/wp-content\/uploads\/2026\/07\/lw-x2.jpg"},"sameAs":["https:\/\/www.lukaswojcik.com\/blog"]}]}},"_links":{"self":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/19817","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages"}],"about":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/types\/page"}],"author":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/comments?post=19817"}],"version-history":[{"count":0,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/19817\/revisions"}],"up":[{"embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/pages\/38"}],"wp:attachment":[{"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/media?parent=19817"}],"wp:term":[{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.lukaswojcik.com\/blog\/wp-json\/wp\/v2\/tags?post=19817"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}