Skip to content
GitLab
Projects
Groups
Snippets
Help
Loading...
Help
What's new
6
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Switch to GitLab Next
Sign in / Register
Toggle navigation
1
100 Sketches
Project overview
Project overview
Details
Activity
Releases
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Locked Files
Issues
0
Issues
0
List
Boards
Labels
Service Desk
Milestones
Iterations
Merge Requests
0
Merge Requests
0
Requirements
Requirements
List
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Test Cases
Security & Compliance
Security & Compliance
Dependency List
License Compliance
Operations
Operations
Incidents
Environments
Packages & Registries
Packages & Registries
Package Registry
Container Registry
Analytics
Analytics
CI / CD
Code Review
Insights
Issue
Repository
Value Stream
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kenneth Flak
100 Sketches
Commits
031b56f2
Commit
031b56f2
authored
Jul 03, 2020
by
Kenneth Flak
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
kullophone
parent
10721b7b
Changes
55
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
55 changed files
with
2503 additions
and
2270 deletions
+2503
-2270
a.scd
a.scd
+0
-0
audio/kullophone
audio/kullophone
+1
-0
init.scd
init.scd
+4
-1
potentialSketches.md
potentialSketches.md
+60
-0
pydondefaults.ini
pydondefaults.ini
+1
-1
seqs/fullCueListApril19.scd
seqs/fullCueListApril19.scd
+407
-406
sketches/bufreadwrite.scd
sketches/bufreadwrite.scd
+28
-0
sketches/coronaBreath.scd
sketches/coronaBreath.scd
+25
-25
sketches/coronaGlobal.scd
sketches/coronaGlobal.scd
+30
-30
sketches/coronaWhisper.scd
sketches/coronaWhisper.scd
+39
-37
sketches/coronaWhisperGrain.scd
sketches/coronaWhisperGrain.scd
+14
-18
sketches/coronaWhisperGrainKenneth.scd
sketches/coronaWhisperGrainKenneth.scd
+97
-100
sketches/cough.scd
sketches/cough.scd
+85
-85
sketches/em.scd
sketches/em.scd
+10
-0
sketches/focus.scd
sketches/focus.scd
+12
-11
sketches/kullophone.scd
sketches/kullophone.scd
+63
-0
sketches/mbArpeggiator.scd
sketches/mbArpeggiator.scd
+54
-54
sketches/mbBellulator.scd
sketches/mbBellulator.scd
+45
-41
sketches/mbBreath.scd
sketches/mbBreath.scd
+1
-2
sketches/mbCello.scd
sketches/mbCello.scd
+1
-1
sketches/mbFM.scd
sketches/mbFM.scd
+2
-1
sketches/mbFMdrone.scd
sketches/mbFMdrone.scd
+8
-8
sketches/mbFbnoise.scd
sketches/mbFbnoise.scd
+4
-3
sketches/mbFlutter.scd
sketches/mbFlutter.scd
+87
-87
sketches/mbFlutterSpeak.scd
sketches/mbFlutterSpeak.scd
+1
-0
sketches/mbLeavulator.scd
sketches/mbLeavulator.scd
+9
-0
sketches/mbMelodic.scd
sketches/mbMelodic.scd
+10
-8
sketches/mbScary.scd
sketches/mbScary.scd
+10
-13
sketches/mbShh.scd
sketches/mbShh.scd
+53
-44
sketches/mbSineFB.scd
sketches/mbSineFB.scd
+60
-59
sketches/mbTalkulator.scd
sketches/mbTalkulator.scd
+55
-55
sketches/mbTreeperculator.scd
sketches/mbTreeperculator.scd
+45
-36
sketches/mbTwinkle.scd
sketches/mbTwinkle.scd
+67
-58
sketches/mbTwinkleFB.scd
sketches/mbTwinkleFB.scd
+13
-14
sketches/mbWalkGravel.scd
sketches/mbWalkGravel.scd
+60
-49
sketches/metals.scd
sketches/metals.scd
+1
-1
sketches/numbers.scd
sketches/numbers.scd
+55
-46
sketches/rainRingMod.scd
sketches/rainRingMod.scd
+47
-46
sketches/rainRingModGrain.scd
sketches/rainRingModGrain.scd
+51
-51
sketches/rainulator.scd
sketches/rainulator.scd
+55
-56
sketches/runningWater.scd
sketches/runningWater.scd
+4
-4
sketches/scaryverksted.scd
sketches/scaryverksted.scd
+1
-2
sketches/sineRingMod.scd
sketches/sineRingMod.scd
+34
-34
sketches/singsong.scd
sketches/singsong.scd
+37
-37
sketches/stormEye.scd
sketches/stormEye.scd
+241
-241
sketches/stormulator.scd
sketches/stormulator.scd
+59
-61
sketches/ten.scd
sketches/ten.scd
+135
-135
sketches/tribal.scd
sketches/tribal.scd
+65
-65
sketches/trumpetInsects.scd
sketches/trumpetInsects.scd
+44
-44
sketches/trumpetdeltagrain.scd
sketches/trumpetdeltagrain.scd
+92
-92
sketches/trumpetulator.scd
sketches/trumpetulator.scd
+60
-53
sketches/unisonoBubbles.scd
sketches/unisonoBubbles.scd
+4
-0
sketches/velcroClean.scd
sketches/velcroClean.scd
+4
-4
sketches/velcrolator.scd
sketches/velcrolator.scd
+50
-51
stormulator/200611_142334.wav
stormulator/200611_142334.wav
+3
-0
No files found.
a.scd
0 → 100644
View file @
031b56f2
audio/kullophone
0 → 120000
View file @
031b56f2
/home/kf/mySamples/kullophone
\ No newline at end of file
init.scd
View file @
031b56f2
(
~root
=
"/home/kf/sc/100-sketches"
;
// ~root = "/home/kf/sc/100-sketches";
~root
=
PathName
(
thisProcess
.
nowExecutingPath
).
pathOnly
;
~sketchdir
=
~root
+/+
"sketches"
;
~sk
=
Dictionary
.
new
;
~skGain
=
Dictionary
.
new
;
...
...
@@ -97,3 +99,4 @@ s.waitForBoot({
// s.record("/home/kf/Videos/100-sketches-March/audio/angelSketchSuperCollider" ++ Date.getDate.stamp ++".wav");
// s.stopRecording;
potentialSketches.md
0 → 100644
View file @
031b56f2
# Potential sketches and their usage
## Tree
mbFM (brass-like sounds, works well together with mbWalkGravel)
mbWalkGravel
mbShh
mbTreeperculator
stormulator (into the depths kind of a thing, distorted whispers)
## Balancing Act on Water - on a stone, very still
focus Külli no 3
## Sand - Thinking Space On the Knees
mbBreath (granular, semi-percussive breath sounds) Külli no 1
## Water
mbArpeggiator
mbFlutter Külli no 4
mbFM (brass-like sounds)
mbFMdrone (steppy)
mbSineFB
metals
runningWater (clean water sound, no processing)
unisonoBubbles
## Grassy/bushy something
mbLeavulator
stormulator (into the depths kind of a thing, distorted whispers)
velcrolator
## In the darkness, maybe in the water between high grass
mbScary
## Close-up handstand
mbTwinkle
trumpetulator
## Forresty
coronaWhisperGrain (elvish whispers) Külli no 2
rainRingModGrain
mbFlutter (fast, squirrely)
## General background sound
rainulator
## Other stuff
velcroClean
## Deprecated, needs rewriting
mbTalkulator
guitardeltasingle
guitarDreams
fmDirection
sea
seaForest
pydondefaults.ini
View file @
031b56f2
...
...
@@ -8,7 +8,7 @@ hport = 57120
[serial]
baudrate
=
57600
serial
=
/dev/ttyUSB
1
serial
=
/dev/ttyUSB
0
apimode
=
True
[hive]
...
...
seqs/fullCueListApril19.scd
View file @
031b56f2
This diff is collapsed.
Click to expand it.
sketches/bufreadwrite.scd
0 → 100644
View file @
031b56f2
(
a
=
Array
.
fill
(
44100
,
{
0
});
b
=
Buffer
.
loadCollection
(
s
,
a
);
)
// mouse control for sin freq and rate deviation
(
SynthDef
(
"bufFb"
,
{
|
out
=
0
,
rate
=
1
,
amp
=
0.1
|
var
in
,
signal
;
in
=
LocalIn
.
ar
(
1
)
*
0.99
+
SinOsc
.
ar
(
LFNoise1
.
kr
.
range
(
100
,
2000
));
BufWr
.
ar
(
in
,
b
.
bufnum
,
Phasor
.
ar
(
0
,
BufRateScale
.
kr
(
0
)
*
MouseX
.
kr
(
0.99
,
1.01
).
poll
,
0
,
BufFrames
.
kr
(
0
)));
signal
=
BufRd
.
ar
(
1
,
b
.
bufnum
,
Phasor
.
ar
(
0
,
BufRateScale
.
kr
(
0
)
*
rate
,
0
,
BufFrames
.
kr
(
0
)));
// LocalOut.ar(signal.tanh);
LocalOut
.
ar
(
signal
);
OffsetOut
.
ar
(
out
,
Limiter
.
ar
(
signal
)
*
amp
);
}).
add
)
x
=
Synth
(
"bufFb"
)
x
.
free
linlin
sketches/coronaBreath.scd
View file @
031b56f2
(
// var mix = KFEnv.new([0, 0.3], [90], 5);
~coronaBreathFx
=
List
.
new
(
0
);
2
.
do
{
...
...
@@ -28,19 +27,19 @@
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaBreathFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaBreathFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaBreathFx
[
1
].
add
(
\eq
,
[
\locut
,
120
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
~coronaBreathFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaBreathFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaBreathFx
[
1
].
add
(
\eq
,
[
\locut
,
120
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
//---------------------------------------------------------
~coronaBreathFx
[
2
].
add
(
\greyhole
,
[
\delayTime
,
0.3
,
...
...
@@ -70,7 +69,7 @@
startPos
=
0
;
pos
=
(
startPos
,
(
startPos
+
step
)..(
startPos
+
len
));
pos
=
pos
.
select
({
|
i
|
i
<
numFrames
});
rate
=
1
;
attack
=
0.2
;
release
=
0.5
;
...
...
@@ -101,16 +100,17 @@
);
};
)
// (
// // s.record("/home/kf/sc/100-sketches/videos/audio/coronaBreath" ++ Date.getDate.stamp ++".wav");
// ~coronaBreathFx.do(_.play);
// ~coronaBreath.do(_.play);
// )
// (
// ~coronaBreathFx.do(_.free);
// ~coronaBreath.do(_.free);
// // SystemClock.sched(10, {s.stopRecording});
// )
(
// s.record("/home/kf/sc/100-sketches/videos/audio/coronaBreath" ++ Date.getDate.stamp ++".wav");
~coronaBreathFx
.
do
(
_
.
play
);
~coronaBreath
.
do
(
_
.
play
);
)
(
~coronaBreathFx
.
do
(
_
.
free
);
~coronaBreath
.
do
(
_
.
free
);
// SystemClock.sched(10, {s.stopRecording});
)
// s.plotTree
// ~buf[\coronaWhisper];
sketches/coronaGlobal.scd
View file @
031b56f2
(
this
.
executeFile
(
~sketchdir
+/+
"coronaWhisperGrain.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"coronaBreath.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"brPiano.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"coronaWhisperGrainKenneth.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"rainulator.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"stormulator.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"coronaWhisperGrain.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"coronaBreath.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"brPiano.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"coronaWhisperGrainKenneth.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"rainulator.scd"
);
this
.
executeFile
(
~sketchdir
+/+
"stormulator.scd"
);
~coronaWhisperGrainFx
.
do
(
_
.
play
);
~brPianoFx
.
do
(
_
.
play
);
~coronaBreathFx
.
do
(
_
.
play
);
~coronaWhisperGrainKennethFx
.
do
(
_
.
play
);
~rainulatorFx
.
play
;
~stormulatorFx
.
play
;
~coronaWhisperGrainFx
.
do
(
_
.
play
);
~brPianoFx
.
do
(
_
.
play
);
~coronaBreathFx
.
do
(
_
.
play
);
~coronaWhisperGrainKennethFx
.
do
(
_
.
play
);
~rainulatorFx
.
play
;
~stormulatorFx
.
play
;
~coronaWhisperGrain
[
0
].
play
;
~brPiano
[
1
].
play
;
~coronaBreath
[
2
].
play
;
~coronaWhisperGrainKenneth
[
4
].
play
;
~rainulator
[
6
].
play
;
~stormulator
[
7
].
play
;
~coronaWhisperGrain
[
0
].
play
;
~brPiano
[
1
].
play
;
~coronaBreath
[
2
].
play
;
~coronaWhisperGrainKenneth
[
4
].
play
;
~rainulator
[
6
].
play
;
~stormulator
[
7
].
play
;
)
(
~coronaWhisperGrainFx
.
do
(
_
.
free
);
~brPianoFx
.
do
(
_
.
free
);
~coronaBreathFx
.
do
(
_
.
free
);
~coronaWhisperGrainKennethFx
.
do
(
_
.
free
);
~rainulatorFx
.
free
;
~stormulatorFx
.
free
;
~coronaWhisperGrainFx
.
do
(
_
.
free
);
~brPianoFx
.
do
(
_
.
free
);
~coronaBreathFx
.
do
(
_
.
free
);
~coronaWhisperGrainKennethFx
.
do
(
_
.
free
);
~rainulatorFx
.
free
;
~stormulatorFx
.
free
;
~coronaWhisperGrain
[
0
].
free
;
~brPiano
[
1
].
free
;
~coronaBreath
[
2
].
free
;
~coronaWhisperGrainKenneth
[
4
].
free
;
~rainulator
[
6
].
free
;
~stormulator
[
7
].
free
;
~coronaWhisperGrain
[
0
].
free
;
~brPiano
[
1
].
free
;
~coronaBreath
[
2
].
free
;
~coronaWhisperGrainKenneth
[
4
].
free
;
~rainulator
[
6
].
free
;
~stormulator
[
7
].
free
;
)
sketches/coronaWhisper.scd
View file @
031b56f2
(
~coronaWhisperFx
=
FxChain
.
new
(
fadeInTime:
5
,
level:
0
.
dbamp
,
fadeOutTime:
5
,
out:
~masterBus
,
);
~coronaWhisperFx
.
add
(
\eq
,
[
\locut
,
60
,
]);
~coronaWhisperFx
.
add
(
\jpverb
,
[
\mix
,
0.3
,
\revtime
,
3
,
]);
~coronaWhisperFx
=
FxChain
.
new
(
fadeInTime:
5
,
level:
0
.
dbamp
,
fadeOutTime:
5
,
out:
~masterBus
,
);
~coronaWhisperFx
.
add
(
\eq
,
[
\locut
,
60
,
]);
~coronaWhisperFx
.
add
(
\jpverb
,
[
\mix
,
0.3
,
\revtime
,
3
,
]);
~coronaWhisper
=
~mb
.
collect
{
|
id
,
idx
|
MBDeltaTrig
.
new
(
speedlim:
0.5
,
threshold:
0.07
,
minibeeID:
id
,
minAmp:
-30
,
maxAmp:
-6
,
function:
{
|
dt
,
minAmp
,
maxAmp
|
Pbind
(
\instrument
,
\playbuf
,
\buf
,
Prand
(
~buf
[
\coronaWhisper
]),
\dur
,
Pfunc
({
|
ev
|
ev
.
buf
.
duration
*
0.5
}),
\release
,
Pkey
(
\dur
)
*
2
,
\loop
,
0
,
\legato
,
0.8
,
\db
,
dt
.
linlin
(
0.0
,
1.0
,
minAmp
,
maxAmp
),
\pan
,
Pwhite
(
-1.0
,
1.0
),
\out
,
~coronaWhisperFx
.
in
,
\group
,
~coronaWhisperFx
.
group
,
).
play
;
}
);
};
~coronaWhisper
=
~mb
.
collect
{
|
id
,
idx
|
MBDeltaTrig
.
new
(
speedlim:
0.5
,
threshold:
0.07
,
minibeeID:
id
,
minAmp:
-30
,
maxAmp:
-6
,
function:
{
|
dt
,
minAmp
,
maxAmp
|
Pbind
(
\instrument
,
\playbuf
,
\buf
,
Prand
(
~buf
[
\coronaWhisper
]),
\dur
,
Pfunc
({
|
ev
|
ev
.
buf
.
duration
*
0.5
}),
\release
,
Pkey
(
\dur
)
*
2
,
\loop
,
0
,
\legato
,
0.8
,
\db
,
dt
.
linlin
(
0.0
,
1.0
,
minAmp
,
maxAmp
),
\pan
,
Pwhite
(
-1.0
,
1.0
),
\out
,
~coronaWhisperFx
.
in
,
\group
,
~coronaWhisperFx
.
group
,
).
play
;
}
);
};
)
// (
// ~coronaWhisperFx.play;
// ~coronaWhisper.do(_.play);
// ~coronaWhisper[0..1].do(_.play);
// // ~coronaWhisper.do(_.play);
// )
// (
// ~coronaWhisperFx.free;
...
...
sketches/coronaWhisperGrain.scd
View file @
031b56f2
...
...
@@ -25,19 +25,19 @@
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaWhisperGrainFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaWhisperGrainFx
[
1
].
add
(
\eq
,
[
\locut
,
120
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
~coronaWhisperGrainFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaWhisperGrainFx
[
1
].
add
(
\eq
,
[
\locut
,
120
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
//---------------------------------------------------------
~coronaWhisperGrainFx
[
2
].
add
(
\greyhole
,
[
\delayTime
,
0.3
,
...
...
@@ -93,16 +93,12 @@
);
};
)
// (
// // s.record("/home/kf/sc/100-sketches/videos/audio/coronaWhisperGrain" ++ Date.getDate.stamp ++".wav");
// ~coronaWhisperGrainFx.do(_.play);
// ~coronaWhisperGrain.do(_.play);
// )
// (
// ~coronaWhisperGrainFx.do(_.free);
// ~coronaWhisperGrain.do(_.free);
// // SystemClock.sched(10, {s.stopRecording});
// )
// s.plotTree
// ~buf[\coronaWhisper];
sketches/coronaWhisperGrainKenneth.scd
View file @
031b56f2
(
// var mix = KFEnv.new([0, 0.3], [90], 5);
~coronaWhisperGrainKennethFx
=
List
.
new
(
0
);
2
.
do
{
~coronaWhisperGrainKennethFx
.
add
(
FxChain
.
new
(
fadeInTime:
5
,
level:
-22
.
dbamp
,
fadeOutTime:
5
,
out:
~masterBus
,
);
(
~coronaWhisperGrainKennethFx
=
List
.
new
(
0
);
2
.
do
{
~coronaWhisperGrainKennethFx
.
add
(
FxChain
.
new
(
fadeInTime:
5
,
level:
-9
.
dbamp
,
fadeOutTime:
5
,
out:
~masterBus
,
);
};
~coronaWhisperGrainKennethFx
[
0
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainKennethFx
[
0
].
addPar
(
\comb
,
[
\mix
,
0.2
,
\delay
,
0.17
,
\decay
,
4
,
\amp
,
1
/
3
],
\comb
,
[
\mix
,
0.2
,
\delay
,
0.3
,
\decay
,
4
,
\amp
,
1
/
3
],
\comb
,
[
\mix
,
0.2
,
\delay
,
0.4
,
\decay
,
4
,
\amp
,
1
/
3
],
);
~coronaWhisperGrainKennethFx
[
0
].
add
(
\eq
,
[
\locut
,
220
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaWhisperGrainKennethFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainKennethFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaWhisperGrainKennethFx
[
1
].
add
(
\eq
,
[
\locut
,
220
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaWhisperGrainKennethFx
[
2
].
add
(
\greyhole
,
[
\delayTime
,
0.3
,
\feedback
,
0.7
,
\mix
,
0.3
]);
//---------------------------------------------------------
);
};
~coronaWhisperGrainKennethFx
[
0
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainKennethFx
[
0
].
addPar
(
\comb
,
[
\mix
,
0.2
,
\delay
,
0.17
,
\decay
,
4
,
\amp
,
1
/
3
],
\comb
,
[
\mix
,
0.2
,
\delay
,
0.3
,
\decay
,
4
,
\amp
,
1
/
3
],
\comb
,
[
\mix
,
0.2
,
\delay
,
0.4
,
\decay
,
4
,
\amp
,
1
/
3
],
);
~coronaWhisperGrainKennethFx
[
0
].
add
(
\eq
,
[
\locut
,
220
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaWhisperGrainKennethFx
[
1
].
add
(
\compressor
,
[
\ratio
,
4
,
\threshold
,
-12
.
dbamp
,
]);
~coronaWhisperGrainKennethFx
[
1
].
add
(
\jpverb
,
[
\revtime
,
2
,
\mix
,
0.3
,
]);
~coronaWhisperGrainKennethFx
[
1
].
add
(
\eq
,
[
\locut
,
220
,
\hishelfdb
,
-6
,
\hishelffreq
,
400
,
]);
////---------------------------------------------------------
~coronaWhisperGrainKennethFx
[
2
].
add
(
\greyhole
,
[
\delayTime
,
0.3
,
\feedback
,
0.7
,
\mix
,
0.3
]);
//---------------------------------------------------------
~coronaWhisperGrainKenneth
=
~mb
.
collect
{
|
id
,
idx
|
MBDeltaTrig
.
new
(
speedlim:
0.5
,
threshold:
0.02
,
minibeeID:
id
,
minAmp:
-12
,
maxAmp:
-3
,
function:
{
|
dt
,
minAmp
,
maxAmp
|
var
startPos
,
currentFx
,
buf
,
numFrames
,
grainsize
,
numGrains
,
step
,
len
,
pos
,
rate
,
duration
,
attack
,
release
,
legato
;
buf
=
~buf
[
\coronaWhisperKenneth
].
choose
;
numFrames
=
buf
.
numFrames
;
grainsize
=
0.2
;
numGrains
=
20
;
step
=
grainsize
*
s
.
sampleRate
;
//in samples, not seconds....
len
=
dt
.
linlin
(
0.0
,
1.0
,
step
,
step
*
numGrains
);
startPos
=
rrand
(
0
,
numFrames
-
len
);
pos
=
(
startPos
,
startPos
+
step
..
startPos
+
len
);
startPos
=
pos
[
pos
.
size
-1
].
mod
(
numFrames
);
rate
=
1
;
duration
=
len
/
s
.
sampleRate
;
attack
=
0.2
;
release
=
duration
-
attack
;
legato
=
2
;
// legato = rrand(0.1, 2);
// rate = [0.5, 1.0].choose;
Pbind
(
\instrument
,
\playbuf
,
\buf
,
buf
,
\dur
,
grainsize
,
\attack
,
Pkey
(
\dur
)
*
2
,
\release
,
Pkey
(
\dur
)
*
2
,
\startPos
,
Pseq
(
pos
),
\legato
,
legato
,
\rate
,
Pwhite
(
0.99
,
1.01
),
\db
,
Pseg
([
-70
,
0
,
-70
],
[
attack
,
release
]),
\pan
,
Pwhite
(
-1.0
,
1.0
),
\out
,
Pfunc
({
currentFx
=
~coronaWhisperGrainKennethFx
.
choose
;
currentFx
.
in
}),
\group
,
Pfunc
({
currentFx
.
group
}),
).
play
;
~coronaWhisperGrainKenneth
=
~mb
.
collect
{
|
id
,
idx
|
MBDeltaTrig
.
new
(
speedlim:
0.5
,
threshold:
0.02
,
minibeeID:
id
,
minAmp:
-12
,
maxAmp:
-3
,
function:
{
|
dt
,
minAmp
,
maxAmp
|
var
startPos
,
currentFx
,
buf
,
numFrames
,
grainsize
,
numGrains
,
step
,
len
,
pos
,
rate
,
duration
,
attack
,
release
,
legato
;
buf
=
~buf
[
\coronaWhisperKenneth
].
choose
;
numFrames
=
buf
.
numFrames
;
grainsize
=
0.2
;
numGrains
=
20
;
step
=
grainsize
*
s
.
sampleRate
;
//in samples, not seconds....
len
=
dt
.
linlin
(
0.0
,
1.0
,
step
,
step
*
numGrains
);
startPos
=
rrand
(
0
,
numFrames
-
len
);
pos
=
(
startPos
,
startPos
+
step
..
startPos
+
len
);
startPos
=
pos
[
pos
.
size
-1
].
mod
(
numFrames
);
rate
=
1
;
duration
=
len
/
s
.
sampleRate
;
attack
=
0.2
;
release
=
duration
-
attack
;
legato
=
2
;
// rate = [0.5, 1.0].choose;
Pbind
(
\instrument
,
\playbuf
,
\buf
,
buf
,
\dur
,
grainsize
,
\attack
,
Pkey
(
\dur
)
*
2
,
\release
,
Pkey
(
\dur
)
*
2
,
\startPos
,
Pseq
(
pos
),
\legato
,
legato
,
\rate
,
Pwhite
(
0.99
,
1.01
),
\db
,
Pseg
([
-70
,
0
,
-70
],
[
attack
,
release
]),
\pan
,
Pwhite
(
-1.0
,
1.0
),
\out
,
Pfunc
({