Csound Csound-dev Csound-tekno Search About

freeverb UDO not working?

Date2015-12-24 10:43
FromRichard
Subjectfreeverb UDO not working?
Another mystery:
Why is this UDO not working:

opcode verby, aa, aa

ain1,ain2 xin

arev1,arev2 freeverb ain1,ain2,gk_roomSize,gk_HFdamp,sr,0

aout1 = (arev1*gk_revLev)+(ain1*(1-gk_revLev))

aout2 = (arev2*gk_revLev)+(ain2*(1-gk_revLev))

xout aout1, aout2

endop

I use it here:

isin ftgenonce 0, 0, 65536, 10, 1

avco vco iamp, ifreq, 1, 0.5, isin

amoog moogvcf avco, gk_env*kenv*k_freq + kenv*k_freq, gk_Q

kpan2 = (1 - gk_pan)*3.14159265*.5

kpanl = sin(kpan2)

kpanr = cos(kpan2)

;aL,aR freeverb kpanl*(amoog/2 + avco/4),kpanl*(amoog/2 + avco/4),gk_roomSize,gk_HFdamp,sr,0

aL,aR verby kpanl*(amoog/2 + avco/4), kpanr*(amoog/2 + avco/4)

When I call freeverb directly it does work...

Richard


Date2015-12-24 11:41
FromVictor Lazzarini
SubjectRe: freeverb UDO not working?
can you give us a fill CSD to test?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 24 Dec 2015, at 10:43, Richard <zappfinger@GMAIL.COM> wrote:

Another mystery:
Why is this UDO not working:

opcode verby, aa, aa

ain1,ain2 xin

arev1,arev2 freeverb ain1,ain2,gk_roomSize,gk_HFdamp,sr,0

aout1 = (arev1*gk_revLev)+(ain1*(1-gk_revLev))

aout2 = (arev2*gk_revLev)+(ain2*(1-gk_revLev))

xout aout1, aout2

endop

I use it here:

isin ftgenonce 0, 0, 65536, 10, 1

avco vco iamp, ifreq, 1, 0.5, isin

amoog moogvcf avco, gk_env*kenv*k_freq + kenv*k_freq, gk_Q

kpan2 = (1 - gk_pan)*3.14159265*.5

kpanl = sin(kpan2)

kpanr = cos(kpan2)

;aL,aR freeverb kpanl*(amoog/2 + avco/4),kpanl*(amoog/2 + avco/4),gk_roomSize,gk_HFdamp,sr,0

aL,aR verby kpanl*(amoog/2 + avco/4), kpanr*(amoog/2 + avco/4)

When I call freeverb directly it does work...

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2015-12-24 11:59
FromRichard
SubjectRe: freeverb UDO not working?
Attachmentstest.csd  
Sure, here's the csd.

Richard

On 24/12/15 12:41, Victor Lazzarini wrote:
can you give us a fill CSD to test?

Victor Lazzarini
Dean of Arts, Celtic Studies, and Philosophy
Maynooth University
Ireland

On 24 Dec 2015, at 10:43, Richard <zappfinger@GMAIL.COM> wrote:

Another mystery:
Why is this UDO not working:

opcode verby, aa, aa

ain1,ain2 xin

arev1,arev2 freeverb ain1,ain2,gk_roomSize,gk_HFdamp,sr,0

aout1 = (arev1*gk_revLev)+(ain1*(1-gk_revLev))

aout2 = (arev2*gk_revLev)+(ain2*(1-gk_revLev))

xout aout1, aout2

endop

I use it here:

isin ftgenonce 0, 0, 65536, 10, 1

avco vco iamp, ifreq, 1, 0.5, isin

amoog moogvcf avco, gk_env*kenv*k_freq + kenv*k_freq, gk_Q

kpan2 = (1 - gk_pan)*3.14159265*.5

kpanl = sin(kpan2)

kpanr = cos(kpan2)

;aL,aR freeverb kpanl*(amoog/2 + avco/4),kpanl*(amoog/2 + avco/4),gk_roomSize,gk_HFdamp,sr,0

aL,aR verby kpanl*(amoog/2 + avco/4), kpanr*(amoog/2 + avco/4)

When I call freeverb directly it does work...

Richard

Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here
Csound mailing list Csound@listserv.heanet.ie https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND Send bugs reports to https://github.com/csound/csound/issues Discussions of bugs and features can be posted here

Date2015-12-24 12:13
FromVictor Lazzarini
SubjectRe: freeverb UDO not working?
The signal going into the UDO is different (you use kpanl & kpanr, whereas in the freeverb you use kpanl only). The
signal coming out of the UDO is also different, as you don’t send the output of freeverb directly out.

Once these two things are equalised, the output of freeverb & verby sound the same to me.
========================
Dr Victor Lazzarini
Dean of Arts, Celtic Studies and Philosophy,
Maynooth University,
Maynooth, Co Kildare, Ireland
Tel: 00 353 7086936
Fax: 00 353 1 7086952 

> On 24 Dec 2015, at 11:59, Richard  wrote:
> 
> 

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here

Date2015-12-24 12:46
FromRichard
SubjectRe: freeverb UDO not working?
Thanks, I got it going now. I changed the gk variable to an input 
variable for the UDO and that worked.

On 24/12/15 13:13, Victor Lazzarini wrote:
> The signal going into the UDO is different (you use kpanl & kpanr, whereas in the freeverb you use kpanl only). The
> signal coming out of the UDO is also different, as you don’t send the output of freeverb directly out.
>
> Once these two things are equalised, the output of freeverb & verby sound the same to me.
> ========================
> Dr Victor Lazzarini
> Dean of Arts, Celtic Studies and Philosophy,
> Maynooth University,
> Maynooth, Co Kildare, Ireland
> Tel: 00 353 7086936
> Fax: 00 353 1 7086952
>
>> On 24 Dec 2015, at 11:59, Richard  wrote:
>>
>> 
> Csound mailing list
> Csound@listserv.heanet.ie
> https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
> Send bugs reports to
>          https://github.com/csound/csound/issues
> Discussions of bugs and features can be posted here

Csound mailing list
Csound@listserv.heanet.ie
https://listserv.heanet.ie/cgi-bin/wa?A0=CSOUND
Send bugs reports to
        https://github.com/csound/csound/issues
Discussions of bugs and features can be posted here