Skip to content

Commit

Permalink
help: code format: insert space after comma [skip ci]
Browse files Browse the repository at this point in the history
search
,(?=\S)
replace
, (comma, space)
  • Loading branch information
mtmccrea committed May 11, 2024
1 parent d177b2c commit 3a960b5
Show file tree
Hide file tree
Showing 8 changed files with 8 additions and 8 deletions.
2 changes: 1 addition & 1 deletion HelpSource/Classes/FFT.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@ code::
in = WhiteNoise.ar(0.2);
chain = FFT(LocalBuf(2048), in);
chain = PV_RectComb(chain, 8, LFTri.kr(0.097, 0, 0.4, 0.5),
LFTri.kr(0.24, 0,-0.5, 0.5));
LFTri.kr(0.24, 0, -0.5, 0.5));
IFFT(chain)
}.play;
)
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/IdentityDictionary.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -178,7 +178,7 @@ Use a dictionary to represent timing information.

code::
(
SynthDef(\help_sinegrain,{ |out = 0, freq = 440, sustain = 0.05|
SynthDef(\help_sinegrain, { |out = 0, freq = 440, sustain = 0.05|
var env;
env = EnvGen.kr(Env.perc(0.01, sustain, 0.2), doneAction: Done.freeSelf);
Out.ar(out, SinOsc.ar(freq, 0.5pi, env))
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/MultiSliderView.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -257,7 +257,7 @@ code::
(
n = 20;
w = Window.new.front;
m = MultiSliderView(w, Rect(10, 10,n*13+2, 100)); //default thumbWidth is 13
m = MultiSliderView(w, Rect(10, 10, n*13+2, 100)); //default thumbWidth is 13
m.value = Array.fill(n, { |v| v*0.05 }); // size is set automatically when you set the value
m.action = { |q|
q.value.postln;
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/PatternConductor.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ p = Pbind(
\detune, Pfunc({ |ev| ev[\freq] * rand(0.01) }),
\sustain, Pwhite(log(0.1), log(20)).exp,
\dur, Prand([0.1, 0.1, 0.1, 0.1, 0.2, 1, 2], inf),
\db, Pstep(Pseq([-20,-30,-25,-30], inf), 0.2)
\db, Pstep(Pseq([-20, -30, -25, -30], inf), 0.2)
);

// unrelated cluster pattern running on TempoClock.default
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/Pgate.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -51,7 +51,7 @@ Pbind(
\scale, Scale.minor,
\foo, Pn(Pseq((0..2)), inf, \step1),
\degree, Pn(Pseq((0..7).mirror), inf, \step),
\ctranspose, Pgate(Pwhite(0, 5), inf, \step) + Pgate(Pseq([0, 7, 0,-7], inf), inf, \step1),
\ctranspose, Pgate(Pwhite(0, 5), inf, \step) + Pgate(Pseq([0, 7, 0, -7], inf), inf, \step1),
\dur, 0.2
).play
)
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/Post.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ code::
a = "a string";
b = 'a symbol';
c = 4;
d = [1, 2, 3, 4,a,b];
d = [1, 2, 3, 4, a, b];

// post as string
Post << a << Char.nl;
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/Pspawner.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -126,7 +126,7 @@ p.play;
(
// manipulate basic pattern with Pchain
Pchain(
Pbind(*[mtranspose: Pkey(\mtranspose) + Pdup(8, Prand([0,[0, 3,-2], [0, 2, 4]], inf))]), //make some notes into triads
Pbind(*[mtranspose: Pkey(\mtranspose) + Pdup(8, Prand([0, [0, 3, -2], [0, 2, 4]], inf))]), //make some notes into triads
Pbind(*[ctranspose: Pwhite(-0.1, 0.1)]), //add random detuning to notes
Pbind(*[\scale, Scale.minor]), //alter the scale
Pn(Pseq([p, (type: \rest, dur: 1.0)])), //repeat the pattern after a 1 second pause
Expand Down
2 changes: 1 addition & 1 deletion HelpSource/Classes/SCImageFilter.schelp
Original file line number Diff line number Diff line change
Expand Up @@ -233,7 +233,7 @@ specs = [

]; // CIStarShine opacity, CIZoomBlur

controller = SCWindow.new("Close Me First !!!", Rect(400, 400, 300,specs.size * 40));
controller = SCWindow.new("Close Me First !!!", Rect(400, 400, 300, specs.size * 40));
controller.view.decorator = FlowLayout(controller.view.bounds.insetBy(10), 10@10);
specs.size.do { |i|
SCSlider.new(controller, Rect(0, 0, 150, 20))
Expand Down

0 comments on commit 3a960b5

Please sign in to comment.