NAP
Public Member Functions | Public Attributes | List of all members
MidiInputComponent Class Reference

#include <midiinputcomponent.h>

Public Member Functions

 MidiInputComponent ()
 
- Public Member Functions inherited from Component
virtual void getDependentComponents (std::vector< rtti::TypeInfo > &components) const
 
virtual const rtti::TypeInfo getInstanceType () const =0
 
- Public Member Functions inherited from Resource
 Resource ()
 
- Public Member Functions inherited from Object
 Object ()
 
virtual ~Object ()
 
virtual bool init (utility::ErrorState &errorState)
 
virtual void onDestroy ()
 
 Object (Object &)=delete
 
Objectoperator= (const Object &)=delete
 
 Object (Object &&)=delete
 
Objectoperator= (Object &&)=delete
 

Public Attributes

std::vector< std::string > mPorts
 Property: 'Ports' Filter specifying input ports that will be listened to. Empty means all ports. *‍/. More...
 
std::vector< MidiValuemChannels
 Property: 'Channels' Filter specifying what midi channels to listen to. Empty means all channels. *‍/. More...
 
std::vector< MidiValuemNumbers
 Property: 'Numbers' Filter specifying what number bytes (like cc numbers) to listen to. Empty means all numbers. *‍/. More...
 
bool mNoteOn = true
 Property: 'NoteOn' Listen to this midi event type. *‍/. More...
 
bool mNoteOff = true
 Property: 'NoteOff' Listen to this midi event type. *‍/. More...
 
bool mAfterTouch = true
 Property: 'Aftertouch' Listen to this midi event type. *‍/. More...
 
bool mControlChange = true
 Property: 'ControlChange' Listen to this midi event type. *‍/. More...
 
bool mProgramChange = true
 Property: 'ProgramChange' Listen to this midi event type. *‍/. More...
 
bool mChannelPressure = true
 Property: 'ChannelPressure' Listen to this midi event type. *‍/. More...
 
bool mPitchBend = true
 Property: 'PitchBend' Listen to this midi event type. *‍/. More...
 
- Public Attributes inherited from Object
std::string mID
 Property: 'mID' unique name of the object. Used as an identifier by the system. More...
 

Additional Inherited Members

- Static Public Member Functions inherited from Object
static bool isIDProperty (rtti::Instance &object, const rtti::Property &property)
 

Description

Component that filters incoming midi messages and makes them available for other components by emitting a signal.

Inheritance diagram for MidiInputComponent:
[legend]
Collaboration diagram for MidiInputComponent:
[legend]

Constructor & Destructor Documentation

◆ MidiInputComponent()

Member Data Documentation

◆ mAfterTouch

bool mAfterTouch = true

Property: 'Aftertouch' Listen to this midi event type. *‍/.

◆ mChannelPressure

bool mChannelPressure = true

Property: 'ChannelPressure' Listen to this midi event type. *‍/.

◆ mChannels

std::vector<MidiValue> mChannels

Property: 'Channels' Filter specifying what midi channels to listen to. Empty means all channels. *‍/.

◆ mControlChange

bool mControlChange = true

Property: 'ControlChange' Listen to this midi event type. *‍/.

◆ mNoteOff

bool mNoteOff = true

Property: 'NoteOff' Listen to this midi event type. *‍/.

◆ mNoteOn

bool mNoteOn = true

Property: 'NoteOn' Listen to this midi event type. *‍/.

◆ mNumbers

std::vector<MidiValue> mNumbers

Property: 'Numbers' Filter specifying what number bytes (like cc numbers) to listen to. Empty means all numbers. *‍/.

◆ mPitchBend

bool mPitchBend = true

Property: 'PitchBend' Listen to this midi event type. *‍/.

◆ mPorts

std::vector<std::string> mPorts

Property: 'Ports' Filter specifying input ports that will be listened to. Empty means all ports. *‍/.

◆ mProgramChange

bool mProgramChange = true

Property: 'ProgramChange' Listen to this midi event type. *‍/.