X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Moosique.java;h=c10043616f76d847484e05af0ebb896861f36d70;hb=f7c0dc0b216c60d93f722b040878a51399679fc2;hp=b79fa67f93e9abd1f3163495b55a789e4e345b04;hpb=48b314acf130d347f3c0e01ca7d8e9e90b5eb3b5;p=moosique.git diff --git a/Moosique.java b/Moosique.java index b79fa67..c100436 100644 --- a/Moosique.java +++ b/Moosique.java @@ -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