• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: Transport start/stop for Effect Units needed
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Transport start/stop for Effect Units needed


  • Subject: Re: Transport start/stop for Effect Units needed
  • From: "Paul Kellett" <email@hidden>
  • Date: Thu, 15 May 2003 10:48:32 +0200

Chris Reed <email@hidden> wrote:
>
> Couldn't you use the current host time and beat location callback to
> determine if playback is progressing? If the current location doesn't
> change, or the host returns an error for that call, then you can assume
> the transport is stopped.
>

That is ok (as Howard says - if you can rely on the reported location)
but watching to see if the current location is changing isn't always
good enough. If the transport is stopped at the start of bar 1, then
starts playing *from there*, the start location for each frame will be
something like:

1.000 transport is stopped
1.000
1.000
1.000
transport starts
1.000
1.003 <- you detect the location is now changing
1.006

So you missed the opportunity to do something exactly on the first beat
of the bar! This is really a problem when the user wants to select an
exact range and render the plug-in output to a file.



Paul.
_______________________________________________
coreaudio-api mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/coreaudio-api
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: Transport start/stop for Effect Units needed
      • From: Chris Rogers <email@hidden>
  • Prev by Date: Re: LAM HELP HELP HELP (Repost) Midi server crashing
  • Next by Date: WWDC Audio sessions
  • Previous by thread: Re: Transport start/stop for Effect Units needed
  • Next by thread: Re: Transport start/stop for Effect Units needed
  • Index(es):
    • Date
    • Thread