MuseScore  3.4
Music composition and notation
pitch.h
Go to the documentation of this file.
1 //=============================================================================
2 // MuseScore
3 // Music Composition & Notation
4 //
5 // Copyright (C) 2010-2011 Werner Schweer
6 //
7 // This program is free software; you can redistribute it and/or modify
8 // it under the terms of the GNU General Public License version 2
9 // as published by the Free Software Foundation and appearing in
10 // the file LICENCE.GPL
11 //=============================================================================
12 
13 #ifndef __PITCH_H__
14 #define __PITCH_H__
15 
16 namespace Ms {
17 
18 //---------------------------------------------------------
21 //---------------------------------------------------------
22 
23 class PitchList : public QMap<int, int> {
24  public:
25  PitchList() {}
26  int pitchOffset(int tick) const;
27  void setPitchOffset(int tick, int offset) { insert(tick, offset); }
28  };
29 
30 
31 } // namespace Ms
32 #endif
33 
PitchList()
Definition: pitch.h:25
int pitchOffset(int tick) const
Definition: pitch.cpp:22
Definition: aeolus.cpp:26
void setPitchOffset(int tick, int offset)
Definition: pitch.h:27
PitchList List of note pitch offsets.
Definition: pitch.h:23