Fix ransposing into minor key

This commit is contained in:
Matthias Neeracher 2007-07-29 19:49:09 +00:00
parent b9e84929e8
commit a7b2fab331
3 changed files with 5 additions and 5 deletions

View File

@ -863,7 +863,7 @@ static void TransposePinned(int8_t & pitch, int semi)
pitch = octave+pitchInOctave; 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(); VLProperties & prop = fProperties.front();
int semi = 7*(newKey-prop.fKey) % 12; int semi = 7*(newKey-prop.fKey) % 12;

View File

@ -335,7 +335,7 @@ public:
bool DoesTieWithPrevRepeat(size_t measure) const; bool DoesTieWithPrevRepeat(size_t measure) const;
bool DoesTieWithNextRepeat(size_t measure) const; bool DoesTieWithNextRepeat(size_t measure) const;
bool IsNonEmpty() 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 ChangeDivisions(int newDivisions);
void ChangeTime(VLFraction newTime); void ChangeTime(VLFraction newTime);

View File

@ -773,7 +773,7 @@
95D7BF750AA699C600D5E02C /* Development */ = { 95D7BF750AA699C600D5E02C /* Development */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
USER_HEADER_SEARCH_PATHS = "Sources/**"; USER_HEADER_SEARCH_PATHS = "Sources/**";
}; };
name = Development; name = Development;
@ -781,14 +781,14 @@
95D7BF760AA699C600D5E02C /* Deployment */ = { 95D7BF760AA699C600D5E02C /* Deployment */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
}; };
name = Deployment; name = Deployment;
}; };
95D7BF770AA699C600D5E02C /* Default */ = { 95D7BF770AA699C600D5E02C /* Default */ = {
isa = XCBuildConfiguration; isa = XCBuildConfiguration;
buildSettings = { buildSettings = {
SDKROOT = /Developer/SDKs/MacOSX10.4u.sdk; SDKROOT = "$(DEVELOPER_SDK_DIR)/MacOSX10.4u.sdk";
}; };
name = Default; name = Default;
}; };