Skip to content

Instantly share code, notes, and snippets.

@Silverwolf90
Created June 8, 2014 22:00
Show Gist options
  • Save Silverwolf90/fae712dcbc9a08f7c539 to your computer and use it in GitHub Desktop.
Save Silverwolf90/fae712dcbc9a08f7c539 to your computer and use it in GitHub Desktop.
def scale_on_board(scale,fretboard):
for string_index, string in enumerate(fretboard):
for fret, pitch in enumerate(string):
if pitch in scale:
fretboard[string_index][fret] += "*";
return fretboard
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment