MuseScore  3.4
Music composition and notation
Classes | Namespaces | Functions
importmidi_chord.h File Reference
#include "importmidi_fraction.h"
#include "importmidi_tuplet.h"
#include <map>
Include dependency graph for importmidi_chord.h:
This graph shows which files directly or indirectly include this file:

Go to the source code of this file.

Classes

class  Ms::MidiNote
 
class  Ms::MidiChord
 

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)
 
template<typename Iter >
Iter Ms::MChord::findFirstChordInRange (const ReducedFraction &startRangeTick, const ReducedFraction &endRangeTick, const Iter &startChordIt, const Iter &endChordIt)
 
template<typename Iter >
Iter Ms::MChord::findEndChordInRange (const ReducedFraction &endRangeTick, const Iter &startChordIt, const Iter &endChordIt)
 
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)
 
const ReducedFraction & Ms::MChord::minAllowedDuration ()
 
ReducedFraction Ms::MChord::findMinDuration (const ReducedFraction &onTime, const QList< MidiChord > &midiChords, const ReducedFraction &length)
 
void Ms::MChord::sortNotesByPitch (std::multimap< ReducedFraction, MidiChord > &chords)
 
void Ms::MChord::sortNotesByLength (std::multimap< ReducedFraction, MidiChord > &chords)
 
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::removeOverlappingNotes (std::multimap< int, MTrack > &tracks)
 
void Ms::MChord::mergeChordsWithEqualOnTimeAndVoice (std::multimap< int, MTrack > &tracks)
 
void Ms::MChord::splitUnequalChords (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)