{"_id":"@aretino-chant/gabc2aretino","_rev":"4-cb213c4dfbd4b829e1d7d44ed21c16c4","name":"@aretino-chant/gabc2aretino","dist-tags":{"latest":"0.4.0"},"versions":{"0.1.0":{"name":"@aretino-chant/gabc2aretino","version":"0.1.0","keywords":["gregorian","chant","gabc","converter"],"author":{"name":"Bertalan Fodor"},"license":"MPL-2.0","_id":"@aretino-chant/gabc2aretino@0.1.0","maintainers":[{"name":"briff","email":"fodber@organum.hu"}],"dist":{"shasum":"07a18a014b912f4962f0d942195b669f479240aa","tarball":"https://registry.npmjs.org/@aretino-chant/gabc2aretino/-/gabc2aretino-0.1.0.tgz","fileCount":4,"integrity":"sha512-qN9m1XmKzf3ZkwvkF1DDtj44hxKmcMpYee6mxyVAKfFxhfaEPTs+9ETzZYc0DGhTeCK9tMzLrOAfYljn9CA9oQ==","signatures":[{"sig":"MEYCIQCsn4/l2SQzRc03CqhVxXUrTkj2BzYTrP9dU8RtyE6DPgIhAI5z8b/uW7zljNh3RggKaVPwDPQfTX+z6s5aZTL4vLFB","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":30111},"type":"module","exports":{".":"./src/convert.js"},"gitHead":"0425779a93173d88ed54760711e8d745ffe41b73","scripts":{"dev":"vite"},"_npmUser":{"name":"briff","email":"fodber@organum.hu"},"_npmVersion":"10.9.4","description":"Converter from Gregorio GABC to Aretino chant notation.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21"},"peerDependencies":{"@aretino-chant/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/gabc2aretino_0.1.0_1779783351760_0.5177046581523213","host":"s3://npm-registry-packages-npm-production"}},"0.2.0":{"name":"@aretino-chant/gabc2aretino","version":"0.2.0","keywords":["gregorian","chant","gabc","converter"],"author":{"name":"Bertalan Fodor"},"license":"MPL-2.0","_id":"@aretino-chant/gabc2aretino@0.2.0","maintainers":[{"name":"briff","email":"fodber@organum.hu"}],"dist":{"shasum":"95d602b678f45fb1701f4d4dbba689ccc8d334c7","tarball":"https://registry.npmjs.org/@aretino-chant/gabc2aretino/-/gabc2aretino-0.2.0.tgz","fileCount":4,"integrity":"sha512-npQ3Ox/SDYp6A55XkxeVKKa26t0Du0PqrCBsqMXyTQwsEJLIWfiNi8H4WlUdsxmKCx6gMQm5Bu2QEOndF725Cg==","signatures":[{"sig":"MEUCIQC9PmocoWFxFUQ2eoAE42bNdtvh+WjVIu7P9SERiLkGsgIgF7hrp8S9/Z8h4GFfi/451dyyZ/DzI80HggoqlVQ+f0c=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33435},"type":"module","exports":{".":"./src/convert.js"},"gitHead":"de4c8910d86258c292b68bf46bb8a1bbff884f2b","scripts":{"dev":"vite"},"_npmUser":{"name":"briff","email":"fodber@organum.hu"},"_npmVersion":"10.9.4","description":"Converter from Gregorio GABC to Aretino chant notation.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21"},"peerDependencies":{"@aretino-chant/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/gabc2aretino_0.2.0_1779810448566_0.7360053758201621","host":"s3://npm-registry-packages-npm-production"}},"0.3.0":{"name":"@aretino-chant/gabc2aretino","version":"0.3.0","keywords":["gregorian","chant","gabc","converter"],"author":{"name":"Bertalan Fodor"},"license":"MPL-2.0","_id":"@aretino-chant/gabc2aretino@0.3.0","maintainers":[{"name":"briff","email":"fodber@organum.hu"}],"dist":{"shasum":"87e0dfccdaf44a79a5fbe92108b3e46bab8b9b94","tarball":"https://registry.npmjs.org/@aretino-chant/gabc2aretino/-/gabc2aretino-0.3.0.tgz","fileCount":4,"integrity":"sha512-nSiwJUTYPNvSq3UOqC9zLhvrofMZGC3qcZuM66zTACMxHBIlnHEZf1RyDKbdJKCs/mAzTVZLQKfDqbXeHvLVAg==","signatures":[{"sig":"MEUCIQCbU1Hg1M6ZsEWzKWpsDNxlHJmVnpDX9Y5ERgQWPwSf5gIgKb2Bebdz4IcWARumBr/7SZ8bCGVTX7V2TOECo2lIVu4=","keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U"}],"unpackedSize":33435},"type":"module","exports":{".":"./src/convert.js"},"gitHead":"5525c116b79e3cab2fad84a143d9f1c95f782a3e","scripts":{"dev":"vite"},"_npmUser":{"name":"briff","email":"fodber@organum.hu"},"_npmVersion":"10.9.4","description":"Converter from Gregorio GABC to Aretino chant notation.","directories":{},"_nodeVersion":"22.22.1","_hasShrinkwrap":false,"devDependencies":{"vite":"^5.4.21"},"peerDependencies":{"@aretino-chant/core":"*"},"_npmOperationalInternal":{"tmp":"tmp/gabc2aretino_0.3.0_1780062602845_0.2446637040553996","host":"s3://npm-registry-packages-npm-production"}},"0.4.0":{"name":"@aretino-chant/gabc2aretino","version":"0.4.0","description":"Converter from Gregorio GABC to Aretino chant notation.","type":"module","exports":{".":"./src/convert.js"},"scripts":{"dev":"vite","test":"vitest run"},"keywords":["gregorian","chant","gabc","converter"],"license":"MPL-2.0","author":{"name":"Bertalan Fodor"},"peerDependencies":{"@aretino-chant/core":"*"},"devDependencies":{"vite":"^5.4.21","vitest":"^2.0.0"},"gitHead":"f9b2c8012950776ee7debad7446cb9bc88fcac87","_id":"@aretino-chant/gabc2aretino@0.4.0","_nodeVersion":"22.22.1","_npmVersion":"11.17.0","dist":{"integrity":"sha512-PI1Z+6ZapeHhy69WRkDi8ndAI7e2ksZ0ShwHVQlrynhjRXHDyr9+v4JNIl2fw2nPhryyXWhnYkHO/CZrMfdglw==","shasum":"2cb6cef664e80a486107edf8c16c2a3b0a946a3e","tarball":"https://registry.npmjs.org/@aretino-chant/gabc2aretino/-/gabc2aretino-0.4.0.tgz","fileCount":4,"unpackedSize":33988,"signatures":[{"keyid":"SHA256:DhQ8wR5APBvFHLF/+Tc+AYvPOdTpcIDqOhxsBHRwC7U","sig":"MEQCIBoPOlBlaGiJTBazn7qTHofmxPXtIFyNy9g7B6VQPcklAiAHNWhSCX/EGoUDSF/VZ/JDttbc/RJHoE/CtTPKMToyNA=="}]},"_npmUser":{"name":"briff","email":"fodber@organum.hu"},"directories":{},"maintainers":[{"name":"briff","email":"fodber@organum.hu"}],"_npmOperationalInternal":{"host":"s3://npm-registry-packages-npm-production","tmp":"tmp/gabc2aretino_0.4.0_1785317834362_0.9126838569648423"},"_hasShrinkwrap":false}},"time":{"created":"2026-05-26T08:15:51.513Z","modified":"2026-07-29T09:37:14.690Z","0.1.0":"2026-05-26T08:15:51.950Z","0.2.0":"2026-05-26T15:47:28.759Z","0.3.0":"2026-05-29T13:50:02.987Z","0.4.0":"2026-07-29T09:37:14.516Z"},"author":{"name":"Bertalan Fodor"},"license":"MPL-2.0","keywords":["gregorian","chant","gabc","converter"],"description":"Converter from Gregorio GABC to Aretino chant notation.","maintainers":[{"name":"briff","email":"fodber@organum.hu"}],"readme":"# @aretino-chant/gabc2aretino\n\nConverts [Gregorio GABC](https://gregorio-project.github.io/gabc/index.html) chant notation to [Aretino](https://aretino-chant.github.io) chant notation.\n\n## Installation\n\n```bash\nnpm install @aretino-chant/gabc2aretino\n```\n\n## Usage\n\n```js\nimport { gabcToAretino } from '@aretino-chant/gabc2aretino';\n\nconst gabc = `name: Kyrie;%%\nKy(f)ri(g)e(h) e(j)le(i)i(h)son(g.)`;\n\nconst aretino = gabcToAretino(gabc);\n// (g2) fgh jiFG.\n// w: Ky-ri-e e-le-i-son\n```\n\n## API\n\n### `gabcToAretino(gabc: string): string`\n\nConverts a GABC string (with or without a header section separated by `%%`) to Aretino notation. Returns an empty string if there are no neumes in the input.\n\nThe output starts with a `(g2)` clef token. If the GABC clef implies a flat key signature (e.g. `cb3`, `cb4`), a `(K:b)` token follows.\n\n## Supported features\n\n- **Clefs**: `c1`, `c2`, `c3`, `c4` (default), `f3`, `f4`, `cb3`, `cb4`\n- **Extended pitch range**: notes above `G` and below `A` use Aretino octave markers (`^` / `v`)\n- **Barlines**: breath mark `,`, quarter bar `'`, half bar `;`, full bar `:`, double bar `::`, and interrogative `?` variants\n- **Accidentals**: flat `x`, natural `y`, sharp `#` — both as standalone signs and as intra-neume suffixes\n- **Neume shapes**: virga `v`/`V`/`O`, quilisma `w`/`W`, oriscus `>`, apostropha/strophe `o`/`s`, tenor (empty notehead) `r`/`R`\n- **Ornaments**: mora `.`, ictus `'`, episema `_`, liquescent `~` (mapped to small notehead)\n- **Rhythmic accents**: `r1`–`r5` mapped to Aretino accent characters\n- **Repeated suffixes**: `gss` → `gsgs`, `gvv` → `g'g'`\n- **Trailing suffix redistribution**: `gh..` → `g.h.`, `gh__` → `g_h_`\n- **Intra-neume spacing**: `/` gaps and `//` double gaps\n- **Initio debilis**: leading `-` produces a small notehead\n- **Lyrics**: text, syllable hyphenation, `<sp>`, `<b>`, `<i>`, `<ul>`, `<sc>`, `<tt>`, `<c>` tags\n\n## License\n\n[MPL-2.0](./LICENSE) © 2026 Bertalan Fodor\n","readmeFilename":"README.md"}