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

Namespaces

 Ms
 
 
 Ms::MChord
 

Functions

bool Ms::MChord::isGrandStaffProgram (int program)
 
std::multimap< ReducedFraction, MidiChord >::iterator Ms::MChord::findFirstChordInRange (std::multimap< ReducedFraction, MidiChord > &chords, const ReducedFraction &startRangeTick, const ReducedFraction &endRangeTick)
 
std::multimap< ReducedFraction, MidiChord >::const_iterator Ms::MChord::findFirstChordInRange (const std::multimap< ReducedFraction, MidiChord > &chords, const ReducedFraction &startRangeTick, const ReducedFraction &endRangeTick)
 
const ReducedFraction & Ms::MChord::minAllowedDuration ()
 
ReducedFraction Ms::MChord::minNoteOffTime (const QList< MidiNote > &notes)
 
ReducedFraction Ms::MChord::maxNoteOffTime (const QList< MidiNote > &notes)
 
ReducedFraction Ms::MChord::minNoteLen (const std::pair< const ReducedFraction, MidiChord > &chord)
 
ReducedFraction Ms::MChord::maxNoteLen (const std::pair< const ReducedFraction, MidiChord > &chord)
 
void Ms::MChord::removeOverlappingNotes (QList< MidiNote > &notes)
 
void Ms::MChord::removeOverlappingNotes (std::multimap< int, MTrack > &tracks)
 
void Ms::MChord::setToNegative (ReducedFraction &v1, ReducedFraction &v2, ReducedFraction &v3)
 
bool Ms::MChord::hasNotesWithEqualPitch (const MidiChord &chord1, const MidiChord &chord2)
 
void Ms::MChord::collectChords (std::multimap< int, MTrack > &tracks, const ReducedFraction &humanTolCoeff, const ReducedFraction &nonHumanTolCoeff)
 
void Ms::MChord::collectChords (MTrack &track, const ReducedFraction &humanTolCoeff, const ReducedFraction &nonHumanTolCoeff)
 
void Ms::MChord::sortNotesByPitch (std::multimap< ReducedFraction, MidiChord > &chords)
 
void Ms::MChord::sortNotesByLength (std::multimap< ReducedFraction, MidiChord > &chords)
 
void Ms::MChord::splitUnequalChords (std::multimap< int, MTrack > &tracks)
 
ReducedFraction Ms::MChord::findMinDuration (const ReducedFraction &onTime, const QList< MidiChord > &midiChords, const ReducedFraction &length)
 
void Ms::MChord::mergeChordsWithEqualOnTimeAndVoice (std::multimap< int, MTrack > &tracks)
 
int Ms::MChord::chordAveragePitch (const QList< MidiNote > &notes, int beg, int end)
 
int Ms::MChord::chordAveragePitch (const QList< MidiNote > &notes)
 
ReducedFraction Ms::MChord::findMaxChordLength (const std::multimap< ReducedFraction, MidiChord > &chords)
 
std::vector< std::multimap< ReducedFraction, MidiChord >::const_iterator > Ms::MChord::findChordsForTimeRange (int voice, const ReducedFraction &onTime, const ReducedFraction &offTime, const std::multimap< ReducedFraction, MidiChord > &chords, const ReducedFraction &maxChordLength)
 
void Ms::MChord::setBarIndexes (std::multimap< ReducedFraction, MidiChord > &chords, const ReducedFraction &basicQuant, const ReducedFraction &lastTick, const TimeSigMap *sigmap)