Re: musictrack properties
Re: musictrack properties
- Subject: Re: musictrack properties
- From: Bill Stewart <email@hidden>
- Date: Tue, 17 Jun 2003 00:24:12 -0700
On Tuesday, June 17, 2003, at 12:10 AM, Christopher Corbell wrote:
I'm curious about some issues relating to track properties as well.
The ID definitions (near the Get/Set methods in MusicPlayer.h) define 5
properties:
kSequenceTrackProperty_LoopInfo
kSequenceTrackProperty_OffsetTime
kSequenceTrackProperty_MuteStatus
kSequenceTrackProperty_SoloStatus
kSequenceTrackProperty_AutomatedParameters
- The header comments also mention a text property. Does this property
actually exist, and is there an API to set it?
Ummm.. nope, must have missed this one...
- The loop property works great except that it does not seem to be in
any
way converted to MIDI or exported with SMF export. Should any of these
properties affect MIDI export, or is the MusicTrack property a
MusicPlayer-specific
thing?
The MIDI export just exports the events in the track and not the loop -
that could be considered a feature enhancement I guess
- Should the solo property work if tracks are addressing different
nodes
(e.g. different DLS units)?
Yes - soloing or muting should alter the track's event scheduling
behaviour - so you shouldn't see any events from a muted or non-soloed
track (if there is a soloed track of course)... to that track's
desintation (whether an AU or a MIDIEndpoint)
Bill
Thanks for any help. This API is fantastic, my app owes a lot to it.
Christopher
On Monday, June 16, 2003, at 09:55 PM, Bill Stewart wrote:
There are some track properties in MusicPlayer.h (I think they are
down the bottom of the file :)
The Player currently only supports beats for time - if you set the
tempo to 60 (bpm), then a beat is a second..., etc...
Bill
On Monday, June 16, 2003, at 07:04 PM, brucecoughlin wrote:
Where the heck do you find info about MusicTrack properties???.
MusicPlayer.h implies you can set them, but I couldn't find all the
propertyID's and values.. For example, it took me awhile to realize
that
timestamp interpretation defaults to beats in a track. How do I
change the
behavior so that I can insert events at a certain time rather than a
certain
beat? The section "NOTES ON PROPERTIES" in MusicPlayer.h seemed
particularly
incomprehensible.
Other than that, MusicPlayer is working really well for my simple
needs...
TIA
-- mailto: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
______________________________________________________________________
____
==============================
iPiano
Music software for Mac OS X
http://www.machotshot.com/iPiano/
==============================
_______________________________________________
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.
--
mailto: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
________________________________________________________________________
__
_______________________________________________
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.