{"id":14384773,"url":"https://github.com/danigb/chromatic","last_synced_at":"2025-10-10T15:49:46.579Z","repository":{"id":66458274,"uuid":"38563214","full_name":"danigb/chromatic","owner":"danigb","description":"Chromatic scales","archived":false,"fork":false,"pushed_at":"2015-07-15T02:34:45.000Z","size":144,"stargazers_count":2,"open_issues_count":0,"forks_count":1,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-12-27T11:34:43.020Z","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/danigb.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":"2015-07-05T09:11:08.000Z","updated_at":"2017-07-17T02:03:10.000Z","dependencies_parsed_at":"2023-02-20T20:00:25.454Z","dependency_job_id":null,"html_url":"https://github.com/danigb/chromatic","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danigb%2Fchromatic","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danigb%2Fchromatic/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danigb%2Fchromatic/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/danigb%2Fchromatic/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/danigb","download_url":"https://codeload.github.com/danigb/chromatic/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":239449548,"owners_count":19640532,"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":"2024-08-28T18:01:39.584Z","updated_at":"2025-10-10T15:49:41.557Z","avatar_url":"https://github.com/danigb.png","language":"JavaScript","funding_links":[],"categories":["JavaScript"],"sub_categories":[],"readme":"# Chromatic\n\nChromatic musical scales, in ascending or descending order, any length.\n\n__This is a low level library, and almost an experiment. Probably you will prefer [musical-scales](http://github.com/danigb/musical-scales)__\n\n## Usage\n\nRequire the module: `npm i --save chromatic` and use it:\n\n```js\nvar chromatic = require('chromatic')\nchromatic('C', 2) // =\u003e [ [ 'C2', 'Db2', 'D2', 'Eb2', 'E2', 'F2', 'Gb2', 'G2', 'Ab2', 'A2', 'Bb2', 'B2' ],\n                  //      [ 'C2', 'C#2', 'D2', 'D#2', 'E2', 'F2', 'F#2', 'G2', 'G#2', 'A2', 'A#2', 'B2' ] ]\n```\n\n## API: chromatic(root, octave = null, length = 12, descending = false)\n\nReturn an array of chromatic scales (array of notes) starting with the given root.\n\nIf octave is given, the notes has octave numbers. You can choose how many notes (with length) or if its descending (false by default)\n\n```js\nchromatic('Db', null, 3, true) // =\u003e [ [ 'Db4', 'C3', 'B3' ], [ 'Db4', 'Dbb4', 'Cb3' ] ]\n´´´\n\n## License\n\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanigb%2Fchromatic","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fdanigb%2Fchromatic","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fdanigb%2Fchromatic/lists"}