From 1547269146594dc49bb8817c92db26876596d98a Mon Sep 17 00:00:00 2001 From: Frank Barknecht Date: Tue, 29 Apr 2003 09:19:26 +0000 Subject: Added the example patches and images. svn path=/trunk/; revision=599 --- doc/tutorials/footils/pddrums/pddrums.html | 26 +++++++++++++++++--------- 1 file changed, 17 insertions(+), 9 deletions(-) (limited to 'doc/tutorials/footils/pddrums/pddrums.html') diff --git a/doc/tutorials/footils/pddrums/pddrums.html b/doc/tutorials/footils/pddrums/pddrums.html index 9d87077e..9b167106 100644 --- a/doc/tutorials/footils/pddrums/pddrums.html +++ b/doc/tutorials/footils/pddrums/pddrums.html @@ -1,6 +1,6 @@ - + - + @@ -76,12 +76,15 @@ version of angriff is this: A nearly empty patch with a noise~ object inside, saved under the name "angriff-01.pd".

angriff-01.png

-

angriff-01.pd, an unusable first version.

+

angriff-01.pd, an unusable first version.

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_angriff-1.png

+

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.

drumcenter-01.png

-

Enveloped noise, drumcenter-01.pd

+

Enveloped noise, drumcenter-01.pd

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:

drumcenter-02.png

-

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

drumcenter-03.png

-

Cleaning up in the house, drumcenter-03.pd

+

Cleaning up in the house, drumcenter-03.pd

@@ -145,7 +148,7 @@ simulate this behaviour, we use PD's [osc~ frequency envelope as show in drumcenter-04.pd:

drumcenter-04.png

-

Percussive oscillator, drumcenter-04.pd

+

Percussive oscillator, drumcenter-04.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.

fastline.png

-

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.

+
+

t3-fastline.png

+

Two line~ segments started with delay, t3-fastline.pd

+
+

to be continued...

-- cgit v1.2.1