• 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
Logic + outDeltaSampleOffsetToNextBeat
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Logic + outDeltaSampleOffsetToNextBeat


  • Subject: Logic + outDeltaSampleOffsetToNextBeat
  • From: email@hidden
  • Date: Sun, 8 Jul 2007 13:29:50 -0400 (EDT)

hello,

it appears that logic sets incorrect values for outDeltaSampleOffsetToNextBeat. instead of giving the number of samples until the next beat, logic passes either 0 or a very large number, such as 4294967287.

someone sent an email about this to the list in 2004 about Logic 6. I've attached this email below. I'm using Logic Pro 7.2.3, and it seems this bug still hasn't been corrected. any ideas what's going on here? thanks a lot!

Joe

====================================================

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
 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:

This email sent to email@hidden

  • Prev by Date: Re: Basic sample code for FFT audio frequency spectrum?
  • Next by Date: auval question
  • Previous by thread: Re: Basic sample code for FFT audio frequency spectrum? Sarcasm Maybe? Thank You...
  • Next by thread: auval question
  • Index(es):
    • Date
    • Thread