nice!!<br><br>i did try the samplerate thing, but without your 0xff and /256 additions, it was sounding awful.<br><br>this sounds pretty rad now.  <br><br><br><br><div class="gmail_quote">On Tue, Oct 18, 2011 at 11:39 PM, martin brinkmann <span dir="ltr">&lt;<a href="mailto:mnb@martin-brinkmann.de">mnb@martin-brinkmann.de</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="border-left: 1px solid rgb(204, 204, 204); margin: 0pt 0pt 0pt 0.8ex; padding-left: 1ex;"><div class="im">On 10/18/2011 03:36 AM, hardoff goes bananas wrote:<br>
<br>
&gt; the main dilemma here is that the patch runs at normal samplerate and<br>
&gt; bitrate.<br>
<br>
</div>lower samplerates are possible with smaller numbers as input for the<br>
&quot;counter&quot;, and rounding to int<br>
<div class="im"><br>
&gt; i think to get the sound close to the original code examples, you&#39;re going<br>
&gt; to have to somehow force the calculations all to be done with 8bit floats,<br>
&gt; rather than pd&#39;s internal 32 bit (or whatever)<br>
&gt; I still can&#39;t get my head around how to do that.<br>
<br>
</div>i got it a little closer to the original after applying &amp; 0xff like in<br>
the javascript on the site, and dividing by 256 (instead of scaling by<br>
256 to fit into short), maybe there is still a lsb/msb issue though.<br>
<br>
bis denn!<br>
<font color="#888888">        martin<br>
</font><br>_______________________________________________<br>
<a href="mailto:Pd-list@iem.at">Pd-list@iem.at</a> mailing list<br>
UNSUBSCRIBE and account-management -&gt; <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>