Deluge Firmware
Loading...
Searching...
No Matches
Public Member Functions | Public Attributes | List of all members
CVEngine Class Reference

#include <CVEngine.h>

Collaboration diagram for CVEngine:
Collaboration graph

Public Member Functions

 CVEngine ()
 
void init ()
 
void sendNote (bool on, uint8_t channel, int16_t note=-32768)
 
void setGateType (uint8_t whichGate, uint8_t value)
 
void setCVVoltsPerOctave (uint8_t channel, uint8_t value)
 
void setCVTranspose (uint8_t channel, int semitones, int cents)
 
void setCVPitchBend (uint8_t channel, int32_t value, bool outputToo=true)
 
void delayInterrupt ()
 
int32_t calculateVoltage (int note, uint8_t channel)
 
void physicallySwitchGate (int channel)
 
void analogOutTick ()
 
void playbackBegun ()
 
void playbackEnded ()
 
void updateClockOutput ()
 
void updateRunOutput ()
 
bool isTriggerClockOutputEnabled ()
 
void updateGateOutputs ()
 
void sendVoltageOut (uint8_t channel, uint16_t voltage)
 
bool isNoteOn (int channel, int note)
 

Public Attributes

GateChannel gateChannels [NUM_GATE_CHANNELS]
 
CVChannel cvChannels [NUM_CV_CHANNELS]
 
uint8_t minGateOffTime
 
bool clockState
 
bool gateOutputPending
 
bool asapGateOutputPending
 
bool clockOutputPending
 
uint32_t mostRecentSwitchOffTimeOfPendingNoteOn
 

Constructor & Destructor Documentation

◆ CVEngine()

CVEngine::CVEngine ( )

Member Function Documentation

◆ analogOutTick()

void CVEngine::analogOutTick ( )

◆ calculateVoltage()

int32_t CVEngine::calculateVoltage ( int  note,
uint8_t  channel 
)

◆ delayInterrupt()

void CVEngine::delayInterrupt ( )

◆ init()

void CVEngine::init ( )

◆ isNoteOn()

bool CVEngine::isNoteOn ( int  channel,
int  note 
)
inline

◆ isTriggerClockOutputEnabled()

bool CVEngine::isTriggerClockOutputEnabled ( )

◆ physicallySwitchGate()

void CVEngine::physicallySwitchGate ( int  channel)

◆ playbackBegun()

void CVEngine::playbackBegun ( )

◆ playbackEnded()

void CVEngine::playbackEnded ( )

◆ sendNote()

void CVEngine::sendNote ( bool  on,
uint8_t  channel,
int16_t  note = -32768 
)

◆ sendVoltageOut()

void CVEngine::sendVoltageOut ( uint8_t  channel,
uint16_t  voltage 
)

◆ setCVPitchBend()

void CVEngine::setCVPitchBend ( uint8_t  channel,
int32_t  value,
bool  outputToo = true 
)

◆ setCVTranspose()

void CVEngine::setCVTranspose ( uint8_t  channel,
int  semitones,
int  cents 
)

◆ setCVVoltsPerOctave()

void CVEngine::setCVVoltsPerOctave ( uint8_t  channel,
uint8_t  value 
)

◆ setGateType()

void CVEngine::setGateType ( uint8_t  whichGate,
uint8_t  value 
)

◆ updateClockOutput()

void CVEngine::updateClockOutput ( )

◆ updateGateOutputs()

void CVEngine::updateGateOutputs ( )

◆ updateRunOutput()

void CVEngine::updateRunOutput ( )

Member Data Documentation

◆ asapGateOutputPending

bool CVEngine::asapGateOutputPending

◆ clockOutputPending

bool CVEngine::clockOutputPending

◆ clockState

bool CVEngine::clockState

◆ cvChannels

CVChannel CVEngine::cvChannels[NUM_CV_CHANNELS]

◆ gateChannels

GateChannel CVEngine::gateChannels[NUM_GATE_CHANNELS]

◆ gateOutputPending

bool CVEngine::gateOutputPending

◆ minGateOffTime

uint8_t CVEngine::minGateOffTime

◆ mostRecentSwitchOffTimeOfPendingNoteOn

uint32_t CVEngine::mostRecentSwitchOffTimeOfPendingNoteOn

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