Csound and CsoundAC API  5.17
Public Member Functions | Data Fields
csound::VoiceleadingOperation Class Reference

Utility class for storing voice-leading operations within a VoiceleadNode for future application. More...

#include <VoiceleadingNode.hpp>

Public Member Functions

 VoiceleadingOperation ()
virtual ~VoiceleadingOperation ()

Data Fields

bool avoidParallels
size_t begin
 The index of the first event to which the operation is applied.
double beginTime
 The operation begins at this time, and continues until just before the beginning of the next operation, or the end of the score, whichever comes first.
double C
 Pitch-set class, or DBL_MAX if no operation.
size_t end
 One past the index of the last event to which the operation is applied.
double endTime
 The operation ends before this time.
double K
 Inversion by interchange.
bool L
 If true, perform the closest voice-leading from the prior operation.
double P
 Prime chord, or DBL_MAX if no operation.
double Q
 Contextual transposition.
double rescaledBeginTime
 Times may need to be rescaled to match the duration of the score.
double rescaledEndTime
 Times may need to be rescaled to match the duration of the score.
double T
 Transposition, or DBL_MAX if no operation.
double V
 Voicing, or DBL_MAX if no operation.

Detailed Description

Utility class for storing voice-leading operations within a VoiceleadNode for future application.

Constructor & Destructor Documentation

csound::VoiceleadingOperation::VoiceleadingOperation ( )
virtual csound::VoiceleadingOperation::~VoiceleadingOperation ( )
virtual

Field Documentation

bool csound::VoiceleadingOperation::avoidParallels
size_t csound::VoiceleadingOperation::begin

The index of the first event to which the operation is applied.

double csound::VoiceleadingOperation::beginTime

The operation begins at this time, and continues until just before the beginning of the next operation, or the end of the score, whichever comes first.

double csound::VoiceleadingOperation::C

Pitch-set class, or DBL_MAX if no operation.

size_t csound::VoiceleadingOperation::end

One past the index of the last event to which the operation is applied.

double csound::VoiceleadingOperation::endTime

The operation ends before this time.

double csound::VoiceleadingOperation::K

Inversion by interchange.

bool csound::VoiceleadingOperation::L

If true, perform the closest voice-leading from the prior operation.

double csound::VoiceleadingOperation::P

Prime chord, or DBL_MAX if no operation.

double csound::VoiceleadingOperation::Q

Contextual transposition.

double csound::VoiceleadingOperation::rescaledBeginTime

Times may need to be rescaled to match the duration of the score.

double csound::VoiceleadingOperation::rescaledEndTime

Times may need to be rescaled to match the duration of the score.

double csound::VoiceleadingOperation::T

Transposition, or DBL_MAX if no operation.

double csound::VoiceleadingOperation::V

Voicing, or DBL_MAX if no operation.