MuseScore  3.4
Music composition and notation
Namespaces | Functions
importmidi_tuplet_detect.cpp File Reference
#include "importmidi_tuplet_detect.h"
#include "importmidi_tuplet.h"
#include "importmidi_meter.h"
#include "importmidi_chord.h"
#include "importmidi_quant.h"
#include "importmidi_inner.h"
#include "importmidi_operations.h"
#include "mscore/preferences.h"
#include <set>
Include dependency graph for importmidi_tuplet_detect.cpp:

Namespaces

 Ms
 
 
 Ms::MidiTuplet
 

Functions

bool Ms::MidiTuplet::isTupletAllowed (const TupletInfo &tupletInfo)
 
std::vector< int > Ms::MidiTuplet::findTupletNumbers (const ReducedFraction &divLen, const ReducedFraction &barFraction)
 
ReducedFraction Ms::MidiTuplet::findSumLengthOfRests (const TupletInfo &tupletInfo, const ReducedFraction &startBarTick)
 
TupletInfo Ms::MidiTuplet::findTupletApproximation (const ReducedFraction &tupletLen, int tupletNumber, const ReducedFraction &basicQuant, const ReducedFraction &startTupletTime, const std::multimap< ReducedFraction, MidiChord >::iterator &startChordIt, const std::multimap< ReducedFraction, MidiChord >::iterator &endChordIt)
 
void Ms::MidiTuplet::detectStaccato (TupletInfo &tuplet)
 
bool Ms::MidiTuplet::haveChordsInTheMiddleBetweenTupletChords (const std::multimap< ReducedFraction, MidiChord >::iterator startDivChordIt, const std::multimap< ReducedFraction, MidiChord >::iterator endDivChordIt, const TupletInfo &tuplet)
 
bool Ms::MidiTuplet::isTupletLenAllowed (const ReducedFraction &tupletLen, int tupletNumber, const std::multimap< ReducedFraction, MidiChord >::const_iterator beg, const std::multimap< ReducedFraction, MidiChord >::const_iterator end, const ReducedFraction &basicQuant)
 
bool Ms::MidiTuplet::isNextBarOwnershipOk (const std::multimap< ReducedFraction, MidiChord >::iterator &startIt, const std::multimap< ReducedFraction, MidiChord >::iterator &endIt, const std::multimap< ReducedFraction, MidiChord > &chords, int barIndex)
 
std::vector< TupletInfo > Ms::MidiTuplet::detectTuplets (const std::multimap< ReducedFraction, MidiChord >::iterator &startBarChordIt, const std::multimap< ReducedFraction, MidiChord >::iterator &endBarChordIt, const ReducedFraction &startBarTick, const ReducedFraction &barFraction, std::multimap< ReducedFraction, MidiChord > &chords, const ReducedFraction &basicQuant, int barIndex)