{"id":48498200,"url":"https://github.com/benjamindehli/music-utils","last_synced_at":"2026-04-11T17:33:53.290Z","repository":{"id":342857607,"uuid":"1175377799","full_name":"benjamindehli/music-utils","owner":"benjamindehli","description":"Detect chord names from MIDI note input","archived":false,"fork":false,"pushed_at":"2026-04-06T21:17:35.000Z","size":612,"stargazers_count":0,"open_issues_count":0,"forks_count":0,"subscribers_count":0,"default_branch":"main","last_synced_at":"2026-04-07T13:31:03.486Z","etag":null,"topics":["chords","javascript","midi","music","scales","typescript"],"latest_commit_sha":null,"homepage":"","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"gpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/benjamindehli.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":".github/FUNDING.yml","license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null},"funding":{"ko_fi":"benjamindehli","custom":"https://store.dehlimusikk.no/coffee"}},"created_at":"2026-03-07T16:22:32.000Z","updated_at":"2026-04-05T22:25:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/benjamindehli/music-utils","commit_stats":null,"previous_names":["benjamindehli/midi-notes-to-chords","benjamindehli/music-utils"],"tags_count":19,"template":false,"template_full_name":null,"purl":"pkg:github/benjamindehli/music-utils","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindehli%2Fmusic-utils","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindehli%2Fmusic-utils/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindehli%2Fmusic-utils/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindehli%2Fmusic-utils/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/benjamindehli","download_url":"https://codeload.github.com/benjamindehli/music-utils/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/benjamindehli%2Fmusic-utils/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":31689762,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-11T13:07:20.380Z","status":"ssl_error","status_checked_at":"2026-04-11T13:06:47.903Z","response_time":54,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.5:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"can_crawl_api":true,"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":["chords","javascript","midi","music","scales","typescript"],"created_at":"2026-04-07T13:03:57.886Z","updated_at":"2026-04-11T17:33:53.282Z","avatar_url":"https://github.com/benjamindehli.png","language":"TypeScript","funding_links":["https://ko-fi.com/benjamindehli","https://store.dehlimusikk.no/coffee"],"categories":[],"sub_categories":[],"readme":"# @benjamindehli/music-utils\n\nA TypeScript/JavaScript library for music theory utilities and chord detection from MIDI note input.\n\n## Features\n\n- Detect chord names from MIDI note input\n- Music theory classes: Chord, Interval, Note, Scale, Midi, NoteSelection\n- Data modules for chords, intervals, notes, scales, selection types\n- Helper functions for matching and note normalization\n- Deep import support for optimized usage and tree-shaking\n- TypeScript type definitions included\n\n## Installation\n\n```bash\nyarn add @benjamindehli/music-utils\n# or\nnpm install @benjamindehli/music-utils\n```\n\n## Usage\n\n### Top-level import\n\n```js\nimport { Midi, getChordsFromSelectedNotes } from '@benjamindehli/music-utils';\n\nconst midi = new Midi();\nmidi.init(handleMIDIMessage);\n\nconst detectedChord = getChordsFromSelectedNotes([60, 64, 67]);\n```\n\n### Deep imports\n\n```js\nimport Chord from '@benjamindehli/music-utils/classes/Chord';\nimport chords from '@benjamindehli/music-utils/data/chords';\nimport { getChordsFromSelectedNotes } from '@benjamindehli/music-utils/helpers/matchHelpers';\n```\n\n## API Overview\n\n- **Classes**: Chord, Interval, Midi, Note, NoteSelection, Scale\n- **Data**: chords, intervals, notes, scales, selectionTypes\n- **Helpers**: getChordsFromSelectedNotes, getRelativeNoteNumber, normalizeHalfStep, normalizeHalfSteps\n\n## TypeScript Support\n\nAll exports include type definitions for seamless TypeScript integration.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamindehli%2Fmusic-utils","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fbenjamindehli%2Fmusic-utils","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fbenjamindehli%2Fmusic-utils/lists"}