chord-symbol-ultimateguitar

4.0.0 • Public • Published

ChordSymbolUltimateGuitar

Modify the ChordSymbol output to be closer with the chord symbols accepted by the Ultimate Guitar website. If you use ChordSymbol to generate chord charts to be submitted on this website, you definitely want to use this filter.

Usage

import { chordParserFactory, chordRendererFactory } from 'chord-symbol';
import chordSymbolUltimateGuitar from '../src/chordSymbolUltimateGuitar';

const parsed = chordParserFactory()('C7(#9)');
const rendered = chordRendererFactory({
	customFilters: [chordSymbolUltimateGuitar()],
	useShortNamings: true,
})(parsed);

// C7#9

Package Sidebar

Install

npm i chord-symbol-ultimateguitar

Weekly Downloads

0

Version

4.0.0

License

MIT

Unpacked Size

8.74 kB

Total Files

6

Last publish

Collaborators

  • touffi