uk.org.toot.music.performance
Class Instrument
java.lang.Object
uk.org.toot.music.performance.Instrument
public class Instrument
- extends java.lang.Object
An Instrument is a program on a channel.
Most likely a MIDI program on a MIDI channel.
- Author:
- st
Constructor Summary |
Instrument(int channel,
int program)
|
Methods inherited from class java.lang.Object |
equals, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Instrument
public Instrument(int channel,
int program)
getChannel
public int getChannel()
- Returns:
- the channel
setChannel
public void setChannel(int channel)
- Parameters:
channel
- the channel to set
getProgram
public int getProgram()
- Returns:
- the program
setProgram
public void setProgram(int program)
- Parameters:
program
- the program to set
Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.