• 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: MusicTrackMerge not working in 10.4.x?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: MusicTrackMerge not working in 10.4.x?


  • Subject: Re: MusicTrackMerge not working in 10.4.x?
  • From: "Brian Sheehan" <email@hidden>
  • Date: Wed, 25 Oct 2006 16:47:47 +0100

Hi List,

I'm having similar problems on 10.4.6 (the same code on 10.4.7 works
fine by the way, but I need to support 10.4.6)

Does anybody have any workarounds?

I have found that when creating new tracks with NewMusicTrackFrom(),
these tracks don't appear to be added to the sequence of the original
source track (although doing a CAShow of the tracks themselves works
fine). Also, when doing a MusicTrackCopyInsert() from the track
created with NewMusicTrackFrom(), nothing is copied.

Here's my code:

//This prints out my sequence, showing all the events in melody1Track,
as expected
CAShow(sequence);
require_noerr(err = NewMusicTrackFrom(melody1Track, 0,
kMusicTimeStamp_EndOfTrack, &melody1TrackCopy), FAIL);

//Note, CAShow(sequence) DOES NOT show the new track created above
CAShow(sequence);
//However, the new track is printed out as expected here
CAShow(melody1TrackCopy);

//Now I clear the original, which works fine
require_noerr(err = MusicTrackClear(melody1Track, 0,
kMusicTimeStamp_EndOfTrack), FAIL);
//But copy-insert doesn't copy any events to melody1Track in the following call
require_noerr(err = MusicTrackCopyInsert(melody1TrackCopy, 0,
kMusicTimeStamp_EndOfTrack, melody1Track, 0), FAIL);

Also, the following gives me a paramErr (-50):

MusicSequence copySequence;
require_noerr(err = MusicTrackGetSequence(melody1TrackCopy,
&copySequence), FAIL);

I'll file a bug report for the above.

any help is appreciated!

thanks,

Brian

On 10/4/06, Jason Staczek <email@hidden> wrote:
Hello,

I have an app that was originally built on 10.3.x that uses
MusicTrackMerge. I just tried running it on a 10.4.x machine, and
MusicTrackMerge now has no effect. Same with MusicTrackCopyInsert. No
events are copied to the destination track. I can't find any info on
these to suggest what might have changed. In the meantime, I've had to
go ahead and write my own versions of these.

Any assistance would be much appreciated.

Thanks,

Jason Staczek
www.chromasound.net
 _______________________________________________
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

_______________________________________________
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


References: 
 >MusicTrackMerge not working in 10.4.x? (From: "Jason Staczek" <email@hidden>)

  • Prev by Date: Re: AUs with Cocoa UIs (in Logic)
  • Next by Date: Loop detection in DP and Logic 7.2x
  • Previous by thread: MusicTrackMerge not working in 10.4.x?
  • Next by thread: setting property problem in audioengine
  • Index(es):
    • Date
    • Thread