MuseScore  3.4
Music composition and notation
Namespaces | Functions | Variables
pitchspelling.cpp File Reference
#include "synthesizer/event.h"
#include "note.h"
#include "key.h"
#include "pitchspelling.h"
#include "staff.h"
#include "chord.h"
#include "score.h"
#include "part.h"
#include "utils.h"
Include dependency graph for pitchspelling.cpp:

Namespaces

 Ms
 
 

Functions

bool Ms::tpcIsValid (int val)
 
int Ms::step2tpc (int step, AccidentalVal alter)
 
int Ms::step2tpcByKey (int step, Key key)
 
int Ms::tpc2step (int tpc)
 
int Ms::tpc2stepByKey (int tpc, Key key, int *pAlter)
 
int Ms::step2tpc (const QString &stepName, AccidentalVal alter)
 
int Ms::step2deltaPitchByKey (int step, Key key)
 
int Ms::tpc2pitch (int tpc)
 
int Ms::tpc2alterByKey (int tpc, Key key)
 
QString Ms::tpc2name (int tpc, NoteSpellingType noteSpelling, NoteCaseType noteCase, bool explicitAccidental)
 
void Ms::tpc2name (int tpc, NoteSpellingType noteSpelling, NoteCaseType noteCase, QString &s, QString &acc, bool explicitAccidental)
 
void Ms::tpc2name (int tpc, NoteSpellingType noteSpelling, NoteCaseType noteCase, QString &s, int &acc)
 
QString Ms::tpc2stepName (int tpc)
 
int Ms::tpc (int idx, int pitch, int opt)
 
int Ms::computeWindow (const std::vector< Note *> &notes, int start, int end)
 
void Ms::changeAllTpcs (Note *n, int tpc1)
 
int Ms::pitch2tpc (int pitch, Key key, Prefer prefer)
 
int Ms::pitch2absStepByKey (int pitch, int tpc, Key key, int *pAlter)
 
int Ms::absStep2pitchByKey (int step, Key key)
 
int Ms::tpc2degree (int tpc, Key key)
 

Variables

int Ms::intervalPenalty [13]