Re: Parameter value convert
Re: Parameter value convert
- Subject: Re: Parameter value convert
- From: Mark's Studio <email@hidden>
- Date: Wed, 11 Feb 2009 23:30:04 +0100
Thank you all for your fast answers,
On 11/02/2009, at 23.20, Brett George wrote:
Mark's Studio wrote:
I know this might be a bit off topic.
i have a parameter that goes from -2400..0.. 2400
and i would like to convert it to 0.25..1..4
2400 = 4
1200 = 2
0 = 1
-1200 = 0.5
-2400 =0.25
Hopefully someone has a smart trick, i gone completely blank.
y=2^(x/1200)
Peter Mark
Mark's Recording Studio A/S
Lundeskovsvej 3
2900 Hellerup
Denmark
Tel: +45 35366078
Fax: +45 35366038
Mobile: +45 20416018
www.marks-studio.dk
email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden