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"><<a href="mailto:mnb@martin-brinkmann.de">mnb@martin-brinkmann.de</a>></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>
> the main dilemma here is that the patch runs at normal samplerate and<br>
> bitrate.<br>
<br>
</div>lower samplerates are possible with smaller numbers as input for the<br>
"counter", and rounding to int<br>
<div class="im"><br>
> i think to get the sound close to the original code examples, you're going<br>
> to have to somehow force the calculations all to be done with 8bit floats,<br>
> rather than pd's internal 32 bit (or whatever)<br>
> I still can't get my head around how to do that.<br>
<br>
</div>i got it a little closer to the original after applying & 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 -> <a href="http://lists.puredata.info/listinfo/pd-list" target="_blank">http://lists.puredata.info/listinfo/pd-list</a><br>
<br></blockquote></div><br>