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