Skip to content

Commit 59e46a5

Browse files
committed
add better help
1 parent 7758816 commit 59e46a5

File tree

3 files changed

+55
-14
lines changed

3 files changed

+55
-14
lines changed

plugins/ChowDSP/AnalogChew.schelp

Lines changed: 18 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -28,9 +28,23 @@ Variance determines how much randomness there is in determining the amount of sp
2828
EXAMPLES::
2929

3030
code::
31-
Ndef(\notam, {|freq=110, width=0.5|
32-
var sig = VarSaw.ar(freq, width: width);
33-
AnalogChew.ar(sig);
34-
}).play;
31+
s.boot // Boot the server
32+
33+
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
34+
35+
// move the mouse between the left and right to hear the differences
36+
// between no effect (left) and effected (right)
37+
(
38+
SynthDef(\chew, {| out = 0, bufnum = 0 |
39+
var snd=PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum),loop:1);
40+
var freq=LFTri.kr(1/3,Rand(0,2),0.5,0.5);
41+
var depth=LFTri.kr(1/4,Rand(0,2),0.5,0.5);
42+
var variance=LFTri.kr(1/5,Rand(0,2),0.5,0.5);
43+
snd=SelectX.ar(MouseX.kr(),[
44+
snd,
45+
AnalogChew.ar(snd,depth,freq,variance);
46+
]);
47+
Out.ar(out,snd!2);
48+
}).play(s, [\out, 0, \bufnum, b]);
3549
::
3650

plugins/ChowDSP/AnalogDegrade.schelp

Lines changed: 20 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -30,9 +30,25 @@ Envelope applies an amplitude envelope to the tape noise. 0.0 to 1.0.
3030
EXAMPLES::
3131

3232
code::
33-
Ndef(\notam, {|freq=110, width=0.5|
34-
var sig = VarSaw.ar(freq, width: width);
35-
AnalogDegrade.ar(sig);
36-
}).play;
33+
s.boot // Boot the server
34+
35+
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
36+
37+
// move the mouse between the left and right to hear the differences
38+
// between no effect (left) and effected (right)
39+
(
40+
SynthDef(\chew, {| out = 0, bufnum = 0 |
41+
var snd=PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum),loop:1);
42+
var depth=LFTri.kr(1/5,Rand(0,2),0.25,0.5);
43+
var amount=LFTri.kr(1/2,Rand(0,2),0.25,0.5);
44+
var variance=LFTri.kr(1/3,Rand(0,2),0.25,0.5);
45+
var envelope=LFTri.kr(1/4,Rand(0,2),0.25,0.5);
46+
snd=SelectX.ar(MouseX.kr(),[
47+
snd,
48+
AnalogDegrade.ar(snd,depth,amount,variance,envelope);
49+
]);
50+
Out.ar(out,snd!2);
51+
}).play(s, [\out, 0, \bufnum, b]);
52+
)
3753
::
3854

plugins/ChowDSP/AnalogLoss.schelp

Lines changed: 17 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ CATEGORIES::UGens>VirtualAnalog
66
DESCRIPTION::
77

88
This plugin is an analog tape loss emulation algorithm by Jatin Chowdhury, a mini version of the mindblowing link::https://github.com/jatinchowdhury18/AnalogTapeModel vst plugin::. For a deep dive, link::https://ccrma.stanford.edu/~jatin/420/tape/TapeModel_DAFx.pdf##see Chowdhury's paper on analog tape modelling::.
9-
This smaller version is mostly useful as a tape loss.
9+
This smaller version is mostly useful as a tape loss. It works mainly as a filter. Note that it uses high CPU whe modulating parameters.
1010

1111
CLASSMETHODS::
1212

@@ -33,9 +33,20 @@ fects, measured in inches per second (ips). 0.0 to 1.0.
3333
EXAMPLES::
3434

3535
code::
36-
Ndef(\notam, {|freq=110, width=0.5|
37-
var sig = VarSaw.ar(freq, width: width);
38-
AnalogLoss.ar(sig);
39-
}).play;
40-
::
36+
s.boot // Boot the server
37+
38+
b = Buffer.read(s, Platform.resourceDir +/+ "sounds/a11wlk01.wav");
39+
40+
// move the mouse between the left and right to hear the differences
41+
// between no effect (left) and effected (right)
42+
(
43+
SynthDef(\chew, {| out = 0, bufnum = 0 |
44+
var snd=PlayBuf.ar(1, bufnum, BufRateScale.kr(bufnum),loop:1);
45+
snd=SelectX.ar(MouseX.kr(),[
46+
snd,
47+
AnalogLoss.ar(snd,0.5,0.9,0.5,0.5);
48+
]);
49+
Out.ar(out,snd!2);
50+
}).play(s, [\out, 0, \bufnum, b]);
51+
)::
4152

0 commit comments

Comments
 (0)