MuseScore  3.4
Music composition and notation
Namespaces | Functions
importmidi_inner.cpp File Reference
#include "importmidi_inner.h"
#include "importmidi_operations.h"
#include "importmidi_chord.h"
#include "mscore/preferences.h"
#include "libmscore/durationtype.h"
#include "midi/midifile.h"
Include dependency graph for importmidi_inner.cpp:

Namespaces

 Ms
 
 
 Ms::Meter
 
 Ms::MidiTuplet
 
 Ms::MidiCharset
 
 Ms::MidiBar
 
 Ms::MidiDuration
 

Functions

ReducedFraction Ms::Meter::userTimeSigToFraction (MidiOperations::TimeSigNumerator timeSigNumerator, MidiOperations::TimeSigDenominator timeSigDenominator)
 
MidiOperations::TimeSigNumerator Ms::Meter::fractionNumeratorToUserValue (int n)
 
MidiOperations::TimeSigDenominator Ms::Meter::fractionDenominatorToUserValue (int z)
 
bool Ms::MidiTuplet::haveIntersection (const std::pair< ReducedFraction, ReducedFraction > &interval1, const std::pair< ReducedFraction, ReducedFraction > &interval2, bool strictComparison)
 
bool Ms::MidiTuplet::haveIntersection (const std::pair< ReducedFraction, ReducedFraction > &interval, const std::vector< std::pair< ReducedFraction, ReducedFraction >> &intervals, bool strictComparison)
 
QString Ms::MidiCharset::convertToCharset (const std::string &text)
 
QString Ms::MidiCharset::defaultCharset ()
 
std::string Ms::MidiCharset::fromUchar (const uchar *text)
 
ReducedFraction Ms::MidiBar::findBarStart (const ReducedFraction &time, const TimeSigMap *sigmap)
 
double Ms::MidiDuration::durationCount (const QList< std::pair< ReducedFraction, TDuration > > &durations)