From 1547269146594dc49bb8817c92db26876596d98a Mon Sep 17 00:00:00 2001
From: Frank Barknecht
Even this can be used as an object. Just create a new, empty patch (with "Ctrl-n"), put an object in it and call it "angriff-01", i.e. the name of our first drum patch without the .pd-suffix.
-Using the unusable angriff-01.pd in another patch.
+Using the unusable angriff-01.pd in another patch. using_angriff-1.pd
+PD searches for something that matches the object "angriff-01" in several places: in the list of builtin objects like "noise~", in external libraries or in its path for abstractions. If angriff-01.pd @@ -107,7 +110,7 @@ builtin envelope generator in PD is line~. drumcenter-01.pd show the noise, the envelope and both multiplied together.
If you listen to this patch, it already sounds a bit like a snare, doesn't it? To make this sound a bit more variable we can use filtered @@ -116,7 +119,7 @@ both, so lets use them. Her's the noise filtered with the lop~ filter at a cutoff frequency of 400 Hertz:
Lowpass filtered and enveloped noise, drumcenter-02.pd
+Lowpass filtered and enveloped noise, drumcenter-02.pd
Now our patch is beginning to get a bit crammed and chaotic, so let's replace some chords with "send" and "receive" pairs, abbreviated "s" and "r". @@ -132,7 +135,7 @@ are a full part of the surrounding patch. The special objects
Cleaning up in the house, drumcenter-03.pd
+Cleaning up in the house, drumcenter-03.pd
The right inlet of [osc~] is used here to set the start phase of the oscillator. If we wouldn't set it, it would be different everytime we @@ -172,7 +175,7 @@ around 1.45 msecs at a sampling rate of 44100 Hertz. A bit too long for the short attack times used in drum synths.
Two line~ segments started with delay, fastline.pd
+Two line~ segments started with delay, fastline.pd
This problem isn't trivial at all and it appears everywhere, one wants to contol messages in PD quicker than the signal blocksize allows, for @@ -186,6 +189,11 @@ floating-point number which specifies the delay in ms after which, counting from the current tick, the trigger should go off." We will now use the T3 break point envelope generator [t3_bpe] to generate faster envelopes.
+Two line~ segments started with delay, t3-fastline.pd
+to be continued...