All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Types | Public Member Functions | List of all members
AudioFileEnvelope Class Reference
Inheritance diagram for AudioFileEnvelope:
TimeVariantModulator AudioSampleProcessor TempoListener Modulator TimeModulation SafeChangeListener ExternalFileProcessor 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

ProcessorEditorBodycreateEditor (ProcessorEditor *parentEditor) override
void handleHiseEvent (const HiseEvent &m) override
virtual void prepareToPlay (double sampleRate, int samplesPerBlock) override
virtual void applyTimeModulation (AudioSampleBuffer &b, int startSamples, int numSamples) override
virtual float getIntensity () const noexcept
- 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
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
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 TimeModulation
virtual void renderNextBlock (AudioSampleBuffer &buffer, int startSample, int numSamples)
virtual const float * getCalculatedValues (int)
- 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
float getDisplayIntensity () const noexcept
- Public Member Functions inherited from AudioSampleProcessor
virtual ~AudioSampleProcessor ()
void saveToValueTree (ValueTree &v) const
void restoreFromValueTree (const ValueTree &v)
AudioThumbnailCache & getCache ()
void setLoadedFile (const String &fileName, bool loadThisFile=false, bool forceReload=false)
void setRange (Range< int > newSampleRange)
Range< int > getRange () const
const AudioSampleBuffer * getBuffer ()
String getFileName () const
void changeListenerCallback (SafeChangeBroadcaster *b) override
virtual void newFileLoaded ()
- Public Member Functions inherited from ExternalFileProcessor
File getFile (const String &fileNameOrReference, PresetPlayerHandler::FolderType type=PresetPlayerHandler::GlobalSampleDirectory)
String getGlobalReferenceForFile (const String &file, PresetPlayerHandler::FolderType type=PresetPlayerHandler::GlobalSampleDirectory)

Additional Inherited Members

- Protected Member Functions inherited from Processor
void setOutputValue (float newValue)
void setInputValue (float newValue, NotificationType notify=sendNotification)
- Protected Member Functions inherited from TimeModulation
virtual void prepareToModulate (double, int samplesPerBlock)
virtual bool isInitialized ()
void applyGainModulation (float *calculatedModulationValues, float *destinationValues, float fixedIntensity, int numValues) const noexcept
void applyGainModulation (float *calculatedModulationValues, float *destinationValues, float fixedIntensity, float *intensityValues, int numValues) const noexcept
void applyPitchModulation (float *calculatedModulationValues, float *destinationValues, float fixedIntensity, float *intensityValues, int numValues) const noexcept
void applyPitchModulation (float *calculatedModulationValues, float *destinationValues, float fixedIntensity, int numValues) const noexcept
- Protected Member Functions inherited from AudioSampleProcessor
 AudioSampleProcessor (Processor *p)

Detailed Description

A Envelope Follower that will loop an audio file.

It is not polyphonic, so every voice gets treated the same.

Member Function Documentation

void applyTimeModulation ( AudioSampleBuffer &  b,
int  startSamples,
int  numSamples 

This overwrites the TimeModulation callback to render the intensity chain.

Reimplemented from TimeModulation.

ProcessorEditorBody * createEditor ( ProcessorEditor *  parentEditor)

Returns a new ControlEditor

Implements Processor.

float getIntensity ( ) const

Returns the modulated intensity value.

Reimplemented from Modulation.

void handleHiseEvent ( const HiseEvent m)

Ignores midi for now (if not legato)

Implements Modulator.

void prepareToPlay ( double  sampleRate,
int  samplesPerBlock 

sets up the smoothing filter.

Reimplemented from TimeVariantModulator.

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