I also needed a delay in samples and so I made an abstraction in Pd vanilla, delaying a signal with x number of  samples; for example a one sample delay is [delaysam 1]
I think this is the correct way of doing this without needing externals...
Hans

On 1/25/20 9:16 PM, Alexandre Torres Porres wrote:
cyclone/delay~ and else/ffdelay~ also allow for delay lines defined in samples (or ms)

but this can also be done in vanilla like people said (though somewhat inconvenient)

cheers

Em sáb., 25 de jan. de 2020 às 15:33, Ingo <i...@miamiwave.com <mailto:i...@miamiwave.com>> escreveu:

    Thanks guys!

    [zexy/z~] looks exactly like what I'm looking for!

    Ingo


    > you can just use [delwrite~] + [delread~], but you have to make
    sure that
    > they are scheduled in the right order, see
    "G05.execution.order.pd" in
    > "doc/3.audio.examples". Also, you have to convert from samples to
    > milliseconds.
    >
    > For convenience, I often use [z~] from zexy, which is a delay
    line in a
    > single
    > object, with the delay time given in samples.
    >
    > Christof
    >
    >
    > > Hi everybody!
    > >
    > > I'm planning on delaying a bandpass filter by samples to
    create a comb
    > > filter effect.
    > > Is this possible or can it be done only by audio blocks?
    > >
    > > If it is possible which object(s) would I use?
    > >
    > > Thanks
    > > Ingo






    _______________________________________________
    Pd-list@lists.iem.at <mailto:Pd-list@lists.iem.at> mailing list
    UNSUBSCRIBE and account-management ->
    https://lists.puredata.info/listinfo/pd-list


_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list


--
#N canvas 308 1008 450 311 10;
#X obj 79 47 inlet~;
#N canvas 101 1214 450 210 delay-write 0;
#X obj 63 15 inlet~;
#X obj 64 149 outlet~;
#X obj 122 95 delwrite~ \$0-delaysample 1000;
#X connect 0 0 2 0;
#X connect 0 0 1 0;
#X restore 80 91 pd delay-write;
#N canvas 787 998 349 300 delay-read 0;
#X obj 63 15 inlet~;
#X obj 65 205 outlet~;
#X obj 157 46 inlet~;
#X obj 64 148 +~;
#X obj 157 81 vd~ \$0-delaysample;
#X connect 0 0 3 0;
#X connect 2 0 4 0;
#X connect 3 0 1 0;
#X connect 4 0 3 1;
#X restore 79 250 pd delay-read;
#X obj 79 285 outlet~;
#X obj 305 114 \$1;
#X obj 302 23 loadbang;
#X obj 332 77 samplerate~;
#X obj 305 52 t b b;
#X obj 332 99 / 1000;
#X obj 305 153 /;
#X obj 378 183 print;
#X obj 305 189 pack 0 30;
#X obj 305 214 line~;
#X connect 0 0 1 0;
#X connect 1 0 2 0;
#X connect 2 0 3 0;
#X connect 4 0 9 0;
#X connect 5 0 7 0;
#X connect 6 0 8 0;
#X connect 7 0 4 0;
#X connect 7 1 6 0;
#X connect 8 0 9 1;
#X connect 9 0 10 0;
#X connect 9 0 11 0;
#X connect 11 0 12 0;
#X connect 12 0 2 1;
_______________________________________________
Pd-list@lists.iem.at mailing list
UNSUBSCRIBE and account-management -> 
https://lists.puredata.info/listinfo/pd-list

Reply via email to