Hi, Ronni!<br><br><div class="gmail_quote">On 30 December 2010 08:28, ronni montoya <span dir="ltr"><<a href="mailto:ronni.montoya@gmail.com">ronni.montoya@gmail.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hi, im new in this list,  i was using supercollider before, somebody<br>
told me about something about  the posibilities of chuck for making<br>
sample level operations.<br>
Can anybody explain me about this?</blockquote><div><br></div><div>That's a bit of a big topic, because there are of course many things we might like to do to samples. I also believe (not offering proof) that we can do all of those in ChucK. Not all of those will be efficient or practical but they should work deterministically.</div>
<div><br></div><div>The easiest way of seeing this is probably looking at the Step and Impulse UGens, which allow us to set the value of a sample in the audio chain using code. If you match that with loop running at a rate of 1::samp you can generate any signal. Like this;</div>
<div><br></div><div>Step s => dac;</div><div><br></div><div>while(1)</div><div>  {</div><div>  Std.rand2f(-1 , 1) => s.next; //noise generator</div><div>  samp => now;</div><div>  }</div><div><br></div><div>Another interesting thing to note is that ChucK doesn't use block-processing so you can use feedback in the UGen graph and expect it to work without block-size related artefacts.</div>
<div><br></div><div>Those two things are quite different from how SC works, I believe. Of course SC users can get around this by using Faust, for example.</div><div><br></div><div>Does that cover the general side to your question? We can look at details too, if you have some you are especially interested in.</div>
<div><br></div><div>Yours,</div><div>Kas.</div></div>