@@ -61,5 +61,5 @@ def reuse_voicings(links: list[VoicingLink]) -> None:
|
||||
if strings not in generator.guitar.ELECTRIC_STRINGS:
|
||||
continue
|
||||
note = link.target
|
||||
note['pitches'] = [copy.deepcopy({**{k: p[k] for k in ('letter', 'alter', 'octave', 'tablature')}, 'id': f'{note["id"]}-s{p["tablature"]["string"]}', 'duration': note['duration'], 'written': note['written']}) for p in reference['pitches']]
|
||||
note['pitches'] = [copy.deepcopy({**{k: p[k] for k in ('letter', 'alter', 'octave', 'tablature')}, 'id': f'{note["id"]}_s{p["tablature"]["string"]}', 'duration': note['duration'], 'written': note['written']}) for p in reference['pitches']]
|
||||
break
|
||||
|
||||
Reference in New Issue
Block a user