Csound Csound-dev Csound-tekno Search About

Re: Reverb quest, again

Date1999-05-09 09:08
FromPaul Winkler
SubjectRe: Reverb quest, again
I wrote:
> Yeah, I've been using DAP as well. It's really nice, though there are
> some basic interface design things that really bug me (all those damn
> windows!) It has three reverb types -- Moorer, Schroeder, and Multi-Tap.
> I think the Moorer sounds pretty good, but using it on a five-minute
> file (which I want to do here) is enough to kill me.

Actually it was the Multi-Tap mode I was thinking of. It sounds smoother
than any reverb orc/sco I've heard in Csound yet except convolution.
Might be worth trying to read the source and translate it to Csound...
but I don't know when I'd ever have time for that.

I've been doing convolve in the past few days, and it really sounds
quite good, even with less-than-pristine impulse recordings such as I
can make myself by popping balloons. I just spent part of today down in
the basement doing that... I ran out of balloons before I got the hang
of it, but I did try convolution with some of the files I did get and
it's quite remarkable. And slow... it'll take some serious
next-generation hardware to get convolve in the realm of realtime.

To anyone wishing to try it, I found this file is really quite nice (if
a big download):
http://wwwvms.utexas.edu/~fredrics/domkyrkan1.aiff

Note that something seems to be wrong with the file-- I had to try
opening it with a few different apps before I got it to read OK. And it
seems to be truncated at 4.6 seconds, after which there's a whole lot of
silence. I smoothed out the ending by mixing in a little artificial
reverb of the real reverb, and chopped the silence.

Here's an orc and sco:

; orc based on example in manual by Greg Sullivan
; NOTE: sr should equal sr of convolve file for best results!
            
        sr = 44100
        kr = 441
        ksmps = 100
        nchnls = 2

        instr   1
iwetmix = 0.012 ; Wet/dry mix. Vary as desired.
		; I've found that very low levels of wet signal are
		; adequate.
idrymix = 1 - iwetmix
ivol = .7  ; Overall volume level of reverb. May need to adjust 
            ; when wet/dry mix is changed, to avoid clipping.
iwetmix = iwetmix * ivol
idrymix = idrymix * ivol
adry1, adry2    soundin "file_you_want_to_effect" 
awet1, awet2 convolve adry1,"domkyrkan1.cv" ; convolved (wet) audio
;;; for domkyrkan1.cv: 
;;; actually I think I accidentally truncated the sound by a bad
;;; download, so it may be a longer delay time is needed!
;;; See the manual!
idel = 4.6
            ; Subtract impulse response initial delay from idel...
            ; you can also use this to increase the reverb pre-delay,
            ; jusr remember that bigger idel makes dry sound LATER.
            ; I assume .04
idel = idel - .04
adry1   delay   idrymix * adry1,idel
adry2   delay   idrymix * adry2,idel  ; Delay dry signal, to align w 
                                   ; convolved signal. Apply level 
                                   ; adjustment here too.
outs    adry1+iwetmix*awet1 , adry2+iwetmix*awet2 
endin