Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Matt Long
Because you can't. These are the only properties you can animate: http://developer.apple.com/DOCUMENTATION/Cocoa/Conceptual/CoreAnimation_guide/Articles/AnimProps.html -Matt On Jan 16, 2009, at 10:46 AM, Adam Venturella wrote: Basically, I was thinking: Hey, why can't I use CABasicAnimation

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Adam Venturella
So something like this would be better served with an NSTimer I take it? On Fri, Jan 16, 2009 at 9:54 AM, Matt Long matt.l...@matthew-long.com wrote: Because you can't. These are the only properties you can animate:

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Matt Long
Yes. It's what they're made for. What are you trying to do? -Matt On Jan 16, 2009, at 11:23 AM, Adam Venturella wrote: So something like this would be better served with an NSTimer I take it? On Fri, Jan 16, 2009 at 9:54 AM, Matt Long matt.l...@matthew- long.com wrote: Because you

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Adam Venturella
Set the volume on an Audio Queue (make a fade out/fade in) So on the interval, I will call: AudioQueueSetParameter (queueObject, kAudioQueueParam_Volume, value ); Where value is 0-1 On Fri, Jan 16, 2009 at 10:34 AM, Matt Long matt.l...@matthew-long.com wrote: Yes. It's what they're made

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Matt Long
There are likely some Core Audio gurus around the list that can help you with that. I'm not terribly familiar with it. I know you can use QTKit to load and play back audio files. The QTMovie object has a function called - (void)setVolume:(float)volume. -Matt On Jan 16, 2009, at 11:39 AM,

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Kyle Sluder
On Fri, Jan 16, 2009 at 1:39 PM, Adam Venturella aventure...@gmail.com wrote: Set the volume on an Audio Queue (make a fade out/fade in) Are you sure you want to tie automation of an audio queue property to a timeline other than the one the audio queue follows? Since audio queues have a

Re: CABasicAnimation : Can I run a CABasicAnimation and get it's updated values on it's progress?

2009-01-16 Thread Adam Venturella
AudioQueueTimelineRef does not seem like it would let me make calls against it, so much as receive notifications from it. Do I have the wrong timeline or am I misunderstanding AudioQueueTimelineRef or am I completely missing the timeline you are talking about? On Fri, Jan 16, 2009 at 12:56 PM,