Skip to content

Commit

Permalink
Tiny letter case fixes in tunings.cpp (surge-synthesizer#1714)
Browse files Browse the repository at this point in the history
Midi->MIDI
hz->Hz
  • Loading branch information
mkruselj authored Apr 13, 2020
1 parent acaba7e commit 03cd58e
Showing 1 changed file with 4 additions and 4 deletions.
8 changes: 4 additions & 4 deletions src/common/Tunings.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -311,8 +311,8 @@ th {
<< "<li><a href=\"#rawscl\">Jump to Raw SCL</a>.\n"
<< "<li><a href=\"#rawkbm\">Jump to raw KBM</a>.\n"
<< "<li>Scale position 0 maps to key "
<< storage->currentMapping.middleNote << "\n<li> Midi note " << storage->currentMapping.tuningConstantNote << " is set to frequency "
<< storage->currentMapping.tuningFrequency << "hz.\n</ul> ";
<< storage->currentMapping.middleNote << "\n<li> MIDI note " << storage->currentMapping.tuningConstantNote << " is set to frequency "
<< storage->currentMapping.tuningFrequency << "Hz.\n</ul> ";
}
else
{
Expand Down Expand Up @@ -362,7 +362,7 @@ R"HTML(
<p>
<table>
<tr>
<th>Midi Note</th><th>Scale Position</th><th>Frequency</th>
<th>MIDI Note</th><th>Scale Position</th><th>Frequency</th>
</tr>
)HTML";
Expand All @@ -382,7 +382,7 @@ R"HTML(
while( tn < 0 ) tn += count;

auto p = storage->note_to_pitch(i);
htmls << "<td>" << (tn % count + 1) << "</td><td>" << 8.175798915 * p << " hz</td>";
htmls << "<td>" << (tn % count + 1) << "</td><td>" << 8.175798915 * p << " Hz</td>";
htmls << "</tr>\n";
}

Expand Down

0 comments on commit 03cd58e

Please sign in to comment.