ofxPDSP
pdsp::SequencerProcessor Class Reference

Contains all the needed framework for generating and sequencing messages for the DSPs. More...

#include <SequencerProcessor.h>

Inheritance diagram for pdsp::SequencerProcessor:
pdsp::Preparable

Public Member Functions

void setTempo (double tempo)
 sets the global tempo More...
 
double getTempo () const
 returns the global tempo
 
void pause ()
 pause the playhead and stop emitting messages and updating the playhead. Thread-safe.
 
void stop ()
 reset the playhead to 0.0f and stop emitting messages and updating the playhead. Thread-safe.
 
void play ()
 starts emitting message and updating the playhead again. Thread-safe.
 
bool isPlaying ()
 returns true if the SequencerProcessor is playing. Thread-safe.
 
void setMaxBars (double maxBars)
 sets the maximum value the global playhead can take, in bars, after it wraps back More...
 
double getMaxBars () const
 gets the maximum value the global playhead can take, in bars, after it wraps back
 
void setDefaultSteplen (double steplen)
 sets the default step lenght for initializing sequences #param[in] steplen default step lenght
 
float meter_playhead ()
 returns the playhead position in bars. Thread-safe.
 

Additional Inherited Members

- Static Public Member Functions inherited from pdsp::Preparable
static double getGlobalSampleRate ()
 

Detailed Description

Contains all the needed framework for generating and sequencing messages for the DSPs.

Member Function Documentation

◆ setMaxBars()

void pdsp::SequencerProcessor::setMaxBars ( double  maxBars)

sets the maximum value the global playhead can take, in bars, after it wraps back

Parameters
maxBarsmax value in bars

◆ setTempo()

void pdsp::SequencerProcessor::setTempo ( double  tempo)

sets the global tempo

Parameters
tempotempo to set

The documentation for this class was generated from the following files: