View Single Post
Old 07-22-2009, 01:23 PM   #5
liteon
Human being with feelings
 
liteon's Avatar
 
Join Date: Apr 2008
Posts: 510
Default exponential frequency mapping

y range: 20-20000hz
---

x range: 0-127
Code:
y=(exp((16+x*0.945699)*0.0573250666192694)*8.17742)|0;
x range: 0-100
Code:
y=(exp((16+x*1.20103)*0.0573250666192694)*8.17742)|0;
x range: 0-1
Code:
//y=exp(x*log(20000/20)+log(20));
y=exp(x*6.90775527898214+2.99573227355399);
y|=0;
graphic:
http://img188.**************/img188/6396/expplot.png

----
lubomir

Last edited by liteon; 08-13-2009 at 07:43 PM.
liteon is offline   Reply With Quote