MuseScore  3.4
Music composition and notation
importmidi_clef.h
Go to the documentation of this file.
1 #ifndef IMPORTMIDI_CLEF_H
2 #define IMPORTMIDI_CLEF_H
3 
4 
5 namespace Ms {
6 
7 class Staff;
8 class InstrumentTemplate;
9 enum class ClefType : signed char;
10 
11 namespace MidiClef {
12 
13 bool hasGFclefs(const InstrumentTemplate *templ);
14 void createClefs(Staff *staff, int indexOfOperation, bool isDrumTrack);
16 
17 } // namespace MidiClef
18 } // namespace Ms
19 
20 
21 #endif // IMPORTMIDI_CLEF_H
int averagePitch(const std::map< ReducedFraction, std::multimap< ReducedFraction, MidiChord >::iterator > &chords)
Definition: importmidi_tuplet.cpp:175
ClefType clefTypeFromAveragePitch(int averagePitch)
Definition: importmidi_clef.cpp:91
bool hasGFclefs(const InstrumentTemplate *templ)
Definition: importmidi_clef.cpp:408
Definition: aeolus.cpp:26
ClefType
Definition: clef.h:37
void createClefs(QList< MTrack > &tracks)
Definition: importmidi.cpp:1012