MuseScore  3.4
Music composition and notation
importmidi_beat.h
Go to the documentation of this file.
1 #ifndef IMPORTMIDI_BEAT_H
2 #define IMPORTMIDI_BEAT_H
3 
4 #include <set>
5 
6 
7 namespace Ms {
8 
9 class TimeSigMap;
10 class ReducedFraction;
11 class MidiChord;
12 class MTrack;
13 class ReducedFraction;
14 class Score;
15 
16 namespace MidiBeat {
17 
18 void removeEvery2ndBeat(std::set<ReducedFraction> &beatSet);
20  const std::multimap<ReducedFraction, MidiChord> &allChords,
21  TimeSigMap *sigmap,
22  double ticksPerSec);
23 
24 void adjustChordsToBeats(std::multimap<int, MTrack> &tracks);
25 void setTimeSignature(TimeSigMap *sigmap);
26 
27 } // namespace MidiBeat
28 } // namespace Ms
29 
30 
31 #endif // IMPORTMIDI_BEAT_H
void setTimeSignature(TimeSigMap *sigmap)
Definition: importmidi_beat.cpp:465
void adjustChordsToBeats(std::multimap< int, MTrack > &tracks)
Definition: importmidi_beat.cpp:376
void removeEvery2ndBeat(std::set< ReducedFraction > &beatSet)
Definition: importmidi_beat.cpp:236
Definition: aeolus.cpp:26
void findBeatLocations(const std::multimap< ReducedFraction, MidiChord > &allChords, TimeSigMap *sigmap, double ticksPerSec)
Definition: importmidi_beat.cpp:275