MuseScore  3.4
Music composition and notation
Classes | Namespaces | Functions
importmidi_clef.cpp File Reference
#include "importmidi_clef.h"
#include "libmscore/score.h"
#include "libmscore/staff.h"
#include "libmscore/measure.h"
#include "libmscore/segment.h"
#include "libmscore/clef.h"
#include "libmscore/chordrest.h"
#include "libmscore/chord.h"
#include "libmscore/note.h"
#include "libmscore/slur.h"
#include "libmscore/element.h"
#include "libmscore/sig.h"
#include "importmidi_tie.h"
#include "importmidi_meter.h"
#include "importmidi_fraction.h"
#include "importmidi_operations.h"
#include "mscore/preferences.h"
#include "libmscore/instrtemplate.h"
#include <set>
Include dependency graph for importmidi_clef.cpp:

Classes

class  Ms::MidiClef::AveragePitch
 
class  Ms::MidiClef::MinMaxPitch
 

Namespaces

 Ms
 
 
 Ms::MidiClef
 

Functions

int Ms::MidiClef::clefMidPitch ()
 
ClefType Ms::MidiClef::clefTypeFromAveragePitch (int averagePitch)
 
void Ms::MidiClef::createClef (ClefType clefType, Staff *staff, int tick, bool isSmall=false)
 
AveragePitch Ms::MidiClef::findAverageSegPitch (const Segment *seg, int strack)
 
MinMaxPitch Ms::MidiClef::findMinMaxSegPitch (const Segment *seg, int strack)
 
int Ms::MidiClef::findPitchPenaltyForClef (int pitch, int clefIndex)
 
std::pair< ElementType, ReducedFraction > Ms::MidiClef::findChordRest (const Segment *seg, int strack)
 
int Ms::MidiClef::findClefChangePenalty (int pos, int clefIndex, const std::vector< std::vector< int >> &trebleBassPath, const Segment *segment, const Staff *staff)
 
ClefType Ms::MidiClef::clefFromIndex (int index)
 
void Ms::MidiClef::makeDynamicProgrammingStep (std::vector< std::vector< int >> &penalties, std::vector< std::vector< int >> &optimalPaths, int pos, MidiTie::TieStateMachine::State tieState, const MinMaxPitch &minMaxPitch, const Segment *seg, const Staff *staff)
 
bool Ms::MidiClef::createClefs (Staff *staff, const std::vector< std::vector< int >> &optimalPaths, int lastClef, const std::vector< Segment *> &segments)
 
void Ms::MidiClef::createMainClefFromAveragePitch (Staff *staff, int strack)
 
bool Ms::MidiClef::hasGFclefs (const InstrumentTemplate *templ)
 
void Ms::MidiClef::createClefs (Staff *staff, int indexOfOperation, bool isDrumTrack)