Initial commit: fork from canti

This commit is contained in:
David Frassi
2026-09-26 09:00:54 +02:00
commit 34bf3ea391
154 changed files with 45131 additions and 0 deletions
+20
View File
@@ -0,0 +1,20 @@
import { LyricsParserService } from './src/app/services/lyrics-parser.service';
const parser = new LyricsParserService();
function testTranspose(chord, semitones) {
const result = parser.transposeChord(chord, semitones);
console.log(`${chord} + ${semitones} -> ${result}`);
}
console.log('Testing Slash Chords:');
testTranspose('DO/SOL', 2);
testTranspose('REm/LA', 1);
testTranspose('MIb/SIb', -1);
testTranspose('FA#/DO#', 2);
console.log('\nTesting Single Chords:');
testTranspose('DO', 2);
testTranspose('REm', 1);
testTranspose('SIb', -1);