discovered 03 Aug 2026
autocomposer-js
→ View on GitHubAutoComposerJS is a JavaScript library designed to generate short musical compositions that adhere to Western music theory principles, particularly by creating melodies over specified chord progressions. Notable features include the ability to produce basic accompaniment, represent melodies in musical score, MIDI, and audio formats, and calculate smoothness based on note intervals to rank melodic sequences. This tool is ideal for musicians seeking to explore melodic options during composition or studying the interaction of melody and harmony.