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