MuseScore  3.4
Music composition and notation
Namespaces | Functions
importmidi_beat.cpp File Reference
#include "importmidi_beat.h"
#include "importmidi_chord.h"
#include "importmidi_fraction.h"
#include "importmidi_inner.h"
#include "importmidi_quant.h"
#include "importmidi_meter.h"
#include "importmidi_tempo.h"
#include "importmidi_operations.h"
#include "thirdparty/beatroot/BeatTracker.h"
#include "mscore/preferences.h"
#include "libmscore/mscore.h"
#include <functional>
Include dependency graph for importmidi_beat.cpp:

Namespaces

 Ms
 
 
 Ms::MidiBeat
 

Functions

int Ms::MidiBeat::beatsInBar (const ReducedFraction &barFraction)
 
double Ms::MidiBeat::findChordSalience1 (const std::pair< const ReducedFraction, MidiChord > &chord, double ticksPerSec)
 
double Ms::MidiBeat::findChordSalience2 (const std::pair< const ReducedFraction, MidiChord > &chord, double)
 
::EventList Ms::MidiBeat::prepareChordEvents (const std::multimap< ReducedFraction, MidiChord > &chords, const std::function< double(const std::pair< const ReducedFraction, MidiChord > &, double)> &findChordSalience, double ticksPerSec)
 
ReducedFraction Ms::MidiBeat::findLastChordTick (const std::multimap< ReducedFraction, MidiChord > &chords)
 
void Ms::MidiBeat::addFirstBeats (std::set< ReducedFraction > &beatSet, const ReducedFraction &firstTick, int beatsInBar, int &addedBeatCount)
 
void Ms::MidiBeat::addLastBeats (std::set< ReducedFraction > &beatSet, const ReducedFraction &lastTick, int beatsInBar, int &addedBeatCount)
 
MidiOperations::HumanBeatData Ms::MidiBeat::prepareHumanBeatData (const std::vector< double > &beatTimes, const std::multimap< ReducedFraction, MidiChord > &chords, double ticksPerSec, int beatsInBar)
 
double Ms::MidiBeat::findMatchRank (const std::set< ReducedFraction > &beatSet, const ::EventList &events, const std::vector< int > &levels, int beatsInBar, double ticksPerSec)
 
void Ms::MidiBeat::removeEvery2ndBeat (std::set< ReducedFraction > &beatSet)
 
std::vector< ReducedFraction > Ms::MidiBeat::findTimeSignatures (const ReducedFraction &timeSigFromMidiFile)
 
void Ms::MidiBeat::setTimeSig (TimeSigMap *sigmap, const ReducedFraction &timeSig)
 
void Ms::MidiBeat::findBeatLocations (const std::multimap< ReducedFraction, MidiChord > &allChords, TimeSigMap *sigmap, double ticksPerSec)
 
void Ms::MidiBeat::scaleOffTimes (QList< MidiNote > &notes, const std::set< ReducedFraction > &beats, const std::set< ReducedFraction >::const_iterator &onTimeBeatEndIt, const ReducedFraction &newOnTimeBeatStart, const ReducedFraction &newBeatLen)
 
void Ms::MidiBeat::adjustChordsToBeats (std::multimap< int, MTrack > &tracks)
 
void Ms::MidiBeat::updateFirstLastBeats (MidiOperations::HumanBeatData &beatData, const ReducedFraction &timeSig)
 
void Ms::MidiBeat::setTimeSignature (TimeSigMap *sigmap)