![]() |
MIDI2LR 6.1.0.0
MIDI2LR is an application that interfaces MIDI controllers with Lightroom 6+/CC Classic. It processes MIDI input into develop parameter updates and photo actions, and sends MIDI output when parameters are changed for motorized feedback (on controllers that have motorized faders). A listing of available LightRoom commands is in the Wiki. Assistance on the code and design is welcome.
|
#include <MIDISender.h>
Public Member Functions | |
MidiSender (const MidiSender &other)=delete | |
MidiSender (Devices &devices) noexcept | |
MidiSender (MidiSender &&other) noexcept=delete | |
~MidiSender () | |
MidiSender & | operator= (const MidiSender &other)=delete |
MidiSender & | operator= (MidiSender &&other) noexcept=delete |
void | RescanDevices () |
void | Send (rsj::MidiMessageId id, int value) const |
void | Start () |
Private Member Functions | |
void | InitDevices () |
void | SendControllerEvent (rsj::MidiMessageId id, int value) const |
void | SendNoteOn (rsj::MidiMessageId id, int value) const |
void | SendNrpn (rsj::MidiMessageId id, int value) const |
void | SendPitchWheel (rsj::MidiMessageId id, int value) const |
bool | ShouldOpenDevice (const std::string &devname, const auto &open_device) |
Private Attributes | |
Devices & | devices_ |
std::vector< std::unique_ptr< juce::MidiOutput > > | output_devices_ |
|
inline |
|
delete |
|
deletenoexcept |
|
private |
|
delete |
|
deletenoexcept |
void MidiSender::RescanDevices | ( | ) |
void MidiSender::Send | ( | rsj::MidiMessageId | id, |
int | value | ||
) | const |
|
private |
|
private |
|
private |
|
private |
|
private |
void MidiSender::Start | ( | ) |
|
private |
|
private |