@@ -1248,6 +1248,8 @@ void CPatternEditor::DrawCell(CDC *pDC, int PosX, int Column, int Channel, bool
12481248 static const char NOTES_C[] = {' 0' , ' 1' , ' 2' , ' 3' , ' 4' , ' 5' , ' 6' , ' 7' , ' 8' , ' 9' };
12491249 // Hex numbers
12501250 static const char HEX[] = {' 0' , ' 1' , ' 2' , ' 3' , ' 4' , ' 5' , ' 6' , ' 7' , ' 8' , ' 9' , ' A' , ' B' , ' C' , ' D' , ' E' , ' F' };
1251+ // // // Noise channel display
1252+ static const char NOISE[] = {' L' , ' M' , ' H' , ' C' };
12511253
12521254 const bool m_bDisplayFlat = theApp.GetSettings ()->General .bDisplayFlats ;
12531255
@@ -1325,8 +1327,8 @@ void CPatternEditor::DrawCell(CDC *pDC, int PosX, int Column, int Channel, bool
13251327 default :
13261328 if (pTrackerChannel->GetID () == CHANID_NOISE) {
13271329 // Noise
1328- char NoiseFreq = (pNoteData->Note - 1 + pNoteData->Octave * 12 ) & 0x0F ;
1329- DrawChar (pDC, PosX, PosY, HEX [NoiseFreq], pColorInfo->Note );
1330+ char NoiseFreq = (pNoteData->Note - 1 + pNoteData->Octave * 12 ) & 0x03 ; // // //
1331+ DrawChar (pDC, PosX, PosY, NOISE [NoiseFreq], pColorInfo->Note );
13301332 DrawChar (pDC, PosX + CHAR_WIDTH, PosY, ' -' , pColorInfo->Note );
13311333 DrawChar (pDC, PosX + CHAR_WIDTH * 2 , PosY, ' #' , pColorInfo->Note );
13321334 }
0 commit comments