]> ruin.nu Git - moosique.git/blob - Moosique.java
*** empty log message ***
[moosique.git] / Moosique.java
1 import javax.sound.midi.*;
2 import java.io.*;
3
4 /**
5  * Moosique - The trackers approach to MIDI
6  * 
7  * Main class that handles initiation, IO and sound FX.
8  * 
9  * @author  Andersson, Andreen, Lanneskog, Pehrson
10  * @version 1
11  */
12  
13 public class Moosique {
14
15         private static MooGUI gui;
16         private static MooSequence seq;
17         private static String filename;
18
19         /** 
20          * Runs the application.
21          */
22         public static void main (String[] args) {
23
24         }
25
26         /** 
27          * Returns a pointer to the current sequence.
28          * @return the current sequence
29          */
30         public static MooSequence getSequence() {
31         
32         }
33
34         /** 
35          * Starts playback of the current sequence.
36          */
37         public static void play() {
38         
39         }
40
41         /** 
42          * Pauses playback of the current sequence.
43          */
44         public static void pause() {
45         
46         }
47
48         /** 
49          * Stops playback of the current sequence.
50          */
51         public static void stop() {
52         
53         }
54
55         /** 
56          * Rewinds the current sequence the given number of measures.
57          * @param measures      the number of measures to rewind
58          */
59         public static void rewind(int measures) {
60         
61         }
62
63         /** 
64          * Fast forwards the current sequence the given number of measures.
65          * @param measures      the number of measures to fast forward
66          */
67         public static void forward(int measures) {
68         
69         }
70
71         /** 
72          * Loads the MooSequence in the given file.
73          * @param filename      the filename to use
74          */
75         public static void load(String filename) throws IOException {
76         
77         }
78
79         /** 
80          * Saves the current sequence to the given filename
81          * @param filename      the filename to use
82          */
83         public static void saveAs(String filename) throws IOException {
84                 
85         }
86
87         /** 
88          * Saves the current sequence to the previously given filename.
89          */
90         public static void save() throws IOException {
91         
92         }
93
94         /** 
95          * Exports the current sequence to a standard MIDI file.
96          * @param filename      the filename to use
97          */
98         public static void exportMIDI(String filename) throws IOException {
99         
100         }
101 }