# Tonfrekvens > Vilken frekvens har en ton? Omvandla en ton till hertz eller en frekvens till närmaste ton, med cent, MIDI-nummer, oktavtabell och tonens ljud. Omvandla en ton till frekvens i Hz eller en frekvens till närmaste ton och avvikelse i cent. Justerbart A4, MIDI-nummer, oktavtabell och tonuppspelning. - Page: https://how.box/sv/note-frequency/ - Runs entirely in the browser. - License: HowToolbox's own text and data (titles, explanations, FAQs, tool descriptions and schemas, this file) are CC BY 4.0 (https://creativecommons.org/licenses/by/4.0/); AI training and answers are welcome. Attribute "HowToolbox (how.box)" with a link to the page used. Third-party data keeps its own terms; the name and logo are not licensed. Publisher: HowToolbox, contact@how.box. Terms: https://how.box/sv/about/terms/ ## Inputs Answer link: https://how.box/sv/note-frequency/?m={m}&n={n}&f={f}&a={a}&t={t}&x={x}&y={y} - `m` (note or frequency): Conversion: note (note to frequency) or frequency (frequency to nearest note). Example: `frequency`. - `n` (whole number 0 to 127): For m=note: the note as a MIDI number 0–127. Example: `60`. - `f` (number 8 to 12544): For m=frequency: the frequency in Hz, 8–12544. Example: `261.63`. - `a` (number 400 to 480): Reference pitch, the frequency of A4 in Hz, 400–480. Example: `442`. - `t` (octave or names): Table: octave (the note's octave with frequencies) or names (note names in each convention). Example: `names`. - `x` (number 8 to 12544): Interval: the first frequency in Hz. Example: `440`. - `y` (number 8 to 12544): Interval: the second frequency in Hz. Example: `660`. Example answer: https://how.box/sv/note-frequency/?m=frequency&n=60&f=261.63&a=442&t=names&x=440&y=660 A complete link carries the primary answer in the page HTML; a missing or invalid value shows the default page. ## Agent tools - `note_frequency_note_to_frequency`: Converts a musical note to its frequency. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"note_frequency_note_to_frequency","arguments":{"note":60,"a4_hz":442}}}` - GET: https://how.box/mcp/run/note_frequency_note_to_frequency?note=60&a4_hz=442 - `note_frequency_frequency_to_note`: Finds the equal-tempered note nearest to a frequency and how far off it is in cents (positive = sharp). - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"note_frequency_frequency_to_note","arguments":{"frequency_hz":261.63,"a4_hz":442}}}` - GET: https://how.box/mcp/run/note_frequency_frequency_to_note?frequency_hz=261.63&a4_hz=442 - `note_frequency_interval`: The musical interval between two frequencies. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"note_frequency_interval","arguments":{"from_hz":440,"to_hz":660}}}` - GET: https://how.box/mcp/run/note_frequency_interval?from_hz=440&to_hz=660 ## How it works Västerländsk musik delar varje oktav i tolv lika steg som kallas halvtoner. En oktav upp fördubblar frekvensen, så varje halvton multiplicerar den med samma faktor, cirka 1,0595. Tonerna utgår från en referens: A ovanför mitt-C (A4), normalt 440 Hz. Frekvensen för en ton med MIDI-numret m är f = A4 × 2^((m − 69) / 12), där A4 är referensfrekvensen och 69 MIDI-numret för A4. Mitt-C är till exempel MIDI 60, så f = 440 × 2^(−9/12) ≈ 261,63 Hz. Avståndet mellan två frekvenser mäts i cent: 1200 × log₂(f₂ / f₁). En halvton är 100 cent och en oktav 1 200. Det här är liksvävande temperatur, som används av pianon och de flesta moderna instrument. Andra stämningar, som ren stämning, placerar tonerna några cent annorlunda. Oktavnumren följer vetenskaplig tonhöjdsnotation, så mitt-C är C4. I det tyska och nordiska systemet kallas engelskt B för H och sänkt B för B. ## FAQ **Vilken frekvens har mitt-C?** Cirka 261,63 Hz när A4 är 440 Hz. Det är C4, MIDI-ton 60. **Varför heter tonen H på tyska och finska?** I det tyska systemet skrivs engelskt B som H och sänkt B som B. På engelska och de flesta andra språk heter de B och B flat. **Vad är cent?** Cent är hundradelar av en halvton. En skillnad under cirka 5 cent är svår att höra för de flesta, medan 50 cent är exakt halvvägs mellan två toner. **Varför ändra A4-referensen?** Vissa orkestrar stämmer till 442 Hz eller högre för ett ljusare ljud, medan barockensembler ofta stämmer till 415 Hz, cirka en halvton lägre. **Stöds ren stämning?** Nej. Frekvenserna använder tolvtonig liksvävande temperatur. Andra stämningssystem kan ge andra frekvenser för samma notnamn. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/sv/about/agents/)