Browse Source

Add 'Chords' track to the default

master
Nils 3 years ago
parent
commit
5520b3edea
  1. 10
      engine/main.py

10
engine/main.py

@ -60,14 +60,18 @@ class Data(template.engine.sequencer.Score):
#Create three tracks with their first pattern activated, so 'play' after startup already produces sounding notes. This is less confusing for a new user.
self.addTrack(name="Melody A", color="#ffff00")
self.addTrack(name="Chords A", color="#0055ff")
self.addTrack(name="Bass A", color="#00ff00")
self.addTrack(name="Drums A", color="#ff5500")
self.tracks[0].structure=set((0,))
self.tracks[1].structure=set((0,))
self.tracks[1].pattern.scale = (48, 47, 45, 43, 41, 40, 38, 36) #Low base notes, C-Major
self.tracks[2].structure=set((0,))
self.tracks[2].pattern.simpleNoteNames = simpleNoteNames["Drums GM"]
self.tracks[2].pattern.scale = (49, 53, 50, 45, 42, 39, 38, 36) #A pretty good starter drum set
self.tracks[3].structure=set((0,))
self.tracks[1].pattern.scale = (60, 59, 57, 55, 53, 52, 50, 48) #Middle base notes, C-Major
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._processAfterInit()

Loading…
Cancel
Save