]> ruin.nu Git - moosique.git/blob - MooSequence.java
8b4c4e797a0cbb42c41dcf520f9d1b685048aee1
[moosique.git] / MooSequence.java
1 import javax.sound.midi.*;
2
3 /**
4  * Functional representation of a MIDI sequence.
5  * @author  Andersson, Andreen, Lanneskog, Pehrson
6  * @version 1.1
7  */
8  
9 public class MooSequence {
10
11         private Collection tracks;
12
13         /** 
14          * Creates a MooSequence with three tracks.
15          */
16         public MooSequence () {
17
18         }
19
20         /** 
21          * Returns a pointer to the specified track.
22          * @param track         the number of the track (0-31)
23          * @return the specified track
24          */
25         public MooTrack getTrack(int track) {
26         
27         }
28
29         /** 
30          * Returns the number of tracks in the current sequence.
31          * @return the number of the tracks
32          */
33         public int getNumberOfTracks() {
34         
35         }
36
37         /** 
38          * Creates a new track after the specified track.
39          * @param track         the number of the track (0-31)
40          */
41         public void addTrack(int track) {
42         
43         }
44
45         /** 
46          * Deletes the specified track.
47          * @param track         the number of the track (0-31)
48          */
49         public void deleteTrack(int track) {
50         
51         }
52
53         /** 
54          * Returns the Java Sequence object of the current sequence.
55          * @return a Sequence
56          */
57         public Sequence getSequence() {
58         
59         }
60
61         /** 
62          * Resets the solo and mute settings of all tracks.
63          */
64         public void activateTracks() {
65         
66         }
67 }