Re: Problems Fading Out Music
Re: Problems Fading Out Music
- Subject: Re: Problems Fading Out Music
- From: Graham Cox <email@hidden>
- Date: Wed, 27 Jan 2010 09:35:17 +1100
On 27/01/2010, at 9:24 AM, Graham Cox wrote:
>
> On 27/01/2010, at 9:18 AM, Chunk 1978 wrote:
>
>> i just realized that this formula doesn't work with negative numbers.
>> for example: shifting a pitch down one octave over a duration from
>> 0.0 to -0.5, or panning a source with a duration from center at 0.0 to
>> the left -1.0.
>>
>> any advice?
>
>
> Yes it does. You must have made a mistake implementing it.
I just realised why you think it doesn't. It's not the DURATION that needs to be negative, it's the values. Time only ever progresses in one direction, as far as we know, therefore the time values are always +ve. The value may freely be negative, which after all is what you are controlling.
--Graham
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden