Search in sources :

Example 1 with DeviceInquiry

use of de.mossgrabers.framework.daw.midi.DeviceInquiry in project DrivenByMoss by git-moss.

the class LaunchpadControlSurface method handleSysEx.

private void handleSysEx(final String data) {
    final int[] byteData = StringUtils.fromHexStr(data);
    final DeviceInquiry deviceInquiry = new DeviceInquiry(byteData);
    if (deviceInquiry.isValid())
        this.handleDeviceInquiryResponse(deviceInquiry);
}
Also used : DeviceInquiry(de.mossgrabers.framework.daw.midi.DeviceInquiry)

Example 2 with DeviceInquiry

use of de.mossgrabers.framework.daw.midi.DeviceInquiry in project DrivenByMoss by git-moss.

the class LaunchkeyMk3ControlSurface method handleSysEx.

private void handleSysEx(final String data) {
    final int[] byteData = StringUtils.fromHexStr(data);
    final DeviceInquiry deviceInquiry = new DeviceInquiry(byteData);
    if (deviceInquiry.isValid())
        this.handleDeviceInquiryResponse(deviceInquiry);
}
Also used : DeviceInquiry(de.mossgrabers.framework.daw.midi.DeviceInquiry)

Example 3 with DeviceInquiry

use of de.mossgrabers.framework.daw.midi.DeviceInquiry in project DrivenByMoss by git-moss.

the class LaunchkeyMiniMk3ControlSurface method handleSysEx.

private void handleSysEx(final String data) {
    final int[] byteData = StringUtils.fromHexStr(data);
    final DeviceInquiry deviceInquiry = new DeviceInquiry(byteData);
    if (deviceInquiry.isValid())
        this.handleDeviceInquiryResponse(deviceInquiry);
}
Also used : DeviceInquiry(de.mossgrabers.framework.daw.midi.DeviceInquiry)

Example 4 with DeviceInquiry

use of de.mossgrabers.framework.daw.midi.DeviceInquiry in project DrivenByMoss by git-moss.

the class PushControlSurface method handleSysEx.

/**
 * Handle incoming system exclusive data.
 *
 * @param data The data
 */
private void handleSysEx(final String data) {
    final int[] byteData = StringUtils.fromHexStr(data);
    final DeviceInquiry deviceInquiry = new DeviceInquiry(byteData);
    if (deviceInquiry.isValid()) {
        this.handleDeviceInquiryResponse(deviceInquiry);
        return;
    }
    // Color palette entry message?
    if (this.configuration.isPush2() && isPush2Data(byteData) && PaletteEntry.isValid(byteData))
        this.handleColorPaletteMessage(byteData);
}
Also used : DeviceInquiry(de.mossgrabers.framework.daw.midi.DeviceInquiry)

Example 5 with DeviceInquiry

use of de.mossgrabers.framework.daw.midi.DeviceInquiry in project DrivenByMoss by git-moss.

the class SLMkIIIControlSurface method handleSysEx.

/**
 * Handle incoming system exclusive data.
 *
 * @param data The data
 */
private void handleSysEx(final String data) {
    final int[] byteData = StringUtils.fromHexStr(data);
    final DeviceInquiry deviceInquiry = new DeviceInquiry(byteData);
    if (deviceInquiry.isValid())
        this.handleDeviceInquiryResponse(deviceInquiry);
}
Also used : DeviceInquiry(de.mossgrabers.framework.daw.midi.DeviceInquiry)

Aggregations

DeviceInquiry (de.mossgrabers.framework.daw.midi.DeviceInquiry)5