<br><br><div><span class="gmail_quote">On 14/02/2008, <b class="gmail_sendername">Johan Nilsson</b> &lt;<a href="mailto:artbysnipers@hotmail.com">artbysnipers@hotmail.com</a>&gt; wrote:</span><blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;">




<div>Hi!<br>
&nbsp;<br>
I have been looking at Lisa a bit the last few days and cant really figure out how to load wave file samples into her. One way would be to chuck a SndBuf to her and let time pass, but it seems stupid because it is inefficiend in both code length, memmory useage and startup time. Is there any good way to load wave files to Lisas wave table?</div>
</blockquote><div><br><br>I fear that SndBuf, exactly as you suggest, is the way to go until we get the announced method of manually writing samples to it at certain locations. Once we get that there will be a method that&#39;s faster but will need more code.<br>
<br>If memory usage is a issue I suppose you could connect a external sample player to ChucK and LiSa&#39;s input.....<br><br>Using SndBuf does have the added advantage that you can use the strategy for zero-crossing detection I posted about a while back.<br>
</div><br><br>I hope that clarifies things?<br><br>Kas.(proud member of the LiSa fan-club)<br></div>