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

Namespaces

 Ms
 
 
 Ms::Simplify
 

Functions

bool Ms::Simplify::hasComplexBeamedDurations (const QList< std::pair< ReducedFraction, TDuration > > &list)
 
void Ms::Simplify::lengthenNote (MidiNote &note, int voice, const ReducedFraction &noteOnTime, const ReducedFraction &durationStart, const ReducedFraction &endTime, const ReducedFraction &barStart, const ReducedFraction &barFraction, const std::multimap< ReducedFraction, MidiTuplet::TupletData > &tuplets, bool isDrumTrack)
 
void Ms::Simplify::shortenDrumNote (MidiNote &note, const std::multimap< ReducedFraction, MidiChord >::iterator &it, const std::multimap< ReducedFraction, MidiChord > &chords)
 
void Ms::Simplify::minimizeNumberOfRests (std::multimap< ReducedFraction, MidiChord > &chords, const TimeSigMap *sigmap, const std::multimap< ReducedFraction, MidiTuplet::TupletData > &tuplets, bool isDrumTrack)
 
void Ms::Simplify::simplifyDurations (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap, bool simplifyDrumTracks)
 
void Ms::Simplify::simplifyDurationsForDrums (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap)
 
void Ms::Simplify::simplifyDurationsNotDrums (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap)