|
From: <Axe...@St...> - 2005-06-16 07:58:13
|
Hi, I'm trying to do some stuff with MidiShare and have some questions: Is there a fast/short way to copy a sequence? Something like: MidiSeqPtr seq1 = MidiNewSeq(); ... fill it with events ... MidiSeqPtr seq2 = MidiNewSeq(); (*seq2).first = MidiCopyEv((*seq1).first); (*seq2).last = MidiCopyEv((*seq1).last); This doesn't seem to work. I'm loading seq2 into the Player, play it, stop it. Then I load seq1 into the Player. This fails. What's wrong? How to do a correct real sequence copy (not just pointer copy)? Do I have to do something with the undef1/2 pointers? What are they for? An other question: Is there something wrong with the Player's time signature settings? A music peace in 6/8 time signature is said to be in 6/3. And instead of a 4/4 time signature the PlayerState variables say 4/2. Thanks for help Axel |