diff --git a/CaosSampler.sc b/CaosSampler.sc index d35202c..3e8b446 100644 --- a/CaosSampler.sc +++ b/CaosSampler.sc @@ -443,7 +443,7 @@ CaosSampler { } // - inform {|print = "CaosSampler written by @joseCao5 ", tempoTexto = 0.025, breakLine = true| + inform {|print = "CaosSampler written by @joseCao5 ", tempoText = 0.025, breakLine = true| var txt = print.asArray; var texto = txt.size; @@ -453,7 +453,7 @@ CaosSampler { texto.do({|i| letrero.put(i, txt[i]); letrero[i].asString.post; - tempoTexto.wait; + tempoText.wait; 0.yield;//regresa un valor vacio, para evitar que se imprima en el post }); @@ -465,26 +465,9 @@ CaosSampler { } } - *inform {|print = "CaosSampler written by @joseCao5 ", tempoTexto = 0.025, breakLine = true| + *inform {|print = "CaosSampler written by @joseCao5 ", tempoText = 0.025, breakLine = true| - var txt = print.asArray; - var texto = txt.size; - var letrero = Array.newClear(texto); - - fork { - texto.do({|i| - letrero.put(i, txt[i]); - letrero[i].asString.post; - tempoTexto.wait; - 0.yield; - }); - - if(breakLine == true, { - - "\n".post; - - }); - } + this.inform(print,tempoText,breakLine); } } diff --git a/test/test-livepad.scd b/test/test-livepad.scd index 4eabc34..1d5c08a 100644 --- a/test/test-livepad.scd +++ b/test/test-livepad.scd @@ -9,10 +9,10 @@ a = CaosSampler.new; b = CaosSampler.new; c = CaosSampler.new; - -a.load("NRfw15","master.final/josecaos-11-xibalba-p4nda-master-48khz-24bits.wav",2); -b.load("impt","IMPT-josecaos-master/josecaos-1500(edit)-master-48khz-24bits-josecaos.xyz.wav",2); -c.load("impt","master.final/josecaos-02-xibalba-wdyjdi3-master-48khz-24bits.wav",2); +CaosSampler.scope +a.load("p4nda","master.final/josecaos-11-xibalba-p4nda-master-48khz-24bits.wav",2); +b.load("1500","IMPT-josecaos-master/josecaos-1500(edit)-master-48khz-24bits-josecaos.xyz.wav",2); +c.load("di3","master.final/josecaos-02-xibalba-wdyjdi3-master-48khz-24bits.wav",2); a.play; a.out(1,0); @@ -35,18 +35,19 @@ c.toggleReverse(~t); ~c.ids; ~c.all; - +c.amp('all',0.9); // seqs ( Tdef(\test,{ - var t = Pwrand([1,0.5,0.25]+0.5,[0.2,0.3,0.5],inf).asStream; - var n = Pwrand([0.25,0.5,1,1.25,1.5,1.75,2]*2,[0.2,0.2,0.3,0.1,0.2,0.1],inf).asStream; + var t = Pwrand([1,0.5,0.25],[0.2,0.3,0.5],inf).asStream; + // var n = Pwrand([0.25,0.5,1,1.25,1.5,1.75,2]*2,[0.2,0.2,0.3,0.1,0.2,0.1],inf).asStream; + var n = Pxrand([0.25,0.5,1.25,1.5,1.75,2],inf).asStream; loop{ - c.toggleReverse; - c.speed(~t = n.next); + a.toggleReverse(~t = n.next*2); + a.speed(~t = n.next); t.next.wait } -}); +}).quant_(1); ) Tdef('test').play; Tdef('test').stop;