Scribbletune | progression


Scribbletune generates common chord progressions for the given key

This is an experimental feature. As of now it supports providing common chord progressions for major, minor and seventh chords. For e.g. I IV V ii on C Major would produce a string such as CM FM GM Dm which you can use while creating a clip as the chords you’d like as part of that clip’s notes.

const scribble = require('scribbletune');

const c = scribble.clip({
	notes: scribble.progression.getChords('C4 major', 'I IV V ii'),  // Here 4 is the octave
	pattern: 'x_'.repeat(4) + 'x_______'

scribble.midi(c, 'chords.mid');