VST 3 SDK  VST 3.6.14
SDK for developing VST Plug-in
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Properties Macros Groups Pages
vsteventshelper.h File Reference

Namespaces

 Steinberg
 
 Steinberg::Vst
 
 Steinberg::Vst::Helpers
 

Functions

template<class T >
boundTo (T minval, T maxval, T x)
 Helpers. More...
 
Event & init (Event &event, uint16 type, int32 busIndex=0, int32 sampleOffset=0, TQuarterNotes ppqPosition=0, uint16 flags=0)
 Initialized a Event. More...
 
ParamValue getMIDINormValue (uint8 value)
 Returns normalized value of a LegacyMIDICCOutEvent value [0, 127]. More...
 
int8 getMIDICCOutValue (ParamValue value)
 Returns LegacyMIDICCOut value [0, 127] from a normalized value [0., 1. More...
 
int16 getPitchBendValue (LegacyMIDICCOutEvent &e)
 Returns pitchbend value from a PitchBend LegacyMIDICCOut Event. More...
 
void setPitchBendValue (LegacyMIDICCOutEvent &e, ParamValue value)
 set a normalized pitchbend value to a LegacyMIDICCOut Event More...
 
float getNormPitchBendValue (LegacyMIDICCOutEvent &e)
 Returns normalized pitchbend value from a PitchBend LegacyMIDICCOut Event. More...
 
LegacyMIDICCOutEvent & initLegacyMIDICCOutEvent (Event &event, uint8 controlNumber, uint8 channel=0, int8 value=0, int8 value2=0)
 Initialized a LegacyMIDICCOutEvent. More...
 
Empty

Copyright ©2019 Steinberg Media Technologies GmbH. All Rights Reserved. This documentation is under this license.