uk.org.toot.midi.core.channel
Class ChannelWriteMidiOutput

java.lang.Object
  extended by uk.org.toot.midi.core.DefaultMidiOutput
      extended by uk.org.toot.midi.core.channel.ChannelWriteMidiOutput
All Implemented Interfaces:
MidiChannelWriterProvider, MidiOutput, MidiPort, MidiTransport

public class ChannelWriteMidiOutput
extends DefaultMidiOutput
implements MidiChannelWriterProvider

This implementation class is intended to be used by a Midi controller, such as a virtual keyboard or neck controller. It allows writing Midi channel messages with a rich channel-based write API.

Author:
Steve Taylor

Constructor Summary
ChannelWriteMidiOutput(java.lang.String name)
           
 
Method Summary
 MidiChannelWriter getChannelWriter(int chan)
          Return a MidiChannelWriter for the specified channel index.
 
Methods inherited from class uk.org.toot.midi.core.DefaultMidiOutput
addConnectionTo, getConnectionCount, getName, removeConnectionTo, setName, toString, transport
 
Methods inherited from class java.lang.Object
equals, getClass, hashCode, notify, notifyAll, wait, wait, wait
 

Constructor Detail

ChannelWriteMidiOutput

public ChannelWriteMidiOutput(java.lang.String name)
Method Detail

getChannelWriter

public MidiChannelWriter getChannelWriter(int chan)
Description copied from interface: MidiChannelWriterProvider
Return a MidiChannelWriter for the specified channel index.

Specified by:
getChannelWriter in interface MidiChannelWriterProvider


Copyright © 2004, 2005, 2006, 2007 Steve Taylor. All Rights Reserved.