16 patterns 9bars

V.1.1.3

May stop at pattern 15
This commit is contained in:
Thomas Herrmann 2022-04-26 22:58:09 +02:00
parent 0e5c609d03
commit 13bca03f78
2 changed files with 4 additions and 4 deletions

View File

@ -67,8 +67,8 @@ class Midirecorder:
Pattern.select()
self.bar_input = Scale(upperframe, from_ = 1, to = 9, orient = HORIZONTAL, label="Nr. Bars", sliderlength= 10, length= 75, fg = 'white')
self.patterns_input = Scale(upperframe, from_ = 1, to = 10, orient = HORIZONTAL, label="Patterns",sliderlength= 10, length= 75, fg = 'white')
self.patterns_input.set(value=10)
self.patterns_input = Scale(upperframe, from_ = 1, to = 16, orient = HORIZONTAL, label="Patterns",sliderlength= 10, length= 75, fg = 'white')
self.patterns_input.set(value=16)
self.bpm_input = Entry(upperframe, width =10, text="BPM",bg= 'lightgrey', relief= FLAT)
self.bpm_input.insert(0, "BPM")
self.add_sec = Scale(upperframe, from_ = 0, to = 10, orient = HORIZONTAL, label="extra Sec", sliderlength= 10, length= 75, fg = 'white')
@ -357,7 +357,7 @@ class Midirecorder:
time.sleep(5)
self.nextPattern()
self.pattern_nr += 1
if self.pattern_nr == 9 :
if self.pattern_nr == 15 :
self.pattern_nr = 0
self.sequenceMaster()
except: