MuseScore
3.4
Music composition and notation
libmscore
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
Ms::PitchList::PitchList
PitchList()
Definition:
pitch.h:25
Ms::PitchList::pitchOffset
int pitchOffset(int tick) const
Definition:
pitch.cpp:22
Ms
Definition:
aeolus.cpp:26
Ms::PitchList::setPitchOffset
void setPitchOffset(int tick, int offset)
Definition:
pitch.h:27
Ms::PitchList
PitchList List of note pitch offsets.
Definition:
pitch.h:23
Generated by
1.8.13