Skip to content

Commit 2a0c9b4

Browse files
committed
loos changes
1 parent bb3a5dd commit 2a0c9b4

3 files changed

Lines changed: 6 additions & 5 deletions

File tree

CodeKlavier/Mapping.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -850,7 +850,7 @@ def result(self, result_num, text, mod=0): #how to make optional params?
850850
self.enter()
851851
self.formatAndSend('if true -> stop ~snippet2', display=3, syntax_color='snippet:')
852852
elif text == 'code':
853-
self.__keyboard.type('~snippet2.stop(10);')
853+
self.__keyboard.type('~snippet2.stop(3);')
854854
self.evaluateSC('eval')
855855
self.formatAndSend('~snippet2.stop;', display=3, syntax_color='snippet:')
856856
elif text == 'less than':

CodeKlavier/Motifs.py

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -13,7 +13,7 @@
1313
motifs_anne['motif_2'] = [70, 51, 62, 60, 44, 63, 66, 62, 55, 49]
1414
motifs_anne['mini_motif_1_low'] = [35, 38, 42]
1515
motifs_anne['mini_motif_2_low'] = [26, 32, 35, 38]
16-
motifs_anne['mini_motif_3_low'] = [39, 43, 46]
16+
motifs_anne['mini_motif_3_low'] = [38, 42, 47]
1717
motifs_anne['mini_motif_1_mid'] = [60, 64, 67]
1818
motifs_anne['mini_motif_2_mid'] = [50, 56, 59, 62]
1919
motifs_anne['mini_motif_1_hi'] = [86, 90, 93]
@@ -23,7 +23,8 @@
2323
motifs_anne['conditional_2'] = [49, 45, 48, 49, 43]
2424
#motifs_anne['conditional_3'] = [93, 91, 89, 91, 93, 91, 94, 93]
2525
motifs_anne['conditional_3'] = [97, 93, 96, 97, 91]
26-
motifs_anne['conditional_result_1'] = [60, 62, 66, 70, 69, 67]
26+
#motifs_anne['conditional_result_1'] = [60, 62, 66, 70, 69, 67]
27+
motifs_anne['conditional_result_1'] = [68,74,74,63,69]
2728
motifs_anne['conditional_result_2'] = [99, 92, 90, 89, 92, 94]
2829
motifs_anne['conditional_result_3'] = [21,22,23]
2930
motifs_anne['conditional_result_4'] = [23,24,25]

default_setup.ini

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,11 +1,11 @@
11
[midi]
22
port: 2
3-
device_id: 152
3+
device_id: 144
44
noteoff_id: 0
55

66
[snippets]
77
#Ndef(~name.next,{|pitch=420,fx=88| SinOsc.ar(456*LFTri.kr(fx).range(100, pitch)) * EnvGen.kr(Env.perc) * ev.amp}).play(0,2);(1/ev.rit).wait;}}).play(~ts, quant:0).envir = (rit: ~tremoloL, amp: 0.036);
8-
snippet1 : ~snippet1 = Ndef(\piano_fx, {|dec=40, amp=0.01, rate=1| GVerb.ar(HPF.ar(SoundIn.ar(0,2), 9), 109, dec)*LFTri.kr(rate)*amp}).play(0,2)
8+
snippet1 : ~snippet1 = Ndef(\piano_fx, {|dec=40, amp=0.01, rate=1| GVerb.ar(HPF.ar(SoundIn.ar(8,2), 9), 109, dec)*LFTri.kr(rate)*amp}).play(0,2)
99

1010

1111
mini_snippet_hi_1: Ndef(\piano_fx).map(\dec, Ndef(\krm1_d)); ~tremoloH1;

0 commit comments

Comments
 (0)