From 13bca03f789a05688e6ef1590cce22a0317df1f3 Mon Sep 17 00:00:00 2001 From: Thomas Herrmann Date: Tue, 26 Apr 2022 22:58:09 +0200 Subject: [PATCH] 16 patterns 9bars V.1.1.3 May stop at pattern 15 --- __pycache__/underbridge.cpython-310.pyc | Bin 7861 -> 10836 bytes underbridge.py | 8 ++++---- 2 files changed, 4 insertions(+), 4 deletions(-) diff --git a/__pycache__/underbridge.cpython-310.pyc b/__pycache__/underbridge.cpython-310.pyc index ec27a7a0ef8d6cbe194f1acd23c965f4bc14306b..704777b2ff0a3b66427523e657cd7e98903a6c77 100644 GIT binary patch literal 10836 zcmZ`)6Xv2(PVZnfqf$1N`3jQkO1%+?y59&_QM2QCqelJ1e-Zi^0df_JaSJ=hywDAm=s0iSurK1k>|udF@roW_KO3^ zC&WQ9i@YEXiNnYz#Sw87c~Kk_$B|EoXG974w0KrLhkT!SUc7*OM!YCaAm1-u5-%e^ zAj;wu*l&GEd1W7m2aFQQM@}o(9EXj|@&k!vl zk8{b1f|%S+ZJAwjy(EAqT5_UDw8YOc)C8T@w!LL_EkFS8AqYLszM*;St_`S}5hy*+ zevG4eoUQ|i10xX6buFAdXj?ykZy!FIVOAX4_O?DuC7@6r*GWNxxv2z$Z$75gQv8TJXIDxi9;w9`tx|>e+dup)X1o1K; z4l{(;^%!CX``LA(NpqYRPlW*OqZ7zELEj3IK}97CKOgE$3< z;|!7S<{4sY2;vM*gy_>JRS>69J}b^_r?)0z>N`8ucaHlC+;?uM@3kK`R!nhTT==}l z5R>t1T}NC5y|0S`PT`GhcdLjt3u9)*$B@p5nOTE(`Azgq@r)lI%=nflpnP6@0+>v9 zry1|JFT!UDoH%$GE2r&?hnzlA*2*f{Z5cjLZY^wVHd}H(hR6dnSqe$n z+HL4eEj+9>Hbqdn8H)N!J&@53uRlr9r1(|(whY&U8j*W;`E_ybd^s)YW>Bg7eq%FG z-hE%z{pCg=30>(?SFYX?^_m}tGHfYpc@>lRF_3TVWYFF5DsrxL*~eO+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D#xQQsgGSmIb_P)!F-PSj9vO{X{uf7` B`tAS# diff --git a/underbridge.py b/underbridge.py index 0d1152d..4761219 100644 --- a/underbridge.py +++ b/underbridge.py @@ -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') @@ -338,7 +338,7 @@ class Midirecorder: for i in range (0,8): pattern_limit = self.patterns_input.get() - if self.cancel == 1 or self.pattern_nr == pattern_limit: + if self.cancel == 1 or self.pattern_nr == pattern_limit: break #print("sequence started",i) self.muteAll() @@ -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: