X-Git-Url: https://ruin.nu/git/?a=blobdiff_plain;f=Moosique.java;h=669d2361bdfd8b893d27ea0d4f811a267625ebf2;hb=0b4a03f1de77a6c0681d84fba600151f30eb724a;hp=bb90b765b69492f5d2da3a6334e507de62f46825;hpb=3000e81d9a4a2548bcf4a25175e7b72bcfb66d97;p=moosique.git diff --git a/Moosique.java b/Moosique.java index bb90b76..669d236 100644 --- a/Moosique.java +++ b/Moosique.java @@ -78,7 +78,7 @@ public class Moosique { } /** - * Returns a pointer to the current sequence. + * Returns the current sequence. * @return the current sequence */ public static Sequence getSequence() { @@ -86,7 +86,15 @@ public class Moosique { } /** - * Returns a pointer to the MidiChannels of the selected synthesizer. + * Returns the current sequencer. + * @return the current sequencer + */ + public static Sequencer getSequencer() { + return sequencer; + } + + /** + * Returns the MidiChannels of the selected synthesizer. * @return the available MidiChannels */ public static MidiChannel[] getChannels() { @@ -94,7 +102,7 @@ public class Moosique { } /** - * Returns a pointer to the currently active MidiChannel. + * Returns the currently active MidiChannel. * @return the active MidiChannel */ public static MidiChannel getActiveChannel() {