sorry, you're correct. i had an error in the code so it was wrongly implemented. it does indeed work with negative values. thanks again.
On Tue, Jan 26, 2010 at 5:35 PM, Graham Cox <graham....@bigpond.com> wrote: > > 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 (Cocoa-dev@lists.apple.com) 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: http://lists.apple.com/mailman/options/cocoa-dev/archive%40mail-archive.com This email sent to arch...@mail-archive.com