Fix minor typos
This commit is contained in:
parent
b397bbaa52
commit
dc3fa3fe6b
|
@ -1083,7 +1083,7 @@ void CConductor::realTimeEngine(int mSecTicks)
|
|||
{
|
||||
int channel = m_nextMidiEvent.channel();
|
||||
|
||||
// Is this this channel_muted
|
||||
// Is this channel_muted
|
||||
if (!hasPianistKeyboardChannel(channel))
|
||||
{
|
||||
if (getfollowState() >= PB_FOLLOW_earlyNotes &&
|
||||
|
|
|
@ -282,7 +282,7 @@ private:
|
|||
CPiano* m_piano;
|
||||
|
||||
CBar m_bar;
|
||||
int m_leadLagAdjust; // Synchronise the sound the the video
|
||||
int m_leadLagAdjust; // Synchronise the sound with the video
|
||||
int m_silenceTimeOut; // used to create silence if the student stops for toooo long
|
||||
CChord m_wantedChord; // The chord the pianist needs to play
|
||||
CChord m_savedWantedChord; // A copy of the wanted chord complete with both left and right parts
|
||||
|
|
|
@ -176,7 +176,7 @@ void CMidiDeviceFluidSynth::playMidiEvent(const CMidiEvent & event)
|
|||
break;
|
||||
|
||||
case MIDI_PITCH_BEND: //PITCH_BEND:
|
||||
// a 14 bit number LSB first 0x4000 is the off posintions
|
||||
// a 14 bit number LSB first 0x4000 is the off positions
|
||||
fluid_synth_pitch_bend(m_synth, channel, (event.data2() << 7) | event.data1());
|
||||
break;
|
||||
|
||||
|
|
|
@ -57,7 +57,7 @@ bool CSlot::addSymbol(CSymbol symbol)
|
|||
return true;
|
||||
break;
|
||||
}
|
||||
// move the previous entry up one possition
|
||||
// move the previous entry up one position
|
||||
m_symbols[i+1] = m_symbols[i];
|
||||
}
|
||||
m_symbols[i+1] = symbol;
|
||||
|
|
|
@ -59,7 +59,7 @@ void CPiano::spaceNoteBunch(unsigned int bottomIndex, unsigned int topIndex)
|
|||
if (gap < minNameGap)
|
||||
{
|
||||
gap = (minNameGap - gap)/2;
|
||||
m_noteNameList[midPoint].posY += gap; // then move the middle two notes apart by the same amout
|
||||
m_noteNameList[midPoint].posY += gap; // then move the middle two notes apart by the same amount
|
||||
m_noteNameList[midPoint-1].posY -= gap;
|
||||
}
|
||||
}
|
||||
|
|
|
@ -125,7 +125,7 @@ QDomElement CSettings::openDomElement(QDomElement parent, const QString & elemen
|
|||
|
||||
debugSettings(("openDomElement1 %s %s %s", qPrintable(parent.tagName()), qPrintable(elementName), qPrintable(elementName)));
|
||||
// There should be only a single element without a name
|
||||
// there should be lots of elemens but only one with this tag name
|
||||
// there should be lots of elements but only one with this tag name
|
||||
|
||||
QDomNode n = parent.firstChild();
|
||||
while(!n.isNull())
|
||||
|
@ -149,7 +149,7 @@ QDomElement CSettings::openDomElement(QDomElement parent, const QString & elemen
|
|||
|
||||
if (wantedElement.isNull())
|
||||
{
|
||||
// Create the element because it does not exsist
|
||||
// Create the element because it does not exist
|
||||
wantedElement = m_domDocument.createElement(elementName);
|
||||
if (!attributeName.isEmpty() )
|
||||
wantedElement.setAttribute("name", attributeName);
|
||||
|
@ -459,7 +459,7 @@ void CSettings::unzipBoosterMusicBooks()
|
|||
|
||||
#ifndef _WIN32
|
||||
|
||||
// on windows the the installer does the unzipping
|
||||
// on windows the installer does the unzipping
|
||||
if (!zipFile.exists() )
|
||||
{
|
||||
ppLogError(qPrintable("Cannot find " + ZIPFILENAME));
|
||||
|
|
Loading…
Reference in New Issue