mirror of
https://github.com/microtherion/VocalEasel.git
synced 2024-12-22 11:14:00 +00:00
Fix ransposing into minor key
This commit is contained in:
parent
b9e84929e8
commit
a7b2fab331
|
@ -863,7 +863,7 @@ static void TransposePinned(int8_t & pitch, int semi)
|
|||
pitch = octave+pitchInOctave;
|
||||
}
|
||||
|
||||
void VLSong::ChangeKey(int newKey, bool newMode, bool transpose)
|
||||
void VLSong::ChangeKey(int newKey, int newMode, bool transpose)
|
||||
{
|
||||
VLProperties & prop = fProperties.front();
|
||||
int semi = 7*(newKey-prop.fKey) % 12;
|
||||
|
|
|
@ -335,7 +335,7 @@ public:
|
|||
bool DoesTieWithPrevRepeat(size_t measure) const;
|
||||
bool DoesTieWithNextRepeat(size_t measure) const;
|
||||
bool IsNonEmpty() const;
|
||||
void ChangeKey(int newKey, bool newMode, bool transpose);
|
||||
void ChangeKey(int newKey, int newMode, bool transpose);
|
||||
void ChangeDivisions(int newDivisions);
|
||||
void ChangeTime(VLFraction newTime);
|
||||
|
||||
|
|
|
@ -773,7 +773,7 @@
|
|||
95D7BF750AA699C600D5E02C /* Development */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
|
||||
USER_HEADER_SEARCH_PATHS = "Sources/**";
|
||||
};
|
||||
name = Development;
|
||||
|
@ -781,14 +781,14 @@
|
|||
95D7BF760AA699C600D5E02C /* Deployment */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
|
||||
};
|
||||
name = Deployment;
|
||||
};
|
||||
95D7BF770AA699C600D5E02C /* Default */ = {
|
||||
isa = XCBuildConfiguration;
|
||||
buildSettings = {
|
||||
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk;
|
||||
SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
|
||||
};
|
||||
name = Default;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue
Block a user