ã²ãã³ãã®ChucKãSndBufã使ãã¨ã«ã¼ãç´ æãç°¡åã«ã«ãããã¦ã¤ãªãããããã¨ãã§ããã¯ãããªã®ã§ãã£ã¦ã¿ãã SndBuf l1; "c:/temp/amen.wav" => l1.read; 1 => l1.loop; l1 => dac; l1.samples() => int full; 8 => int breaks; full / breaks => int offset; while (true) { Std.rand2(0, breaks-1) => int ps; <<< ps >>>; ps * offset => l1.pos; offset::samp => now; }http://gist.github.com/188928 ãã¡ã¤ã«åã®ã¨ãããã¾ãã¯ã¢ã¼ã¡ã³ã§ãã£ã¦ã¿ãã»ã»ã»â ãããç´ æã®ãµã³ãã«æ°ãåç´ã«8ã§å²ã£ãã16ã§å²ã£ãããã¦ã¤ãªãã§ããã
{{#tags}}- {{label}}
{{/tags}}