duration The duration of the event, in beats. Declarationvar duration: AVMusicTimeStamp { get set } See AlsoConfiguring a note-on eventmidiNotevelocityinstrumentIDgroupID