|
| | VirtualMidiInputDevice (Engine &, juce::String name, DeviceType, juce::String deviceID, bool isAllMIDIIns) |
| |
| | ~VirtualMidiInputDevice () override |
| |
| InputDeviceInstance * | createInstance (EditPlaybackContext &) override |
| | Creates an instance to use for a given playback context.
|
| |
| void | handleIncomingMidiMessage (const juce::MidiMessage &, MPESourceID) override |
| |
| juce::String | getSelectableDescription () override |
| | Subclasses must return a description of what they are.
|
| |
| void | setEnabled (bool) override |
| |
| void | loadProps () override |
| |
| void | saveProps () override |
| |
| juce::StringArray | getMIDIInputSourceDevices () const |
| |
| void | setMIDIInputSourceDevices (const juce::StringArray deviceIDs) |
| |
| void | toggleMIDIInputSourceDevice (const juce::String &deviceID) |
| |
| void | handleMessageFromPhysicalDevice (PhysicalMidiInputDevice &, const juce::MidiMessage &) |
| |
| DeviceType | getDeviceType () const override |
| |
| void | handleIncomingMidiMessage (juce::MidiInput *, const juce::MidiMessage &) override |
| |
| virtual void | handleIncomingMidiMessage (const juce::MidiMessage &, MPESourceID)=0 |
| |
| | MidiInputDevice (Engine &, juce::String type, juce::String name, juce::String deviceID) |
| |
| | ~MidiInputDevice () override |
| |
| bool | isMidi () const override |
| |
| MidiChannel | getChannelToUse () const noexcept |
| |
| void | setChannelToUse (int) |
| |
| int | getProgramToUse () const noexcept |
| |
| void | setProgramToUse (int) |
| |
| void | setBankToUse (int) |
| |
| int | getBankToUse () const |
| |
| void | setChannelAllowed (int midiChannel, bool) |
| |
| bool | isChannelAllowed (int midiChannel) const |
| |
| void | setNoteFilterRange (NoteFilterRange) |
| |
| NoteFilterRange | getNoteFilterRange () const |
| |
| void | setOverridingNoteVelocities (bool) |
| |
| bool | isOverridingNoteVelocities () const |
| |
| void | setManualAdjustmentMs (double) |
| |
| double | getManualAdjustmentMs () const |
| |
| void | setMinimumLengthMs (double) |
| |
| double | getMinimumLengthMs () const |
| |
| bool | isMPEDevice () const |
| | Returns true if the given device is an MPE device and so should always record incoming MIDI to Note Expression.
|
| |
| void | masterTimeUpdate (double time) override |
| | This is a bit of a hack but allows the time for MIDI devices to be set through the base class interface.
|
| |
| void | connectionStateChanged () |
| |
| bool | handleIncomingMessage (juce::MidiMessage &) |
| | Updates the timestamp of the message and handles sending it out to listeners.
|
| |
| void | addInstance (MidiInputDeviceInstanceBase *) |
| |
| void | removeInstance (MidiInputDeviceInstanceBase *) |
| |
| Clip * | addMidiAsTransaction (Edit &, EditItemID targetID, Clip *takeClip, juce::MidiMessageSequence, TimeRange markedRange, MergeMode, MidiChannel) |
| |
| void | handleIncomingMidiMessage (juce::MidiInput *, const juce::MidiMessage &) override |
| |
| RetrospectiveMidiBuffer * | getRetrospectiveMidiBuffer () const |
| |
| void | updateRetrospectiveBufferLength (double length) override |
| |
| double | getAdjustSecs () const |
| |
| juce::Array< AudioTrack * > | getDestinationTracks () |
| |
| MidiChannel | getMidiChannelFor (int rawChannelNumber) const |
| |
| MPESourceID | getMPESourceID () const |
| |
| | InputDevice (Engine &, juce::String type, juce::String name, juce::String deviceID) |
| |
| | ~InputDevice () override |
| |
| const juce::String & | getName () const |
| |
| const juce::String & | getType () const |
| |
| juce::String | getDeviceID () const |
| |
| bool | isTrackDevice () const |
| |
| juce::String | getAlias () const |
| | the alias is the name shown in the draggable input device components
|
| |
| void | setAlias (const juce::String &newAlias) |
| |
| virtual bool | isAvailableToEdit () const |
| |
| bool | isEnabled () const |
| |
| MonitorMode | getMonitorMode () const |
| |
| void | setMonitorMode (MonitorMode) |
| |
| | Selectable () |
| |
| virtual | ~Selectable () |
| |
| virtual void | selectionStatusChanged (bool isNowSelected) |
| | Can be overridden to tell this object that it has just been selected or deselected.
|
| |
| virtual void | changed () |
| | This should be called to send a change notification to any SelectableListeners that are registered with this object.
|
| |
| virtual void | selectableAboutToBeDeleted () |
| | Called just before the selectable is about to be deleted so any subclasses should still be valid at this point.
|
| |
| void | addListener (SelectableListener *) |
| |
| void | removeListener (SelectableListener *) |
| |
| void | addSelectableListener (SelectableListener *) |
| |
| void | removeSelectableListener (SelectableListener *) |
| |
| void | cancelAnyPendingUpdates () |
| | If changed() has been called, this will cancel any pending async change notificaions.
|
| |
| void | deselect () |
| |
| void | propertiesChanged () |
| |
| void | notifyListenersOfDeletion () |
| |
| WeakRef | getWeakRef () |
| |
|
| enum class | MergeMode { always
, never
, optional
} |
| |
| enum | DeviceType {
waveDevice
, trackWaveDevice
, physicalMidiDevice
, virtualMidiDevice
,
trackMidiDevice
} |
| | enum to allow quick querying of the device type. More...
|
| |
| enum class | MonitorMode { off
, automatic
, on
} |
| | Enum to describe monitor modes. More...
|
| |
| using | WeakRef = juce::WeakReference< Selectable > |
| |
| static void | setRetrospectiveLock (Engine &, const juce::Array< InputDeviceInstance * > &, bool lock) |
| |
| static void | initialise () |
| |
| static bool | isSelectableValid (const Selectable *) noexcept |
| | checks whether this object has been deleted.
|
| |
| void | handleNoteOn (juce::MidiKeyboardState *, int midiChannel, int midiNoteNumber, float velocity) override |
| |
| void | handleNoteOff (juce::MidiKeyboardState *, int midiChannel, int midiNoteNumber, float velocity) override |
| |
| void | timerCallback () override |
| |
| void | sendNoteOnToMidiKeyListeners (juce::MidiMessage &) |
| |
| void | loadMidiProps (const juce::XmlElement *) |
| |
| void | saveMidiProps (juce::XmlElement &) |
| |
| void | sendMessageToInstances (const juce::MidiMessage &, MPESourceID) |
| |
| std::atomic< double > | adjustSecs { 0 } |
| |
| double | manualAdjustMs = 0 |
| |
| double | minimumLengthMs = 0 |
| |
| bool | overrideNoteVels = false |
| |
| bool | eventReceivedFromDevice = false |
| |
| juce::BigInteger | disallowedChannels |
| |
| MidiChannel | channelToUse |
| |
| int | programToUse = 0 |
| |
| int | bankToUse = 0 |
| |
| NoteFilterRange | noteFilterRange |
| |
| MPESourceID | midiSourceID = createUniqueMPESourceID() |
| |
| std::unique_ptr< NoteDispatcher > | noteDispatcher |
| |
| std::vector< double > | lastNoteOns |
| |
| juce::CriticalSection | noteLock |
| |
| bool | keysDown [128] |
| |
| bool | keysUp [128] |
| |
| uint8_t | keyDownVelocities [128] |
| |
| juce::SharedResourcePointer< MidiKeyChangeDispatcher > | midiKeyChangeDispatcher |
| |
| juce::CriticalSection | instanceLock |
| |
| juce::Array< MidiInputDeviceInstanceBase * > | instances |
| |
| std::unique_ptr< RetrospectiveMidiBuffer > | retrospectiveBuffer |
| |
| std::atomic< bool > | enabled { false } |
| |
| MonitorMode | monitorMode = MonitorMode::automatic |
| |
| MonitorMode | defaultMonitorMode = MonitorMode::automatic |
| |
| bool | retrospectiveRecordLock = false |
| |