Csound Csound-dev Csound-tekno Search About

[Csnd] Butterworth filters with samples

Date2009-05-19 16:22
Fromdavistro
Subject[Csnd] Butterworth filters with samples
i've been workig with samples, but now I'm using the butterworth filters with
the samples and I notice that when I reproduce de project, the song is
reproduced faster as it normally does. The question is, I don't know if it
is normally or if I'm doing sth wrong.

Here I show you, my program.

; inicializacion

sr = 44100
kr = 44100
ksmps = 1
nchnls = 2

instr 1
        
        a1,a2 diskin p5, p4

        a3        butterbp        a1,        p6,        p8
        a4        butterbp        a2,        p7,        p9

        outs a3, a4

;        soundout a1, "prueba.wav", 0

endin

i1 0 10 2 "Becoming Insane.wav"        300        30        300        30


I hope you can help me. Thank you very much
[10:19:08] … I've been workig with samples, but now I'm using the
butterworth filters with the samples and I notice that when I reproduce de
project, the song is reproduced faster as it normally does. The question is,
I don't know if it is normally or if I'm doing sth wrong.

Here I show you, my program.

; inicializacion

sr = 44100
kr = 44100
ksmps = 1
nchnls = 2

instr 1
        
        a1,a2 diskin p5, p4

        a3        butterbp        a1,        p6,        p8
        a4        butterbp        a2,        p7,        p9

        outs a3, a4

;        soundout a1, "prueba.wav", 0

endin

i1 0 10 2 "Becoming Insane.wav"        300        30        300        30


I hope you can help me. Thank you very much
-- 
View this message in context: http://www.nabble.com/Butterworth-filters-with-samples-tp23618583p23618583.html
Sent from the Csound - General mailing list archive at Nabble.com.



Date2009-05-19 17:19
Frompeiman khosravi
Subject[Csnd] Re: Butterworth filters with samples
that's because you're playing it back twice the original speed. Change p4 to 1 and it should play back normally (unless your orchestra sr is not the same as your sound-file).

Best
Peiman

2009/5/19 davistro <davistro@hotmail.com>

i've been workig with samples, but now I'm using the butterworth filters with
the samples and I notice that when I reproduce de project, the song is
reproduced faster as it normally does. The question is, I don't know if it
is normally or if I'm doing sth wrong.

Here I show you, my program.

; inicializacion

sr = 44100
kr = 44100
ksmps = 1
nchnls = 2

instr 1

       a1,a2 diskin p5, p4

       a3        butterbp        a1,        p6,        p8
       a4        butterbp        a2,        p7,        p9

       outs a3, a4

;        soundout a1, "prueba.wav", 0

endin

i1 0 10 2 "Becoming Insane.wav"        300        30        300        30


I hope you can help me. Thank you very much
[10:19:08] … I've been workig with samples, but now I'm using the
butterworth filters with the samples and I notice that when I reproduce de
project, the song is reproduced faster as it normally does. The question is,
I don't know if it is normally or if I'm doing sth wrong.

Here I show you, my program.

; inicializacion

sr = 44100
kr = 44100
ksmps = 1
nchnls = 2

instr 1

       a1,a2 diskin p5, p4

       a3        butterbp        a1,        p6,        p8
       a4        butterbp        a2,        p7,        p9

       outs a3, a4

;        soundout a1, "prueba.wav", 0

endin

i1 0 10 2 "Becoming Insane.wav"        300        30        300        30


I hope you can help me. Thank you very much
--
View this message in context: http://www.nabble.com/Butterworth-filters-with-samples-tp23618583p23618583.html
Sent from the Csound - General mailing list archive at Nabble.com.



Send bugs reports to this list.
To unsubscribe, send email sympa@lists.bath.ac.uk with body "unsubscribe csound"