First of all, I seem to have inadvertedly send the message below to the dev-list which wasn't my intention. Oops.<br><br>Secondly, sorry to reply to my own message and breach nettiquette but I found a second issue when trying to work around the one posted before.
<br><br>For some reason LiSa.duration() is write only. This is inconvenient when trying to work around this bug as it makes it impossible to go like this;<br><br>l.playPos( l.duration() - samp);<br><br>I can't realy see why duration would be write only while I can think of reasons to want to check the max duration of a buffer (aside from the posted bug).
<br><br>Could a readable version of .duration perhaps be considdered for a future update?<br><br>Yours,<br>Kas.<br><br><div><span class="gmail_quote">On 8/8/07, <b class="gmail_sendername">Kassen</b> <<a href="mailto:signal.automatique@gmail.com">
signal.automatique@gmail.com</a>> wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">Hi list, Hi Dan!<br><br><br>I have a slight issue with LiSa when she's supposed to play backwards. Let's assume for a second we want to record a single piano note, then play it back *once* in reverse;
<br>----------------------
<br>Rhodey r => LiSa l => dac;<br><br>second => l.duration;<br><br>1 => l.record;<br>1 => r.noteOn;<br><br>second => now;<br><br>0 => l.record;<br><br>0 => l.loop;<br>second => l.playPos;<br>-1 =>
l.rate;<br>1 => l.play;<br><br>second => now;<br>---------------<br><br>The above looks entirely correct to me, however, it won't generate a sound. for <br><br>.999::second => l.playPos;<br><br>it will work just fine and it will also work fine when .loop is turned on but turning loop on for one-shot samples isn't always convenient.
<br><br>I believe this to be a bug, probably related to the way in which LiSa determines when she is supposed to stop playing. When you, Dan, have a moment, could you please look into this?<br><br>Yours,<br>Kas.<br>
</blockquote></div><br>