Skip to content

Commit

Permalink
Add codetta prop
Browse files Browse the repository at this point in the history
  • Loading branch information
WolfgangDrescher committed Nov 19, 2024
1 parent 6114bcc commit 8ecf48e
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions scripts/extract-pieces.mjs
Original file line number Diff line number Diff line change
Expand Up @@ -74,6 +74,7 @@ getFiles(pathToKernScores).forEach(file => {

config.modulatingSubject = config.subjectStartKeyDeg !== config.subjectEndKeyDeg;
config.majorMinor = config.key === config.key.toLowerCase() ? 'minor' : 'major';
config.codetta = config.exposition.filter(segment => segment.type === 'codetta').length > 0;

const stdout = execSync(`cat ${file} | lnnr | beat -ac | extractxx -I kern | ridx -LGTMId`).toString().trim();
const lines = stdout.split('\n');
Expand Down

0 comments on commit 8ecf48e

Please sign in to comment.