<div>
                    <blockquote type="cite"><div>That code worked for me.</div><div><br></div><div>My first thought to solving that problem would be to use 2 different instances of LiSa, but what you did works too.</div></blockquote>
                </div>
                <div><div><br></div><div><span style="background-color: rgb(255, 255, 255); ">--</span></div><span style="background-color: rgb(255, 255, 255); ">Jeff Albert</span><div style="background-color: rgb(255, 255, 255); ">Assistant Professor (Extraordinary) of Music Industry Studies</div><div style="background-color: rgb(255, 255, 255); ">Loyola University New Orleans</div><div style="background-color: rgb(255, 255, 255); ">Office: Communications/Music Complex 428P</div><div style="background-color: rgb(255, 255, 255); ">Office Phone: (504) 865-2606</div><div style="background-color: rgb(255, 255, 255); ">Google Voice: (504) 315-5167</div><div style="background-color: rgb(255, 255, 255); "><a href="mailto:jvalbert@loyno.edu" style="color: rgb(0, 106, 227); ">jvalbert@loyno.edu</a></div><div style="background-color: rgb(255, 255, 255); "><a href="http://www.loyno.edu/~jvalbert" style="color: rgb(0, 106, 227); ">http://www.loyno.edu/~jvalbert</a></div><div><br></div></div>
                 
                <p style="color: #A0A0A8;">On Sunday, December 9, 2012 at 11:30 AM, AurĂ©lien Bondis wrote:</p>
                <blockquote type="cite" style="border-left-style:solid;border-width:1px;margin-left:0px;padding-left:10px;">
                    <span><div><div><div>Hi,</div><div>I'm trying to figure out how to have multiple samples of different sizes</div><div>looping together.</div><div>I think I kind of have it but would like to be sure :)</div><div>Are the voices here for that?</div><div>Record does not have a voice option, so I understand that I have to</div><div>explicitly tell my sample what part of it is supposed to be 'voice 1' or</div><div>'voice 2'.</div><div>Also in my code, I seem to have my voice2 starting from something like</div><div>1second before its end and then loop, did I miss something ?</div><div><br></div><div>Here is my code:</div><div>---------------------------------------------------------</div><div>//a simple signal path</div><div>adc => LiSa saveme => dac;</div><div><br></div><div>//gotta tell LiSa how much memory to allocate</div><div>60::second => saveme.duration;</div><div><br></div><div>saveme.recRamp(200::ms);</div><div><<< "recording 1" >>>;</div><div>1::second => now;</div><div>1 => saveme.record;</div><div>3::second => now;</div><div>0 => saveme.record;</div><div>// Set voice 1 start and stop to use in the loop</div><div>saveme.loopStart(1, 0::second);</div><div>saveme.loopEnd(1, 3::second);</div><div><<< "recording 2" >>>;</div><div>1::second => now;</div><div>1 => saveme.record;</div><div>10::second => now;</div><div>0 => saveme.record;</div><div>// Set voice 2 start and stop to use in the loop</div><div>saveme.loopStart(2, 3::second);</div><div>saveme.loopEnd(2, 13::second);</div><div>// set voice 1 to loop</div><div>saveme.loop(1,1);</div><div>// set voice 2 to loop</div><div>saveme.loop(2,1);</div><div><<< "playing">>>;</div><div>// play loops</div><div>saveme.play(1,1);</div><div>saveme.play(2,1);</div><div>while (true) {</div><div>    1::second => now;</div><div>}</div><div>------------------------------------------------------------</div><div><br></div><div>Thanks for your help.</div><div>AurĂ©lien.</div><div>_______________________________________________</div><div>chuck-users mailing list</div><div><a href="mailto:chuck-users@lists.cs.princeton.edu">chuck-users@lists.cs.princeton.edu</a></div><div><a href="https://lists.cs.princeton.edu/mailman/listinfo/chuck-users">https://lists.cs.princeton.edu/mailman/listinfo/chuck-users</a></div></div></div></span>
                 
                 
                 
                 
                </blockquote>
                 
                <div>
                    <br>
                </div>