[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [sc-users] Re: Ryoji Ikeda glitches



Hello all

I did some research on logistic maps.

https://en.wikipedia.org/wiki/Logistic_map

It was long time ago and don't remember well how it was but i tested it and still works.
It's rudimentary but makes great glitch sounds.


small changes in "m" or "j"  ("r" is  trickier I think ) results in different glitches.

Cheers
S.


(

// LOGISTIC MAP FUNCTION EVALUATE FIRST

l= {|previous=60|

((1.0-previous)*previous*r).postln;

};  

)



var  amps;

var currentvalue= 0.25;


r=3.85;

t=r;  

m=4;

j=1250;


//w = Window("MultiSlider Options", Rect(200, Window.screenBounds.width-550, 600, 450)).front.decorate;

//g={currentvalue = l.(currentvalue);}!256;

g=List.new;

Routine({

50.do{|i|

j.do{ g.add( currentvalue = l.(currentvalue);); };

r=(t)+i.linlin(0,j, 0, (m-t));

0.005.wait;

};

s.sync;

g.asArray.plot(discrete:true);

s.sync;

a=FloatArray.fill(g.size.postln,{|i| g[i].linlin(0,1,-1,1)});

s.sync;

b=Buffer.loadCollection(s,a, 1);

}).play(AppClock);


)


{LeakDC.ar(PlayBuf.ar(1,b,1)!2*0.25)}.play



2015-12-22 10:42 GMT+01:00 James Harkins <jamshark70@xxxxxx>:
On December 22, 2015 4:28:52 PM chanof <chanof@xxxxxxxxxxx> wrote:

apart bbcut for beatslice i can not find
any example on algorithmic breakbeat.
Do you know where i can study about ?

Examples are one thing. Equally important are the fundamentals on which you can build.

1. A slice of a breakbeat just comes from playing a segment of a soundfile: Buffer and PlayBuf classes. Also use EnvGen and Env for short fades at the beginning and end of a slice. One slice, one synth. Don't try to do a lot of complex sequencing within the SynthDef. It'll make your head hurt.

2. Your slice-player synth needs control arguments to specify where to start in the buffer and when to stop playing. I tend to use Env.linen and pass in a time argument (# of seconds for this slice), but you can also use Env.asr and let the language handle a "gate" input.

3. The meat of it is choosing rhythms and slice parameters. One approach that has worked for me is to put slices into arrays representing a full bar of rhythm, and stream them out, one bar at a time. Then my compositional code works like, "put a kick slice on the downbeat, and one more randomly in the last half of the bar, then add 2 or 3 snare slices in rhythmic slots that aren't used yet."

4. I have been identifying which time points in the breakbeat are kick, snare etc by hand. BBCut does this automatically -- super cool, but automatic detection is not strictly necessary to make music by slicing breaks.

You probably want to rush and hack something together quickly based on other people's code. Sure, you can learn that way, but if you practice the foundation, you can make it your own.

hjh

Sent with AquaMail for Android
http://www.aqua-mail.com