I am playing a midi file using AVAudioSequencer and AVAudioUnitSampler. A midi file is being loaded into a MusicSequence object. The notes are being cut off as soon as another note is played essentially making it monophonic.
For example, a crash cymbal on beat 1 should sustain across the measure. However, the crash is cut off as soon as another note plays.
Can this be fixed so that notes will not be cut off?