Skip to content

Commit

Permalink
Fix some spelling errors in lmms (#5151)
Browse files Browse the repository at this point in the history
  • Loading branch information
RossGammon authored and PhysSong committed Aug 26, 2019
1 parent 2cdb9f2 commit 4c2d894
Show file tree
Hide file tree
Showing 5 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion plugins/monstro/Monstro.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -328,7 +328,7 @@ void MonstroSynth::renderOutput( fpp_t _frames, sampleFrame * _buf )
float o1l_f;
float o1r_f;
float o1l_p = m_osc1l_phase + o1lpo; // we add phase offset here so we don't have to do it every frame
float o1r_p = m_osc1r_phase + o1rpo; // then substract it again after loop...
float o1r_p = m_osc1r_phase + o1rpo; // then subtract it again after loop...
float o1_pw;

// osc2 vars
Expand Down
2 changes: 1 addition & 1 deletion plugins/sid/envelope.cc
Original file line number Diff line number Diff line change
Expand Up @@ -134,7 +134,7 @@ reg16 EnvelopeGenerator::rate_counter_period[] = {
// of ENV3 with another timed loop to fully synchronize with ENV3.
//
// At the first period when an exponential counter period larger than one
// is used (decay or relase), one extra cycle is spent before the envelope is
// is used (decay or release), one extra cycle is spent before the envelope is
// decremented. The envelope output is then delayed one cycle until the state
// is changed to attack. Now one cycle less will be spent before the envelope
// is incremented, and the situation is normalized.
Expand Down
2 changes: 1 addition & 1 deletion src/core/audio/AudioPulseAudio.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -139,7 +139,7 @@ static void stream_state_callback( pa_stream *s, void * userdata )

case PA_STREAM_FAILED:
default:
qCritical( "Stream errror: %s\n",
qCritical( "Stream error: %s\n",
pa_strerror(pa_context_errno(
pa_stream_get_context( s ) ) ) );
}
Expand Down
2 changes: 1 addition & 1 deletion src/core/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -165,7 +165,7 @@ void printHelp()
" rendertracks <project> [options...] Render each track to a different file\n"
" upgrade <in> [out] Upgrade file <in> and save as <out>\n"
" Standard out is used if no output file\n"
" is specifed\n"
" is specified\n"
"\nGlobal options:\n"
" --allowroot Bypass root user startup check (use with\n"
" caution).\n"
Expand Down
4 changes: 2 additions & 2 deletions src/gui/widgets/EnvelopeAndLfoView.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -419,8 +419,8 @@ void EnvelopeAndLfoView::paintEvent( QPaintEvent * )
p.fillRect( x5, y_base - 1, 2, 2, end_points_color );


int LFO_GRAPH_W = s_lfoGraph->width() - 3; // substract border
int LFO_GRAPH_H = s_lfoGraph->height() - 6; // substract border
int LFO_GRAPH_W = s_lfoGraph->width() - 3; // subtract border
int LFO_GRAPH_H = s_lfoGraph->height() - 6; // subtract border
int graph_x_base = LFO_GRAPH_X + 2;
int graph_y_base = LFO_GRAPH_Y + 3 + LFO_GRAPH_H / 2;

Expand Down

0 comments on commit 4c2d894

Please sign in to comment.