{"id":29396954,"url":"https://github.com/gre/audio-notes","last_synced_at":"2025-10-23T15:01:59.731Z","repository":{"id":11884645,"uuid":"14446269","full_name":"gre/audio-notes","owner":"gre","description":"Note frequencies for equal-tempered scale","archived":false,"fork":false,"pushed_at":"2013-11-16T11:54:31.000Z","size":104,"stargazers_count":12,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2025-06-30T01:39:31.574Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/gre.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2013-11-16T11:49:53.000Z","updated_at":"2021-08-10T11:50:50.000Z","dependencies_parsed_at":"2022-08-27T06:03:06.335Z","dependency_job_id":null,"html_url":"https://github.com/gre/audio-notes","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"purl":"pkg:github/gre/audio-notes","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Faudio-notes","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Faudio-notes/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Faudio-notes/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Faudio-notes/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/gre","download_url":"https://codeload.github.com/gre/audio-notes/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/gre%2Faudio-notes/sbom","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":264579112,"owners_count":23631562,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":[],"created_at":"2025-07-10T12:40:50.735Z","updated_at":"2025-10-23T15:01:59.722Z","avatar_url":"https://github.com/gre.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"Audio Notes\n===\n\nProvides note frequencies for equal-tempered scale.\n\nAvailable on [NPM](https://npmjs.org/package/audio-notes).\n\n**CommonJS-ready** or standalone `window.AudioNotes`.\n\nUsage:\n\nWith NodeJS or browserify:\n\n```javascript\nvar AudioNotes = require(\"audio-notes\");\n```\n\nWith standalone script embedding:\n\n```javascript\nvar AudioNotes = window.AudioNotes;\n```\n\nConventions\n===\n\nYou can access notes with two conventions:\n\nby note name\n---\n\nYou can access the note frequency with its name (English notation).\n\nMajor notes use a upper-case where minor (sharp) notes use the lower-case convention.\nThen we add the octave number.\n\n**Exemple:**\n\n`AudioNotes.A4` is a **A** (*la* in solfège) of the 4th octave (A4 is 440 Hz).\n\n`AudioNotes.a4` is a **A#** (*la#* in solfège) of the 4th octave (A4 is ~ 466.16 Hz).\n\nThe 12 notes of one octaves are: `C c D d E F f G g A a B`.\n\nby MIDI value\n---\n\nYou can also access a note by index:\n\n`AudioNotes[57]` is the 57th notes of a midi keyboard, it is A4 .\n\nExamples\n===\n\n```javascript\nvar melody;\nwith (AudioNotes) {\n  melody = [ C4, C5, A4, E4, b3 ];\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Faudio-notes","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fgre%2Faudio-notes","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fgre%2Faudio-notes/lists"}