| 
					
				 | 
			
			
				@@ -2311,10 +2311,12 @@ export abstract class MusicSheetCalculator { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 const instruction: AbstractNotationInstruction = sourceMeasure.FirstInstructionsStaffEntries[staffIndex].Instructions[idx]; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                 if (instruction instanceof KeyInstruction) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     const key: KeyInstruction = KeyInstruction.copy(instruction); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                    if (measure.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    const transposeHalftones: number = measure.getTransposedHalftones(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                    if (transposeHalftones !== 0 && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                        measure.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion && 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         MusicSheetCalculator.transposeCalculator) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         MusicSheetCalculator.transposeCalculator.transposeKey( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                            key, this.graphicalMusicSheet.ParentMusicSheet.Transpose 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                            key, transposeHalftones 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                         ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                     accidentalCalculator.ActiveKeyInstruction = key; 
			 | 
		
	
	
		
			
				| 
					
				 | 
			
			
				@@ -2484,10 +2486,10 @@ export abstract class MusicSheetCalculator { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				     private checkNoteForAccidental(graphicalNote: GraphicalNote, accidentalCalculator: AccidentalCalculator, activeClef: ClefInstruction, 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				                                    octaveEnum: OctaveEnum): void { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         let pitch: Pitch = graphicalNote.sourceNote.Pitch; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        const transpose: number = this.graphicalMusicSheet.ParentMusicSheet.Transpose; 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-        if (transpose !== 0 && graphicalNote.sourceNote.ParentStaffEntry.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        const transposeHalftones: number = graphicalNote.parentVoiceEntry.parentStaffEntry.parentMeasure.getTransposedHalftones(); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+        if (transposeHalftones !== 0 && graphicalNote.sourceNote.ParentStaffEntry.ParentStaff.ParentInstrument.MidiInstrumentId !== MidiInstrument.Percussion) { 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             pitch = graphicalNote.Transpose( 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				-                accidentalCalculator.ActiveKeyInstruction, activeClef, transpose, octaveEnum 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				+                accidentalCalculator.ActiveKeyInstruction, activeClef, transposeHalftones, octaveEnum 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				             ); 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         } 
			 | 
		
	
		
			
				 | 
				 | 
			
			
				         graphicalNote.sourceNote.halfTone = pitch.getHalfTone(); 
			 |