{"uid":"cap_e_MVxYGGmjUsAURXe7CQ0","slug":"saylor-innovations-pitch-to-note-b05fcfc2","name":"Saylor Innovations Pitch to Note","description":"Nearest note, cents offset, MIDI, wavelength, harmonics and neighbors","url":"https://saylorinnovations.com/api/music/pitch-note?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","POST","PUT","PATCH","DELETE","HEAD"],"type":"string"},"queryParams":{"type":"object","properties":{"a4":{"type":"string","description":"optional reference pitch for A4, default 440 (query)"},"hz":{"type":"string","description":"optional frequency in hertz (query)"},"midi":{"type":"string","description":"optional MIDI number 0-127 (query)"},"note":{"type":"string","description":"optional note with octave, for example A4 or C#3 (query)"},"temp_c":{"type":"string","description":"optional air temperature for the wavelength, default 20 (query)"}}}},"additionalProperties":false},"output":{"type":"object","required":["type"],"properties":{"type":{"type":"string","const":"json"},"example":{"type":"object"},"description":{"type":"string"}}}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_xW7DqMTMDQIl54avt3dzy","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Converts a musical pitch (frequency, MIDI number, or note name) to its nearest note with cents offset, MIDI number, wavelength, harmonics, and neighboring notes","exampleAgentPrompt":"What note is closest to 432 hz, how many cents off is it from the nearest note, and what's its MIDI number and wavelength? Use A4 = 432 as the reference pitch.","exampleUseCases":[{"title":"Identify note from microphone pitch","prompt":"I'm detecting a frequency of 523.25 hz from a microphone — what musical note is that, what's its MIDI number, and how many cents off is it from the true pitch?"},{"title":"Tune instrument to alternate A4 reference","prompt":"My orchestra tunes to A4 = 415 hz. What note name, MIDI number, and wavelength corresponds to 415 hz using that as my A4 reference?"},{"title":"Explore harmonics of a bass note","prompt":"What are the harmonics of MIDI note 36 (low C), and what are its neighboring notes and their frequencies?"}],"resultDescription":"Returns the nearest note name and octave, how many cents the input pitch deviates from that note, the MIDI number, the wavelength in air (adjustable by temperature), a list of harmonics, and the neighboring notes above and below.","failureModes":["Missing all input parameters (hz, midi, note) — endpoint requires at least one pitch input","Invalid MIDI number outside 0-127 range","Malformed note string format (e.g. missing octave number)","Frequency below 0 or outside audible/MIDI range may return unexpected results","Invalid a4 or temp_c values may cause computation errors"],"whenToPreferThis":"Use this endpoint when you need detailed music theory metadata for a pitch — particularly when you need cents deviation, harmonics, wavelength, or MIDI conversion all in one call. Prefer it over standalone frequency-to-note converters when you need the full set of acoustic and music-theory properties simultaneously.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-31T18:41:14.147Z","isFirstParty":false,"canonicalSlug":"saylor-innovations-pitch-to-note-b05fcfc2"}