All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | Static Public Member Functions | List of all members
HiseEvent Class Reference

Public Member Functions

 HiseEvent ()
 
 HiseEvent (const MidiMessage &message)
 
bool isIgnored () const noexcept
 
void ignoreEvent (bool shouldBeIgnored) noexcept
 
void setCoarseDetune (int semiToneDetune) noexcept
 
int getCoarseDetune () const noexcept
 
void setFineDetune (int newCents) noexcept
 
int getFineDetune () const noexcept
 
double getPitchFactorForEvent () const
 
void setGain (int decibels) noexcept
 

Static Public Member Functions

static void clear (HiseEvent *eventToClear, int numEvents=1)
 

Detailed Description

This is a replacement of the standard midi message with more data.

Constructor & Destructor Documentation

HiseEvent ( )
inline

Creates an empty Hise event.

HiseEvent ( const MidiMessage &  message)

Creates a Hise event from a MIDI message.

Member Function Documentation

static void clear ( HiseEvent eventToClear,
int  numEvents = 1 
)
inlinestatic

This clears the events using the fast memset operation.

int getCoarseDetune ( ) const
inlinenoexcept

Returns the coarse detune amount in semitones.

int getFineDetune ( ) const
inlinenoexcept

Returns the fine detune amount int cents.

double getPitchFactorForEvent ( ) const

Returns a ready to use pitchfactor (from 0.5 ... 2.0)

void ignoreEvent ( bool  shouldBeIgnored)
inlinenoexcept

Ignores the event. Ignored events will not be processed, but remain in the buffer (they are not cleared).

bool isIgnored ( ) const
inlinenoexcept

Checks if the message was marked as ignored (by a script).

void setCoarseDetune ( int  semiToneDetune)
inlinenoexcept

Sets the coarse detune amount in semitones.

void setFineDetune ( int  newCents)
inlinenoexcept

Sets the fine detune amount in cents.

void setGain ( int  decibels)
inlinenoexcept

Sets the gain in decibels for this note.

©2017 HISE. This documentation is autogenerated from the HISE source code using Doxygen.