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 wrote:
>
> On 27/01/2010, at 9:24 AM, Graham Cox wrote:
>
>>
>> On 27/01/2010, at 9:18 AM, Chunk 1978 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 fro
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?
Y
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?
On Thu, Jan 7, 2010 at 7:48 PM, Chunk 1978 wrote:
> graham,
graham, thanks for your patients and for the detailed response! i was
able to immediately solve my broken logic after reading it.
thanks again.
On Thu, Jan 7, 2010 at 7:19 PM, Graham Cox wrote:
>
> On 08/01/2010, at 6:17 AM, Chunk 1978 wrote:
>
>> ok i'll use NSTimer instead of performSelector:
On 08/01/2010, at 6:17 AM, Chunk 1978 wrote:
> ok i'll use NSTimer instead of performSelector:withObject:afterDelay,
> it should be easier to track this way. however, i'm still having an
> issue with executing logic for the callback method:
>
> so i set the timer to fire ever 0.15 seconds with
ok i'll use NSTimer instead of performSelector:withObject:afterDelay,
it should be easier to track this way. however, i'm still having an
issue with executing logic for the callback method:
so i set the timer to fire ever 0.15 seconds with this:
currentVolume =+ targetVolume / (fadeDuration / 0.
On 07/01/2010, at 2:23 PM, Chunk 1978 wrote:
> unfortunately i'm developing for iPhone OS (which i should have stated
> earlier) so NSAnimation doesn't seem to be an option :-/
So just use NSTimer, within or without a wrapper object of your own devise.
Here's the basics of the code I used, whi
unfortunately i'm developing for iPhone OS (which i should have stated
earlier) so NSAnimation doesn't seem to be an option :-/
On Wed, Jan 6, 2010 at 10:12 PM, Graham Cox wrote:
>
> On 07/01/2010, at 11:55 AM, Chunk 1978 wrote:
>
>> i would *love* to find out how to fade the volume similar to ho
On 07/01/2010, at 11:55 AM, Chunk 1978 wrote:
> i would *love* to find out how to fade the volume similar to how core
> animation animates, by simply supplying a target and a duration and
> allowing it to work out the details with precisely and automatically,
> but i'm doubtful that's possible.
i'm attempting to fade out music by supplying a duration and a target
volume, but i'm running into complications.
for this example, the current playing volume is set at 1.0, i want to
fade the volume down to 0.5 over a duration of 4 seconds. this works
alright - it's not perfect because i'm using
11 matches
Mail list logo