Exemplo n.º 1
0
        public Track AddTrack(PatchType Instrumento)
        {
            Track t = new Track();

            t.Channel = (sbyte)(Tracks.Count + 1);
            t.AddNoteOnOffEvent(0, Track.NoteEvent.ProgramChange, (byte)Instrumento, 0);
            Tracks.Add(t);
            return(t);
        }