# Pianoforte > Ti va di suonare il pianoforte qui? Suona un pianoforte di due ottave con mouse, tocco, tastiera del computer o MIDI, con sustain e nomi delle note. Suona il pianoforte nel browser con mouse, più dita o tasti del computer nel layout tracker Z–M e Q–U. Sustain, ottave, nomi delle note e tastiere MIDI. - Page: https://how.box/it/piano/ - 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/it/about/terms/ ## Inputs Answer link: https://how.box/it/piano/?v={v}&o={o}&l={l}&n={n} - `v` (piano, organ, marimba or xylophone): Sound: piano, organ, marimba or xylophone. Example: `piano`. - `o` (whole number 1 to 6): Octave of the lower C on the keyboard, 1–6. Example: `3`. - `l` (both, notes, keys or none): Key labels: both, notes, keys or none. Example: `both`. - `n` (whole number 0 to 127): The note shown in the result, as a MIDI number 0–127. Example: `69`. Example answer: https://how.box/it/piano/?v=piano&o=3&l=both&n=69 The page computes the answer in the browser: read results from the agent tools below, not from the page HTML. ## Agent tools - `piano_note`: Looks up a musical note: its MIDI number, frequency, names and whether it is a black key. - MCP, one POST to https://how.box/mcp: `{"jsonrpc":"2.0","id":1,"method":"tools/call","params":{"name":"piano_note","arguments":{"note":69}}}` - GET: https://how.box/mcp/run/piano_note?note=69 - `piano_nearest_note`: Finds the equal-tempered note nearest to a frequency and how far off it is in cents (positive = sharp). - MCP: POST https://how.box/mcp `tools/call` with `{"name":"piano_nearest_note","arguments":{…}}`; input schema in https://how.box/agent-tools.json. ## How it works Ogni tasto è una nota un semitono sopra quella alla sua sinistra: dodici tasti, sette bianchi e cinque neri, formano un’ottava, dove la frequenza raddoppia. Le note sono indicate da lettera e numero di ottava; il do centrale è C4. In finlandese e tedesco il si si chiama H e il si bemolle B. L’altezza di ogni tasto segue il temperamento equabile: f = 440 Hz × 2^((n − 69) / 12), dove n è il numero MIDI (A4 = 69, do centrale = 60) e 440 Hz è la nota di riferimento A4 (ISO 16). Ad esempio, il do centrale è 440 × 2^(−9/12) ≈ 261,63 Hz. I suoni sono creati nel browser con pochi toni puri per nota, ciascuno con il proprio decadimento. I parziali di una corda di pianoforte sono leggermente dilatati; una barra di marimba è accordata con il primo parziale superiore due ottave sopra, una di xilofono un’ottava e una quinta sopra (HyperPhysics). Sono semplici imitazioni, non registrazioni. I tasti del computer seguono il layout dei tracker musicali come ProTracker e FastTracker 2, che trasformavano le file di lettere in due ottave di pianoforte. Altoparlanti, browser e Bluetooth aggiungono un piccolo ritardo; le cuffie con filo sono le più rapide. ## FAQ **Perché c’è un ritardo prima del suono?** Ogni dispositivo impiega un istante a trasformare la pressione in suono. Cuffie o altoparlanti con filo aggiungono il ritardo minore; le cuffie Bluetooth possono aggiungerne uno ben percepibile. **Posso suonare accordi con la tastiera del computer?** Sì, tieni premuti più tasti insieme. Alcune tastiere non rilevano tutte le combinazioni di tre o più tasti, quindi ogni tanto una nota potrebbe non suonare. **Quali tastiere MIDI funzionano?** La maggior parte delle tastiere MIDI USB e Bluetooth funziona nei browser che supportano Web MIDI, come Chrome ed Edge. Tasti, intensità e pedale sustain vengono letti solo su questo dispositivo. **Perché le note continuano a suonare dopo aver rilasciato un tasto?** Sustain potrebbe essere attivo. Rilascia Spazio o il pedale MIDI e disattiva il pulsante Sustain. Il suono può comunque impiegare un istante a svanire naturalmente. **I tasti del computer funzionano con tastiere AZERTY o QWERTZ?** Sì. Seguono le posizioni fisiche, non le lettere digitate. Le etichette sullo schermo usano le lettere della tastiera statunitense e possono differire dalle tue. More: [HowToolbox index](https://how.box/llms.txt) · [Agent Skill](https://how.box/skill.md) · [agent terms](https://how.box/it/about/agents/)