|
TracktionEngine
|
Create a software midi port on macOS. More...
#include <tracktion_MidiOutputDevice.h>
Public Member Functions | |
| SoftwareMidiOutputDevice (Engine &e, const juce::String &deviceName) | |
Public Member Functions inherited from engine::MidiOutputDevice | |
| MidiOutputDevice (Engine &, juce::MidiDeviceInfo) | |
| ~MidiOutputDevice () override | |
| juce::String | getDeviceTypeDescription () const override |
| juce::String | openDevice () override |
| void | closeDevice () override |
| void | setEnabled (bool) override |
| bool | isMidi () const override |
| virtual MidiOutputDeviceInstance * | createInstance (EditPlaybackContext &) |
| juce::String | prepareToPlay (Edit *, TimePosition) |
| bool | start () |
| void | stop () |
| juce::String | getNameForMidiNoteNumber (int note, int midiChannel, bool useSharp=true) const |
| bool | isConnectedToExternalController () const |
| void | setExternalController (ExternalController *) |
| sets the external controller messages are coming from | |
| void | removeExternalController (ExternalController *) |
| void | updateMidiTC (Edit *) |
| void | setSendingMMC (bool) |
| bool | isSendingMMC () const noexcept |
| bool | isSendingClock () const noexcept |
| void | setSendingClock (bool) |
| bool | isSendingTimecode () const noexcept |
| void | flipSendingTimecode () |
| void | setSendControllerMidiClock (bool b) noexcept |
| bool | isSendingControllerMidiClock () const noexcept |
| void | fireMessage (const juce::MidiMessage &) |
| void | sendNoteOffMessages () |
| TimeDuration | getDeviceDelay () const noexcept |
| int | getPreDelayMs () const noexcept |
| void | setPreDelayMs (int) |
| juce::StringArray | getProgramSets () const |
| int | getCurrentSetIndex () const |
| void | setCurrentProgramSet (const juce::String &) |
| juce::String | getCurrentProgramSet () const |
| juce::String | getProgramName (int programNumber, int bank) |
| bool | canEditProgramSet (int index) const |
| bool | canDeleteProgramSet (int index) const |
| juce::String | getBankName (int bank) |
| int | getBankID (int bank) |
| bool | areMidiPatchesZeroBased () |
| MidiProgramManager & | getMidiProgramManager () const |
Public Member Functions inherited from engine::OutputDevice | |
| OutputDevice (Engine &, juce::String name, juce::String deviceID) | |
| ~OutputDevice () override | |
| bool | isMidi () const override |
| bool | isTrackDevice () const override |
Additional Inherited Members | |
Static Public Member Functions inherited from engine::MidiOutputDevice | |
| static void | setControllerOffMessagesSent (Engine &, bool) |
| static bool | getControllerOffMessagesSent (Engine &) |
Public Attributes inherited from engine::MidiOutputDevice | |
| LevelMeasurer | levelMeasurer |
| Measures MIDI activity for outgoing messages so the UI can show a meter. | |
Protected Member Functions inherited from engine::MidiOutputDevice | |
| virtual void | sendMessageNow (const juce::MidiMessage &message) |
| void | loadProps () |
| void | saveProps () |
Protected Attributes inherited from engine::MidiOutputDevice | |
| juce::MidiDeviceInfo | deviceInfo |
| int | preDelayMillisecs = 0 |
| int | audioAdjustmentDelay = 0 |
| std::unique_ptr< MidiTimecodeGenerator > | timecodeGenerator |
| std::unique_ptr< MidiClockGenerator > | midiClockGenerator |
| bool | sendTimecode = false |
| bool | sendMidiClock = false |
| bool | playing = false |
| juce::String | programNameSet |
| double | sampleRate = 0 |
| std::unique_ptr< juce::MidiOutput > | outputDevice |
| juce::SpinLock | outputDeviceLock |
| bool | sendingMMC = false |
| bool | sendControllerMidiClock = false |
| bool | softDevice = false |
| ExternalController * | externalController = nullptr |
| juce::BigInteger | midiNotesOn |
| juce::BigInteger | channelsUsed |
| int | sustain = 0 |
| MidiMessageArray | midiMessages |
| juce::CriticalSection | noteOnLock |
Create a software midi port on macOS.
Not supported on other platforms
| engine::SoftwareMidiOutputDevice::SoftwareMidiOutputDevice | ( | Engine & | e, |
| const juce::String & | deviceName | ||
| ) |