Carla Backend
Loading...
Searching...
No Matches
EngineControlEvent Struct Reference

#include <CarlaEngine.hpp>

Public Member Functions

uint8_t convertToMidiData (uint8_t channel, uint8_t data[3]) const noexcept
 

Public Attributes

EngineControlEventType type
 Control-Event type.
 
uint16_t param
 Parameter Id, midi bank or midi program.
 
int8_t midiValue
 Raw midi value, >= 0 if applicable, -1 otherwise.
 
float normalizedValue
 Parameter value, normalized to 0.0f<->1.0f.
 
bool handled
 Indicates that event was handled/received at least once.
 

Detailed Description

Engine control event.

Member Function Documentation

◆ convertToMidiData()

uint8_t EngineControlEvent::convertToMidiData ( uint8_t channel,
uint8_t data[3] ) const
noexcept

Convert this control event into MIDI data. Returns size.

Member Data Documentation

◆ type

EngineControlEventType EngineControlEvent::type

Control-Event type.

◆ param

uint16_t EngineControlEvent::param

Parameter Id, midi bank or midi program.

◆ midiValue

int8_t EngineControlEvent::midiValue

Raw midi value, >= 0 if applicable, -1 otherwise.

◆ normalizedValue

float EngineControlEvent::normalizedValue

Parameter value, normalized to 0.0f<->1.0f.

◆ handled

bool EngineControlEvent::handled

Indicates that event was handled/received at least once.


The documentation for this struct was generated from the following file: