@@ -182,7 +182,7 @@ class GuitarPartTests(unittest.TestCase):
|
||||
content = tests.test_parts.xml_harmony() + tests.test_musicxml.xml_note('E', octave=4)
|
||||
source = tests.test_musicxml.parse(tests.test_accompaniment.xml_bars([content] * 8))
|
||||
bar = generator.rhythm.Bar((generator.rhythm.Event(fractions.Fraction(), fractions.Fraction(4), True, 'whole'),), fractions.Fraction(4))
|
||||
library = generator.rhythm.Library((generator.rhythm.Snippet('4-4/3/whole', '4/4', (bar,)),))
|
||||
library = generator.rhythm.Library((generator.rhythm.Snippet('4_4/3/whole', '4/4', (bar,)),))
|
||||
result = generator.arrange.generate.arrange_document(source, 'electric', rhythms=library)
|
||||
generator.model.validate_document(result)
|
||||
durations = {}
|
||||
|
||||
Reference in New Issue
Block a user