Mailing Lists: Apple Mailing Lists

Image of Mac OS face in stamp
 
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: How to print individual MusicTrack events?



Create a MusicEventIterator for the track - then you go through the track with the iterator, have a look at each event in the track - if you find one you want to print, CAShow(myEvent) will print the event

You can also call CAShow(myTrack) or even CAShow(mySequence) to print the entire track or sequence respectively

Bill

On 23/03/2007, at 4:21 PM, Yevgeniy Goldberg wrote:

Hello,
Is there a way to extract and print individual Note and Control events from a MusicTrack?
For example: to extract and print the current time, this is used:

result = MusicPlayerGetTime (player, &time);
printf ("current time:%f beats,", time);

I need to do something similar with Note and Control events.

-Eugene 
 _______________________________________________
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

-- 
tel: +1 408 974 4056
__________________________________________________________________________
"Much human ingenuity has gone into finding the ultimate Before.
The current state of knowledge can be summarized thus:
In the beginning, there was nothing, which exploded" - Terry Pratchett
__________________________________________________________________________

 _______________________________________________
Do not post admin requests to the list. They will be ignored.
Coreaudio-api mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
http://lists.apple.com/mailman/options/coreaudio-api/email@hidden

This email sent to email@hidden

References: 
 >How to print individual MusicTrack events? (From: Yevgeniy Goldberg <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2007 Apple Inc. All rights reserved.