• 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
Host transport start/stop and song position
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Host transport start/stop and song position


  • Subject: Host transport start/stop and song position
  • From: Hans Möller <email@hidden>
  • Date: Fri, 9 Jan 2004 13:42:08 +0100

Hello

I have some questions regarding the hosts songs position and hosts transport notification.

1) Does it exist any way to get the information if the host transport is moving(playing) or not(stopped). I have looked in the documentation and also in the mailing list archive but i cant find any clear answer on this question. I dont want to use beat(beatAndTempoProc) information to detect if the host is playing or not because then i will miss some samples(comparing old song position with new song position).

2) Why is the outCurrentBeat(beatAndTempoProc) start (song position 0 in the host) different depending on host. For for example in Logic 6 the outCurrentBeat start position is 0.0 and in Digital Performer 4 it is 1.0, why isn't this the same?

3) outDeltaSampleOffsetToNextBeat(HostCallback_GetMusicalTimeLocation) seems to give very strange results in Logic 6. The value is switching between 0 and a very large number, an example 4294967287, 0,0,4294967290 if you read the documentation...

Taken from the documentation
...outDeltaSampleOffsetToNextBeat Will contain the number of samples until the next whole beat from the start sample of the current rendering buffer....

Is this correct behavior?

4) Is there any easy way to get the song position in samples(without converting)? I cant use AudioTimeStamp.mSampleTime because this has nothing to do with the song position this increases even if host transport is not moving(Logic 6).

Regards
Hans Mvller
_______________________________________________
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: Host transport start/stop and song position
      • From: Marc Poirier <email@hidden>
  • Prev by Date: Re: nib files in Sample AU
  • Next by Date: Re: HALOutputUnit
  • Previous by thread: Re: AUValidation 2
  • Next by thread: Re: Host transport start/stop and song position
  • Index(es):
    • Date
    • Thread