MuseScore  3.4
Music composition and notation
Functions
Ms::Simplify Namespace Reference

Functions

bool hasComplexBeamedDurations (const QList< std::pair< ReducedFraction, TDuration > > &list)
 
void 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 shortenDrumNote (MidiNote &note, const std::multimap< ReducedFraction, MidiChord >::iterator &it, const std::multimap< ReducedFraction, MidiChord > &chords)
 
void minimizeNumberOfRests (std::multimap< ReducedFraction, MidiChord > &chords, const TimeSigMap *sigmap, const std::multimap< ReducedFraction, MidiTuplet::TupletData > &tuplets, bool isDrumTrack)
 
void simplifyDurations (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap, bool simplifyDrumTracks)
 
void simplifyDurationsForDrums (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap)
 
void simplifyDurationsNotDrums (std::multimap< int, MTrack > &tracks, const TimeSigMap *sigmap)
 

Function Documentation

◆ hasComplexBeamedDurations()

bool Ms::Simplify::hasComplexBeamedDurations ( const QList< std::pair< ReducedFraction, TDuration > > &  list)

◆ lengthenNote()

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 
)

◆ minimizeNumberOfRests()

void Ms::Simplify::minimizeNumberOfRests ( std::multimap< ReducedFraction, MidiChord > &  chords,
const TimeSigMap sigmap,
const std::multimap< ReducedFraction, MidiTuplet::TupletData > &  tuplets,
bool  isDrumTrack 
)

◆ shortenDrumNote()

void Ms::Simplify::shortenDrumNote ( MidiNote note,
const std::multimap< ReducedFraction, MidiChord >::iterator &  it,
const std::multimap< ReducedFraction, MidiChord > &  chords 
)

◆ simplifyDurations()

void Ms::Simplify::simplifyDurations ( std::multimap< int, MTrack > &  tracks,
const TimeSigMap sigmap,
bool  simplifyDrumTracks 
)

◆ simplifyDurationsForDrums()

void Ms::Simplify::simplifyDurationsForDrums ( std::multimap< int, MTrack > &  tracks,
const TimeSigMap sigmap 
)

◆ simplifyDurationsNotDrums()

void Ms::Simplify::simplifyDurationsNotDrums ( std::multimap< int, MTrack > &  tracks,
const TimeSigMap sigmap 
)