Skip to content

Commit

Permalink
Typos.
Browse files Browse the repository at this point in the history
  • Loading branch information
sletz committed Sep 23, 2019
1 parent 2d02be4 commit 2905ebe
Show file tree
Hide file tree
Showing 8 changed files with 9 additions and 9 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare author "Romain Michon ([email protected])";
declare copyright "Romain Michon";
declare version "1.0";
declare licence "STK-4.3"; // Synthesis Tool Kit 4.3 (MIT style license);
declare description "A simple flute based on Smith algorythm: https://ccrma.stanford.edu/~jos/pasp/Flutes_Recorders_Pipe_Organs.html";
declare description "A simple flute based on Smith algorithm: https://ccrma.stanford.edu/~jos/pasp/Flutes_Recorders_Pipe_Organs.html";

import("music.lib");
import("instrument.lib");
Expand Down
4 changes: 2 additions & 2 deletions examples/physicalModeling/faust-stk/NLFfm.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -59,10 +59,10 @@ NLFM = nonLinearModulator((nonLinearity : si.smoo),envelopeMod,freq,
//the frequency period in number of samples
stereo = stereoizer(ma.SR/freq);

//vibrato gain is controled by envVibrato (declared in instruments.lib)
//vibrato gain is controlled by envVibrato (declared in instruments.lib)
vibrato = os.osc(vibratoFreq)*vibratoGain*envVibrato(0.1*2*vibratoAttack,0.9*2*vibratoAttack,100,vibratoRelease,gate);

//output gain is controled by an adsr envelope
//output gain is controlled by an adsr envelope
envelope = en.adsr(envelopeAttack,envelopeDecay,0.9,envelopeRelease,gate)*gain;
breath = envelope + envelope*vibrato;

Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/flute.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ declare author "Romain Michon ([email protected])";
declare copyright "Romain Michon";
declare version "1.0";
declare licence "STK-4.3"; // Synthesis Tool Kit 4.3 (MIT style license);
declare description "A simple flute based on Smith algorythm: https://ccrma.stanford.edu/~jos/pasp/Flutes_Recorders_Pipe_Organs.html";
declare description "A simple flute based on Smith algorithm: https://ccrma.stanford.edu/~jos/pasp/Flutes_Recorders_Pipe_Organs.html";

import("instruments.lib");

Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/fluteStk.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -96,7 +96,7 @@ stereo = stereoizer(ma.SR/freq);

//----------------------- Algorithm implementation ----------------------------

//the vibrato amplitude is controled by an envelope generator (declared in instruments.lib)
//the vibrato amplitude is controlled by an envelope generator (declared in instruments.lib)
vibrato = vibratoGain*envVibrato(vibratoBegin,vibratoAttack,100,vibratoRelease,gate)*os.osc(vibratoFreq);

//Breath pressure is controlled by an Attack / Decay / Sustain / Release envelope
Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/glassHarmonica.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -105,7 +105,7 @@ baseGainApp = 0.8999999999999999 + (0.1*baseGain);
velocityInputApp = integrationConstant;
velocityInput = velocityInputApp + _*baseGainApp,par(i,(nModes-1),(_*baseGainApp)) :> +;

//Bow velocity is controled by an ADSR envelope
//Bow velocity is controlled by an ADSR envelope
maxVelocity = 0.03 + 0.1*gain;
bowVelocity = maxVelocity*en.adsr(0.02,0.005,1,0.01,gate);

Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/tibetanBowl.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -129,7 +129,7 @@ baseGainApp = 0.8999999999999999 + (0.1*baseGain);
velocityInputApp = integrationConstant;
velocityInput = velocityInputApp + _*baseGainApp,par(i,(nModes-1),(_*baseGainApp)) :> +;

//Bow velocity is controled by an ADSR envelope
//Bow velocity is controlled by an ADSR envelope
maxVelocity = 0.03 + 0.1*gain;
bowVelocity = maxVelocity*en.adsr(0.02,0.005,1,0.01,gate);

Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/tunedBar.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -97,7 +97,7 @@ baseGainApp = 0.8999999999999999 + (0.1*baseGain);
velocityInputApp = integrationConstant;
velocityInput = velocityInputApp + _*baseGainApp,par(i,(nModes-1),(_*baseGainApp)) :> +;

//Bow velocity is controled by an ADSR envelope
//Bow velocity is controlled by an ADSR envelope
maxVelocity = 0.03 + 0.1*gain;
bowVelocity = maxVelocity*en.adsr(0.02,0.005,0.9,0.01,gate);

Expand Down
2 changes: 1 addition & 1 deletion examples/physicalModeling/faust-stk/uniBar.dsp
Original file line number Diff line number Diff line change
Expand Up @@ -75,7 +75,7 @@ baseGainApp = 0.8999999999999999 + (0.1*baseGain);
velocityInputApp = integrationConstant;
velocityInput = velocityInputApp + _*baseGainApp,par(i,(nModes-1),(_*baseGainApp)) :> +;

//Bow velocity is controled by an ADSR envelope
//Bow velocity is controlled by an ADSR envelope
maxVelocity = 0.03 + 0.1*gain;
bowVelocity = maxVelocity*en.adsr(0.02,0.005,0.9,0.01,gate);

Expand Down

0 comments on commit 2905ebe

Please sign in to comment.