ConchordanceProject / Conchordance

Calculates chords and chord fingerings for the guitar and other instruments.
14 stars 2 forks source link

Find all fingerings for a given Chord Shape #27

Closed jbauschatz closed 9 years ago

jbauschatz commented 9 years ago

Given a particular chord fingering, we should be able to find all ways to place fingers in that shape. For example the classic "campfire" G-Major chord on guitar is fretted as 320003, and there are a few was to place your fingers into that shape.

This could be done without much change to the existing algorithm - by manually setting the "in chord" array to be exactly the desired shape. Then the algorithm would run as usual, only placing fingers in the valid position.

This logic should be tucked away inside the FretboardModel, and exposed on the Conchordance facade as well as the API.