<html dir="ltr">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<style type="text/css" id="owaParaStyle"></style>
</head>
<body fpstyle="1" ocsi="0">
<div style="direction: ltr;font-family: Tahoma;color: #000000;font-size: 10pt;">If any UGen is placed after lisa.chan(0), lisa.pan will not behave predictably in stereo. You'll need separate UGens to follow LiSa. Something like:
<div><br>
</div>
<div>lisa.chan(i) => gain[i] => dac.right </div>
<div><br>
</div>
<div><br>
</div>
<div>and so forth.<br>
<div><br>
<div style="font-family:Tahoma; font-size:13px">
<div style="font-family:Tahoma; font-size:13px">
<div class="BodyFragment"><font size="2">
<div class="PlainText">                <br>
***********<br>
Van Stiefel</div>
<div class="PlainText">Director, Center for Music Technology</div>
<div class="PlainText">West Chester University</div>
<div class="PlainText">Assistant Professor, Department of Theory and Composition<br>
Swope Music Building </div>
<div class="PlainText">College of Visual and Performing Arts<br>
West Chester, PA 19383</div>
</font></div>
</div>
</div>
</div>
<div style="font-family: Times New Roman; color: #000000; font-size: 16px">
<hr tabindex="-1">
<div id="divRpF109998" style="direction: ltr; "><font face="Tahoma" size="2" color="#000000"><b>From:</b> chuck-users-bounces@lists.cs.princeton.edu [chuck-users-bounces@lists.cs.princeton.edu] on behalf of Kassen [signal.automatique@gmail.com]<br>
<b>Sent:</b> Sunday, April 10, 2011 9:04 AM<br>
<b>To:</b> ChucK Users Mailing List<br>
<b>Subject:</b> Re: [chuck-users] record and play multiple LiSa objects on multiple channels<br>
</font><br>
</div>
<div></div>
<div>Harald;<br>
<br>
<div class="gmail_quote">
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
works correctly on all three versions, as you see also adc.chan(0) =><br>
dac.chan(0) works .<br>
<div class="im"><br>
</div>
</blockquote>
<div><br>
Ok, so then it's a LiSa issue and hopefully Dan will have a moment to look into it. I think Dan was experimenting with multi-channel looping and this seems to be a side-effect of that.
<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
I got confused when looking at sndbuf's code. lisa should be similar.<br>
How is the multichannel code supposed to work?<br>
LiSaMulti_tick didn't change from 1.2.1.3 to current, so the problem<br>
must be elsewhere.<br>
<div class="im"><br>
</div>
</blockquote>
<div><br>
Hmmmm. I think LiSa is quite independent of SndBuf and is instead based on a Max/Msp tool.
<br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
somewhere would make a gain stereo. Note that only the 2, 2 and the<br>
UGen_Stereo make the difference.<br>
Also from my first impressions, LiSa, sndbuf etc. don't use UGen_Multi<br>
or UGen_Stereo. So for such things they seem to be missing features.<br>
I think, one problem is that the number of channels is an attribute of<br>
a type. Most things in chuck are dynamic, so making the number of<br>
channels fixed when creating the type object doesn't make sense to me.<br>
<div class="im"><br>
</div>
</blockquote>
<div class="im"><br>
Yes, that sounds sensible to me. <br>
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
ok, the voices are a special thing, I didn't take them into account.<br>
</blockquote>
<div><br>
LiSa is really way more involved than the rest, more powerful but also a bit more tricky to understand.<br>
 </div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
C++'s polymorphic functions are often a problematic concept. Perhaps<br>
rateVoice would be a better name. Or e.g. my_lisa.voice(v).rate(2.0)<br>
would make it more clear.<br>
</blockquote>
<div><br>
Yes, but at the expense of uniformity. Personally I'm very much in favour of keeping things uniform as that means there are less surprises and there is less to learn. I can see how this would be a topic for debate though.
<br>
</div>
<blockquote class="gmail_quote" style="margin:0pt 0pt 0pt 0.8ex; border-left:1px solid rgb(204,204,204); padding-left:1ex">
<br>
<br>
btw. should I've written some of the low level developer topics to chuck-dev?<br>
I wrote it here, because chuck-dev seems to be dead.<br>
Where do the devs meet?<br>
<div>
<div></div>
<br>
</div>
</blockquote>
<div><br>
I feel all of this should be fine here. The dev-list is where the dev discussion "should" go but for some reason it isn't. I don't know. :-)<br>
<br>
 Yours,<br>
Kas.<br>
</div>
</div>
</div>
</div>
</div>
</div>
</body>
</html>