]> ruin.nu Git - moosique.git/blobdiff - Moosique.java
changes to instrument and channel combos..
[moosique.git] / Moosique.java
index b79fa67f93e9abd1f3163495b55a789e4e345b04..c10043616f76d847484e05af0ebb896861f36d70 100644 (file)
@@ -119,6 +119,14 @@ public class Moosique {
                return channels;
        }
 
+       /** 
+        * Returns the MidiChannels of the selected synthesizer.
+        * @return the available MidiChannels
+        */
+       public static MidiChannel getChannel(int i) {
+               return channels[i];
+       }
+
        /** 
         * Returns the currently active MidiChannel.
         * @return the active MidiChannel