Fixed spelling errors

Fixed some spelling errors found by Lintian while checking the Debian
package of LMMS. Thanks to Patrick Winnertz for pointing out this issue.
(cherry picked from commit 9fd3dacb67)
This commit is contained in:
Tobias Doerffel
2010-01-25 23:22:16 +01:00
parent 1ad1c99e35
commit 7c16094811
66 changed files with 139 additions and 139 deletions

View File

@@ -539,7 +539,7 @@ void AudioFileProcessorView::modelChanged( void )
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return new audioFileProcessor(

View File

@@ -101,7 +101,7 @@ bool bassBoosterEffect::processAudioBuffer( sampleFrame * _buf,
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return( new bassBoosterEffect( _parent,

View File

@@ -575,7 +575,7 @@ void bitInvaderView::normalizeToggled( bool value )
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return( new bitInvader( static_cast<InstrumentTrack *>( _data ) ) );

View File

@@ -1871,7 +1871,7 @@ void FlpImport::processPluginParams( FL_Channel * _ch )
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return new FlpImport( QString::fromUtf8(

View File

@@ -253,7 +253,7 @@ void kickerInstrumentView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return new kickerInstrument( static_cast<InstrumentTrack *>( _data ) );

View File

@@ -60,7 +60,7 @@ Plugin::Descriptor PLUGIN_EXPORT ladspabrowser_plugin_descriptor =
} ;
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return new ladspaBrowser;

View File

@@ -566,7 +566,7 @@ sample_rate_t LadspaEffect::maxSamplerate( const QString & _name )
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return new LadspaEffect( _parent,

View File

@@ -977,7 +977,7 @@ void lb302SynthView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{

View File

@@ -829,7 +829,7 @@ void lb303SynthView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{

View File

@@ -560,7 +560,7 @@ void MidiImport::error()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return new MidiImport( QString::fromUtf8(

View File

@@ -563,7 +563,7 @@ void OscillatorObject::updateDetuning()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return( new organicInstrument( static_cast<InstrumentTrack *>( _data ) ) );

View File

@@ -732,7 +732,7 @@ void papuInstrumentView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return( new papuInstrument(

View File

@@ -124,7 +124,7 @@ bool PeakControllerEffect::processAudioBuffer( sampleFrame * _buf,
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return new PeakControllerEffect( _parent,

View File

@@ -1101,7 +1101,7 @@ void sf2InstrumentView::showPatchDialog()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * lmms_plugin_main( Model *, void * _data )
{
return new sf2Instrument( static_cast<InstrumentTrack *>( _data ) );

View File

@@ -815,7 +815,7 @@ void sidInstrumentView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return( new sidInstrument(

View File

@@ -163,7 +163,7 @@ bool spectrumAnalyzer::processAudioBuffer( sampleFrame * _buf,
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return( new spectrumAnalyzer( _parent,

View File

@@ -163,7 +163,7 @@ void stereoEnhancerEffect::clearMyBuffer()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return( new stereoEnhancerEffect( _parent,

View File

@@ -112,7 +112,7 @@ bool stereoMatrixEffect::processAudioBuffer( sampleFrame * _buf,
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model * _parent, void * _data )
{
return( new stereoMatrixEffect( _parent,

View File

@@ -654,7 +654,7 @@ malletsSynth::malletsSynth( const StkFloat _pitch,
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * lmms_plugin_main( Model *, void * _data )
{
return new malletsInstrument( static_cast<InstrumentTrack *>( _data ) );

View File

@@ -790,7 +790,7 @@ void TripleOscillatorView::modelChanged()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return new TripleOscillator( static_cast<InstrumentTrack *>( _data ) );

View File

@@ -481,7 +481,7 @@ void VestigeInstrumentView::paintEvent( QPaintEvent * )
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * lmms_plugin_main( Model *, void * _data )
{
return new vestigeInstrument( static_cast<InstrumentTrack *>( _data ) );

View File

@@ -543,7 +543,7 @@ vibedView::vibedView( Instrument * _instrument,
m_stringSelector->setAccessibleName( tr( "String" ) );
m_stringSelector->setWhatsThis( tr(
"The String selector is used to choose which string the controls are "
"editting. A Vibed instrument can contain up to nine independently "
"editing. A Vibed instrument can contain up to nine independently "
"vibrating strings. The LED in the lower right corner of the "
"waveform editor indicates whether the selected string is active." ) );
@@ -779,7 +779,7 @@ void vibedView::displayHelp()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{
return( new vibed( static_cast<InstrumentTrack *>( _data ) ) );

View File

@@ -174,7 +174,7 @@ void VstEffect::closePlugin()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * lmms_plugin_main( Model * _parent, void * _data )
{
return new VstEffect( _parent,

View File

@@ -94,7 +94,7 @@
Programul incepe sa fie controlabil de Interfata
02 Aug 2002 - Inlaturat o eroare stupida care facea ca sa se seteze valorile EnvelopeParams la -1 (scria din Master:: prea mult)
03 Aug 2002 - Terminata interfata pentru ADnoteParameters.GlobalPars
Adaugat inca un parametru la lfo (continous LFO) care faca ca LFO-ul sa nu inceapa la fiecare NoteOn
Adaugat inca un parametru la lfo (continuous LFO) care faca ca LFO-ul sa nu inceapa la fiecare NoteOn
Corectat doua erori la ...[nvoice].AmpEnvelope si ...[nvoice].FreqEnvelope
Scrisa interfata pentru ADnoteParameters.VoicePars (fara FM+OSCIL...)
04 Aug 2002 - Scrisa interfata cu FM (fara Oscil)
@@ -680,8 +680,8 @@
- Corectata eroare care facea ca sa nu mearga MIDI
- LANSAT PE INTERNET - VERSIUNEA (2.0.0pre2 VST)
--------------------------------------------------------------------------------------------------
13 Aug 2004 - Inceput sa scriu modurile continous si discrete la PADnote
14 Aug 2004 - Terminat modul continous la PADnote
13 Aug 2004 - Inceput sa scriu modurile continuous si discrete la PADnote
14 Aug 2004 - Terminat modul continuous la PADnote
- Corectata o mica eroare la OscilGen care facea daca adaptive harmonics e activ si phase randomness>0 sa rezulte si aleatorism in amplitudinile armonicelor
- Inceput sa scriu Presets/Clipboard (Clipboardul, in stadiu actual va putea copia doar parametrii folositi si nu cei dezactivati)
- Merge partial partea de Copy in clipboard

View File

@@ -411,7 +411,7 @@ void ZynAddSubFxView::toggleUI()
extern "C"
{
// neccessary for getting instance out of shared lib
// necessary for getting instance out of shared lib
Plugin * PLUGIN_EXPORT lmms_plugin_main( Model *, void * _data )
{

View File

@@ -284,7 +284,7 @@ load_fonts(Display *dpy,
}
/*********************************************************************/
/** Creates an array of XFontStruct acording to the comma separated **/
/** Creates an array of XFontStruct according to the comma separated **/
/** list of fonts. XLoad all fonts. **/
/*********************************************************************/
XUtf8FontStruct *

View File

@@ -33,7 +33,7 @@ LFOParams::LFOParams(char Pfreq_,
char PLFOtype_,
char Prandomness_,
char Pdelay_,
char Pcontinous_,
char Pcontinuous_,
char fel_):Presets()
{
switch(fel_) {
@@ -53,7 +53,7 @@ LFOParams::LFOParams(char Pfreq_,
DLFOtype = PLFOtype_;
Drandomness = Prandomness_;
Ddelay = Pdelay_;
Dcontinous = Pcontinous_;
Dcontinuous = Pcontinuous_;
fel = fel_;
time = 0;
@@ -71,7 +71,7 @@ void LFOParams::defaults()
PLFOtype = DLFOtype;
Prandomness = Drandomness;
Pdelay = Ddelay;
Pcontinous = Dcontinous;
Pcontinuous = Dcontinuous;
Pfreqrand = 0;
Pstretch = 64;
}
@@ -87,7 +87,7 @@ void LFOParams::add2XML(XMLwrapper *xml)
xml->addpar("randomness_frequency", Pfreqrand);
xml->addpar("delay", Pdelay);
xml->addpar("stretch", Pstretch);
xml->addparbool("continous", Pcontinous);
xml->addparbool("continuous", Pcontinuous);
}
void LFOParams::getfromXML(XMLwrapper *xml)
@@ -100,6 +100,6 @@ void LFOParams::getfromXML(XMLwrapper *xml)
Pfreqrand = xml->getpar127("randomness_frequency", Pfreqrand);
Pdelay = xml->getpar127("delay", Pdelay);
Pstretch = xml->getpar127("stretch", Pstretch);
Pcontinous = xml->getparbool("continous", Pcontinous);
Pcontinuous = xml->getparbool("continuous", Pcontinuous);
}

View File

@@ -35,7 +35,7 @@ class LFOParams:public Presets
char PLFOtype_,
char Prandomness_,
char Pdelay_,
char Pcontinous,
char Pcontinuous,
char fel_);
~LFOParams();
@@ -52,11 +52,11 @@ class LFOParams:public Presets
unsigned char Prandomness; /**<randomness (0=off)*/
unsigned char Pfreqrand; /**<frequency randomness (0=off)*/
unsigned char Pdelay; /**<delay (0=off)*/
unsigned char Pcontinous; /**<1 if LFO is continous*/
unsigned char Pcontinuous; /**<1 if LFO is continuous*/
unsigned char Pstretch; /**<how the LFO is "stretched" according the note frequency (64=no stretch)*/
int fel; //what kind is the LFO (0 - frequency, 1 - amplitude, 2 - filter)
static int time; //is used by Pcontinous parameter
static int time; //is used by Pcontinuous parameter
private:
/* Default parameters */
unsigned char Dfreq;
@@ -65,7 +65,7 @@ class LFOParams:public Presets
unsigned char DLFOtype;
unsigned char Drandomness;
unsigned char Ddelay;
unsigned char Dcontinous;
unsigned char Dcontinuous;
};
#endif

View File

@@ -52,7 +52,7 @@ class PADnoteParameters:public Presets
//parameters
//the mode: 0 - bandwidth, 1 - discrete (bandwidth=0), 2 - continous
//the mode: 0 - bandwidth, 1 - discrete (bandwidth=0), 2 - continuous
//the harmonic profile is used only on mode 0
unsigned char Pmode;

View File

@@ -115,7 +115,7 @@ int MIDIFile::parsemidifile(MIDIEvents *me_)
}
printf("\n\nCURRENT File position is = 0x%x\n", midifilek);
printf("\nMIDI file succesfully parsed.\n");
printf("\nMIDI file successfully parsed.\n");
// printf("\n0x%x\n",getbyte());
this->me = NULL;

View File

@@ -38,7 +38,7 @@ LFO::LFO(LFOParams *lfopars, REALTYPE basefreq)
(pow(2, lfopars->Pfreq * 10.0) - 1.0) / 12.0 * lfostretch;
incx = fabs(lfofreq) * (REALTYPE)SOUND_BUFFER_SIZE / (REALTYPE)SAMPLE_RATE;
if(lfopars->Pcontinous == 0) {
if(lfopars->Pcontinuous == 0) {
if(lfopars->Pstartphase == 0)
x = RND;
else

View File

@@ -1050,7 +1050,7 @@ Fl_Group* ADvoiceUI::make_window() {
o->value(pars->VoicePar[nvoice].Pfixedfreq);
} // Fl_Check_Button* o
{ WidgetPDial* o = fixedfreqetdial = new WidgetPDial(405, 255, 15, 15, "Eq.T.");
fixedfreqetdial->tooltip("How the frequency varies acording to the keyboard (leftmost for fixed frequen\
fixedfreqetdial->tooltip("How the frequency varies according to the keyboard (leftmost for fixed frequen\
cy)");
fixedfreqetdial->box(FL_ROUND_UP_BOX);
fixedfreqetdial->color(FL_BACKGROUND_COLOR);

View File

@@ -481,7 +481,7 @@ if (x==0) fixedfreqetdial->deactivate();
Fl_Dial fixedfreqetdial {
label {Eq.T.}
callback {pars->VoicePar[nvoice].PfixedfreqET=(int) o->value();}
tooltip {How the frequency varies acording to the keyboard (leftmost for fixed frequency)} xywh {405 255 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
tooltip {How the frequency varies according to the keyboard (leftmost for fixed frequency)} xywh {405 255 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
code0 {o->value(pars->VoicePar[nvoice].PfixedfreqET);}
code1 {if (pars->VoicePar[nvoice].Pfixedfreq==0) o->deactivate();}
class WidgetPDial

View File

@@ -57,11 +57,11 @@ Fl_Menu_Item LFOUI::menu_LFOtype[] = {
{0,0,0,0,0,0,0,0,0}
};
void LFOUI::cb_continous_i(Fl_Check_Button* o, void*) {
pars->Pcontinous=(int)o->value();
void LFOUI::cb_continuous_i(Fl_Check_Button* o, void*) {
pars->Pcontinuous=(int)o->value();
}
void LFOUI::cb_continous(Fl_Check_Button* o, void* v) {
((LFOUI*)(o->parent()->parent()->user_data()))->cb_continous_i(o,v);
void LFOUI::cb_continuous(Fl_Check_Button* o, void* v) {
((LFOUI*)(o->parent()->parent()->user_data()))->cb_continuous_i(o,v);
}
void LFOUI::cb_freqrand_i(WidgetPDial* o, void*) {
@@ -203,13 +203,13 @@ Fl_Group* LFOUI::make_window() {
LFOtype->align(Fl_Align(FL_ALIGN_BOTTOM));
LFOtype->menu(menu_LFOtype);
} // Fl_Choice* LFOtype
{ continous = new Fl_Check_Button(165, 35, 15, 15, "C.");
continous->tooltip("Continous LFO");
continous->down_box(FL_DOWN_BOX);
continous->labelsize(10);
continous->callback((Fl_Callback*)cb_continous);
continous->align(Fl_Align(FL_ALIGN_BOTTOM));
} // Fl_Check_Button* continous
{ continuous = new Fl_Check_Button(165, 35, 15, 15, "C.");
continuous->tooltip("Continuous LFO");
continuous->down_box(FL_DOWN_BOX);
continuous->labelsize(10);
continuous->callback((Fl_Callback*)cb_continuous);
continuous->align(Fl_Align(FL_ALIGN_BOTTOM));
} // Fl_Check_Button* continuous
{ freqrand = new WidgetPDial(205, 7, 20, 20, "F.R.");
freqrand->tooltip("LFO Frequency Randomness");
freqrand->box(FL_ROUND_UP_BOX);
@@ -268,7 +268,7 @@ void LFOUI::refresh() {
intensity->value(pars->Pintensity);
startphase->value(pars->Pstartphase);
delay->value(pars->Pdelay);
continous->value(pars->Pcontinous);
continuous->value(pars->Pcontinuous);
stretch->value(pars->Pstretch);
randomness->value(pars->Prandomness);
freqrand->value(pars->Pfreqrand);

View File

@@ -119,10 +119,10 @@ hide();
xywh {70 70 100 20} labelfont 1 labelsize 10
}
}
Fl_Check_Button continous {
Fl_Check_Button continuous {
label {C.}
callback {pars->Pcontinous=(int)o->value();}
tooltip {Continous LFO} xywh {165 35 15 15} down_box DOWN_BOX labelsize 10 align 2
callback {pars->Pcontinuous=(int)o->value();}
tooltip {Continuous LFO} xywh {165 35 15 15} down_box DOWN_BOX labelsize 10 align 2
}
Fl_Dial freqrand {
label {F.R.}
@@ -154,7 +154,7 @@ hide();
intensity->value(pars->Pintensity);
startphase->value(pars->Pstartphase);
delay->value(pars->Pdelay);
continous->value(pars->Pcontinous);
continuous->value(pars->Pcontinuous);
stretch->value(pars->Pstretch);
randomness->value(pars->Prandomness);
freqrand->value(pars->Pfreqrand);

View File

@@ -56,10 +56,10 @@ private:
static void cb_LFOtype(Fl_Choice*, void*);
static Fl_Menu_Item menu_LFOtype[];
public:
Fl_Check_Button *continous;
Fl_Check_Button *continuous;
private:
void cb_continous_i(Fl_Check_Button*, void*);
static void cb_continous(Fl_Check_Button*, void*);
void cb_continuous_i(Fl_Check_Button*, void*);
static void cb_continuous(Fl_Check_Button*, void*);
public:
WidgetPDial *freqrand;
private:

View File

@@ -516,7 +516,7 @@ void PADnoteUI::cb_spectrummode(Fl_Choice* o, void* v) {
Fl_Menu_Item PADnoteUI::menu_spectrummode[] = {
{"Bandwidth", 0, 0, 0, 0, FL_NORMAL_LABEL, 1, 11, 0},
{"Discrete", 0, 0, 0, 0, FL_NORMAL_LABEL, 1, 11, 0},
{"Continous", 0, 0, 0, 0, FL_NORMAL_LABEL, 1, 11, 0},
{"Continuous", 0, 0, 0, 0, FL_NORMAL_LABEL, 1, 11, 0},
{0,0,0,0,0,0,0,0,0}
};
@@ -1149,7 +1149,7 @@ Fl_Double_Window* PADnoteUI::make_window() {
o->value(pars->Pfixedfreq);
} // Fl_Check_Button* hz440
{ WidgetPDial* o = fixedfreqetdial = new WidgetPDial(420, 295, 15, 15, "Eq.T.");
fixedfreqetdial->tooltip("How the frequency varies acording to the keyboard (leftmost for fixed frequen\
fixedfreqetdial->tooltip("How the frequency varies according to the keyboard (leftmost for fixed frequen\
cy)");
fixedfreqetdial->box(FL_ROUND_UP_BOX);
fixedfreqetdial->color(FL_BACKGROUND_COLOR);

View File

@@ -762,7 +762,7 @@ cbwidget->do_callback();}
xywh {125 125 100 20} labelfont 1 labelsize 11
}
MenuItem {} {
label Continous
label Continuous
xywh {115 115 100 20} labelfont 1 labelsize 11
}
}
@@ -842,7 +842,7 @@ if (x==0) fixedfreqetdial->deactivate();
Fl_Dial fixedfreqetdial {
label {Eq.T.}
callback {pars->PfixedfreqET=(int) o->value();}
tooltip {How the frequency varies acording to the keyboard (leftmost for fixed frequency)} xywh {420 295 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
tooltip {How the frequency varies according to the keyboard (leftmost for fixed frequency)} xywh {420 295 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
code0 {o->value(pars->PfixedfreqET);}
code1 {if (pars->Pfixedfreq==0) o->deactivate();}
class WidgetPDial

View File

@@ -513,7 +513,7 @@ Fl_Double_Window* SUBnoteUI::make_window() {
o->value(pars->Pfixedfreq);
} // Fl_Check_Button* hz440
{ WidgetPDial* o = fixedfreqetdial = new WidgetPDial(610, 45, 15, 15, "Eq.T.");
fixedfreqetdial->tooltip("How the frequency varies acording to the keyboard (leftmost for fixed frequen\
fixedfreqetdial->tooltip("How the frequency varies according to the keyboard (leftmost for fixed frequen\
cy)");
fixedfreqetdial->box(FL_ROUND_UP_BOX);
fixedfreqetdial->color(FL_BACKGROUND_COLOR);

View File

@@ -276,7 +276,7 @@ if (x==0) fixedfreqetdial->deactivate();
Fl_Dial fixedfreqetdial {
label {Eq.T.}
callback {pars->PfixedfreqET=(int) o->value();}
tooltip {How the frequency varies acording to the keyboard (leftmost for fixed frequency)} xywh {610 45 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
tooltip {How the frequency varies according to the keyboard (leftmost for fixed frequency)} xywh {610 45 15 15} box ROUND_UP_BOX labelsize 10 align 8 maximum 127 step 1
code0 {o->value(pars->PfixedfreqET);}
code1 {if (pars->Pfixedfreq==0) o->deactivate();}
class WidgetPDial