drumstick  1.1.0
MIDIOutput Class Referenceabstract

MIDI OUT interface. More...

#include <rtmidioutput.h>

Inheritance diagram for MIDIOutput:

Public Slots

virtual void sendNoteOff (int chan, int note, int vel)=0
 sendNoteOff 0x8 More...
 
virtual void sendNoteOn (int chan, int note, int vel)=0
 sendNoteOn 0x9 More...
 
virtual void sendKeyPressure (int chan, int note, int value)=0
 sendKeyPressure 0xA More...
 
virtual void sendController (int chan, int control, int value)=0
 sendController 0xB More...
 
virtual void sendProgram (int chan, int program)=0
 sendProgram 0xC More...
 
virtual void sendChannelPressure (int chan, int value)=0
 sendChannelPressure 0xD More...
 
virtual void sendPitchBend (int chan, int value)=0
 sendPitchBend 0xE More...
 
virtual void sendSysex (const QByteArray &data)=0
 sendSysex More...
 
virtual void sendSystemMsg (const int status)=0
 sendSystemMsg More...
 

Public Member Functions

 MIDIOutput (QObject *parent=0)
 MIDIOutput constructor. More...
 
virtual ~MIDIOutput ()
 ~MIDIOutput destructor
 
virtual void initialize (QSettings *settings)=0
 initialize More...
 
virtual QString backendName ()=0
 backendName More...
 
virtual QString publicName ()=0
 publicName More...
 
virtual void setPublicName (QString name)=0
 setPublicName More...
 
virtual QStringList connections (bool advanced=false)=0
 connections More...
 
virtual void setExcludedConnections (QStringList conns)=0
 setExcludedConnections More...
 
virtual void open (QString name)=0
 open the MIDI port by name More...
 
virtual void close ()=0
 close the MIDI port
 
virtual QString currentConnection ()=0
 currentConnection More...
 

Detailed Description

MIDI OUT interface.

Examples:
vpiano.cpp.

Definition at line 78 of file rtmidioutput.h.

Constructor & Destructor Documentation

MIDIOutput ( QObject parent = 0)
inlineexplicit

MIDIOutput constructor.

Parameters
parent

Definition at line 87 of file rtmidioutput.h.

Member Function Documentation

virtual QString backendName ( )
pure virtual

backendName

Returns
plugin name

Referenced by BackendManager::outputBackendByName().

virtual QStringList connections ( bool  advanced = false)
pure virtual

connections

Returns
list of available MIDI ports
virtual QString currentConnection ( )
pure virtual

currentConnection

Returns
name of the current connection if it is opened
virtual void initialize ( QSettings *  settings)
pure virtual

initialize

Parameters
settings
virtual void open ( QString  name)
pure virtual

open the MIDI port by name

Parameters
name
virtual QString publicName ( )
pure virtual

publicName

Returns
MIDI port name
virtual void sendChannelPressure ( int  chan,
int  value 
)
pure virtualslot

sendChannelPressure 0xD

Parameters
chan
value
virtual void sendController ( int  chan,
int  control,
int  value 
)
pure virtualslot

sendController 0xB

Parameters
chan
control
value
virtual void sendKeyPressure ( int  chan,
int  note,
int  value 
)
pure virtualslot

sendKeyPressure 0xA

Parameters
chan
note
value
virtual void sendNoteOff ( int  chan,
int  note,
int  vel 
)
pure virtualslot

sendNoteOff 0x8

Parameters
chan
note
vel
virtual void sendNoteOn ( int  chan,
int  note,
int  vel 
)
pure virtualslot

sendNoteOn 0x9

Parameters
chan
note
vel
virtual void sendPitchBend ( int  chan,
int  value 
)
pure virtualslot

sendPitchBend 0xE

Parameters
chan
value
virtual void sendProgram ( int  chan,
int  program 
)
pure virtualslot

sendProgram 0xC

Parameters
chan
program
virtual void sendSysex ( const QByteArray &  data)
pure virtualslot

sendSysex

Parameters
data0xF0 ... 0xF7
virtual void sendSystemMsg ( const int  status)
pure virtualslot

sendSystemMsg

Parameters
status0xF
virtual void setExcludedConnections ( QStringList  conns)
pure virtual

setExcludedConnections

Parameters
conns

Referenced by BackendManager::refresh().

virtual void setPublicName ( QString  name)
pure virtual

setPublicName

Parameters
nameMIDI port name

Referenced by BackendManager::refresh().


The documentation for this class was generated from the following file: