All Classes Namespaces Functions Variables Enumerations Enumerator Modules Pages
Public Member Functions | List of all members
TempoListener Class Referenceabstract
Inheritance diagram for TempoListener:
AudioFileEnvelope LfoModulator

Public Member Functions

virtual void tempoChanged (double newTempo)=0

Detailed Description

This class is a listener class that can react to tempo changes.

In order to use this, subclass this and implement the behaviour in the tempoChanged callback.

Member Function Documentation

virtual void tempoChanged ( double  newTempo)
pure virtual

The callback function that will be called if the tempo was changed.

This is called synchronously in the audio callback before the processing, so make sure you don't make something stupid here.

It will be called once per block, so you can't do sample synchronous tempo stuff, but that should be enough.

Implemented in LfoModulator.

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