Browse Source

Use groups for empty project

master
Nils 4 years ago
parent
commit
6d8e727bca
  1. 9
      engine/main.py

9
engine/main.py

@ -70,6 +70,14 @@ class Data(template.engine.sequencer.Score):
self.addTrack(name="Chords A", color="#0055ff")
self.addTrack(name="Bass A", color="#00ff00")
self.addTrack(name="Drums A", color="#ff5500")
self.addTrack(name="Drums B", color="#ff5500")
self.tracks[0].group = "Melody"
self.tracks[1].group = "Chords"
self.tracks[2].group = "Bass"
self.tracks[3].group = "Drums"
self.tracks[4].group = "Drums"
self.tracks[0].structure=set((0,))
self.tracks[1].structure=set((0,))
self.tracks[2].structure=set((0,))
@ -79,6 +87,7 @@ class Data(template.engine.sequencer.Score):
self.tracks[2].pattern.scale = (48, 47, 45, 43, 41, 40, 38, 36) #Low base notes, C-Major
self.tracks[3].pattern.simpleNoteNames = simpleNoteNames["Drums GM"]
self.tracks[3].pattern.scale = (49, 53, 50, 45, 42, 39, 38, 36) #A pretty good starter drum set
self.tracks[4].pattern.scale = (49, 53, 50, 45, 42, 39, 38, 36) #A pretty good starter drum set
self._processAfterInit()

Loading…
Cancel
Save