Re: GetParameterList in ableton Live problem
Re: GetParameterList in ableton Live problem
- Subject: Re: GetParameterList in ableton Live problem
- From: Doug Wyatt <email@hidden>
- Date: Thu, 27 Jul 2006 11:22:20 -0700
A parameter with kAudioUnitParameterFlag_DisplayLogarithmic must have
positive (non-zero) minimum and maximum values.
Doug
$ python
Python 2.4.3 (#1, Apr 7 2006, 10:54:33)
[GCC 4.0.1 (Apple Computer, Inc. build 5250)] on darwin
Type "help", "copyright", "credits" or "license" for more information.
>>> from math import *
>>> log(0)
Traceback (most recent call last):
File "<stdin>", line 1, in ?
OverflowError: math range error
On Jul 27, 2006, at 11:07 , Dave Hoskins wrote:
Got it! Very obscure so I'll post it, because I still don't get it.
If I added 'kAudioUnitParameterFlag_DisplayLogarithmic' (copy and
paste additions - yeah I know) to my parameter flags I got a
continuous flood of NaN's to my AU::SetParameter function!
Is this because I don't have a 'GetParameterValueStrings' function?
How could it go so wrong.
Dave H
--
Doug Wyatt
Core Audio, Apple
_______________________________________________
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