All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Types | Public Member Functions | List of all members
RandomModulator Class Reference
Inheritance diagram for RandomModulator:
VoiceStartModulator LookupTableProcessor Modulator VoiceModulation Processor Modulation SafeChangeBroadcaster RestorableObject ControlledObject

Public Types

enum  Parameters
 
- Public Types inherited from Processor
enum  SpecialParameters
 
enum  InternalChains
 
- Public Types inherited from Modulation
enum  Mode { GainMode = 0, PitchMode }
 

Public Member Functions

float calculateVoiceStartValue (const HiseEvent &) override
 
TablegetTable (int=0) const override
 
- Public Member Functions inherited from VoiceStartModulator
virtual void startVoice (int voiceIndex) override
 
virtual ProcessorgetChildProcessor (int) overridefinal
 
virtual float getVoiceStartValue (int voiceIndex) const noexcept
 
virtual void handleHiseEvent (const HiseEvent &m) override
 
- Public Member Functions inherited from Modulator
 Modulator (MainController *m, const String &id)
 
virtual void setColour (Colour c)
 
void setPlotter (Plotter *targetPlotter)
 
void addValueToPlotter (float v) const
 
- Public Member Functions inherited from Processor
 Processor (MainController *m, const String &id_)
 
virtual ~Processor ()
 
virtual const Identifier getType () const =0
 
const Path getSymbol () const
 
void setSymbol (Path newSymbol)
 
void setAttribute (int parameterIndex, float newValue, juce::NotificationType notifyEditor)
 
virtual float getDefaultValue (int) const
 
virtual int getNumInternalChains () const
 
void enableConsoleOutput (bool shouldBeEnabled)
 
const String & getId () const
 
virtual const String getName () const
 
virtual void setBypassed (bool shouldBeBypassed, NotificationType notifyChangeHandler=dontSendNotification) noexcept
 
bool isBypassed () const noexcept
 
virtual void prepareToPlay (double sampleRate_, int samplesPerBlock_)
 
double getSampleRate () const
 
int getBlockSize () const
 
float getOutputValue () const
 
float getInputValue () const
 
void setEditorState (int state, bool isOn, NotificationType notifyView=sendNotification)
 
bool getEditorState (int state) const
 
void restoreCompleteEditorState (const XmlElement *storedState)
 
const Identifier getIdentifierForParameterIndex (int parameterIndex) const
 
int getNumParameters () const
 
void setIsOnAir (bool isBeingProcessedInAudioThread)
 
const CriticalSection & getDummyLockWhenNotOnAir () const
 
- Public Member Functions inherited from SafeChangeBroadcaster
void sendSynchronousChangeMessage ()
 
void addChangeListener (SafeChangeListener *listener)
 
void removeChangeListener (SafeChangeListener *listener)
 
void removeAllChangeListeners ()
 
void sendChangeMessage (const String &=String())
 
void sendAllocationFreeChangeMessage ()
 
- Public Member Functions inherited from ControlledObject
 ControlledObject (MainController *m)
 
const MainControllergetMainController () const noexcept
 
MainControllergetMainController () noexcept
 
- Public Member Functions inherited from Modulation
Mode getMode () const noexcept
 
float calcIntensityValue (float calculatedModulationValue) const noexcept
 
void applyModulationValue (float calculatedModulationValue, float &destinationValue) const noexcept
 
void setIntensity (float newIntensity) noexcept
 
void setIntensityFromSlider (float sliderValue) noexcept
 
virtual float getIntensity () const noexcept
 
float getDisplayIntensity () const noexcept
 
- Public Member Functions inherited from LookupTableProcessor
virtual int getNumTables () const
 
void addTableChangeListener (SafeChangeListener *listener)
 
void removeTableChangeListener (SafeChangeListener *listener)
 
void sendTableIndexChangeMessage (bool sendSynchronous, Table *table, float tableIndex)
 

Additional Inherited Members

- Protected Member Functions inherited from Processor
void setOutputValue (float newValue)
 
void setInputValue (float newValue, NotificationType notify=sendNotification)
 

Detailed Description

A constant Modulator which calculates a random value at the voice start.

It can use a look up table to "massage" the outcome in order to raise the probability of some values etc. In this case, the values are limited to 7bit for MIDI feeling...

Member Function Documentation

float calculateVoiceStartValue ( const HiseEvent )
overridevirtual

Calculates a new random value. If the table is used, it is converted to 7bit.

Implements VoiceStartModulator.

Table* getTable ( int  = 0) const
inlineoverridevirtual

returns a pointer to the look up table. Don't delete it!

Implements LookupTableProcessor.

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