Great!  Unfortunately, I&#39;m not entirely sure how to realize this in Pd.  Can you help me out with a little example?<br><br>Thanks<br><br><div class="gmail_quote">On Tue, Nov 2, 2010 at 2:37 PM, Ludwig Maes <span dir="ltr">&lt;<a href="mailto:ludwig.maes@gmail.com">ludwig.maes@gmail.com</a>&gt;</span> wrote:<br>
<blockquote class="gmail_quote" style="margin: 0pt 0pt 0pt 0.8ex; border-left: 1px solid rgb(204, 204, 204); padding-left: 1ex;">So you want amplitude &#39;a&#39; dependant quantization size &#39;q&#39; ? take your<br>
chosen q(a); in your example it seems you want a simple line:<br>
q=q(0)-k*a;<br>
define f(a) as integral of 1/q from a=0 to a; also calculate the<br>
inverse of f(a) i.e. a(f);<br>
<br>
now for each sample do: out=a(round(f(in))) where round is any floor<br>
or the like...<br>
<br>
have fun!<br>
<br>
ps:<br>
<br>
in your example: q=q0-k*a with for example q(0)=0.001 and<br>
q(0.8)=0.0001: q:=0.001-0.0009/0.8*a<br>
then f=2558.427881-1111.111111*ln(10.-9.*a)<br>
and inverse=easy<br>
<div><div></div><div class="h5"><br>
<br>
On 2 November 2010 19:20, Ludwig Maes &lt;<a href="mailto:ludwig.maes@gmail.com">ludwig.maes@gmail.com</a>&gt; wrote:<br>
&gt; This is pretty easy actually, I use such things mostly to guide my<br>
&gt; rhythmical quantization...<br>
&gt;<br>
&gt; On 2 November 2010 19:19, brandon zeeb &lt;<a href="mailto:zeeb.brandon@gmail.com">zeeb.brandon@gmail.com</a>&gt; wrote:<br>
&gt;&gt; This is even better.  If I could minimize the jumps around Y = 0.5 to -0.5<br>
&gt;&gt; It&#39;ll be exactly what I&#39;m looking for... or a start at least.<br>
&gt;&gt;<br>
&gt;&gt; Do you see what I mean now?  See how the amount of quantization changes with<br>
&gt;&gt; Y and a minimum quantization value?<br>
&gt;&gt;<br>
&gt;&gt; I think I&#39;m getting towards the answer now...<br>
&gt;&gt;<br>
&gt;&gt; --<br>
&gt;&gt; Brandon Zeeb<br>
&gt;&gt; Columbus, Ohio<br>
&gt;&gt;<br>
&gt;&gt;<br>
&gt;<br>
</div></div></blockquote></div><br><br clear="all"><br>-- <br><font style="font-family: garamond,serif;" size="2"><span style="color: rgb(102, 102, 102);">Brandon Zeeb</span><br style="color: rgb(192, 192, 192);"><font size="1"><span style="color: rgb(153, 153, 153);">Columbus, Ohio</span></font></font><br>
<br>