[Csnd] reverb (maybe reverbsc) in a 192 KHz sample rate project

I like to run Pianoteq at 192 KHz in my DAW (Reaper) for more accurate and beautiful piano sound. For good reverb, I have Altiverb 7 but it doesn’t run higher than 96 KHz. I have something called Sparkverb, an algorithmic reverb, and it runs at 192 KHz but doesn’t sound that great. I’m wondering if reverbsc can run at 192 KHz or maybe not internally but in a 192 KHz project sample rate.

Mike

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

The manual does not say anything against running it at different sampling rates, so I’d say it’s good.

For piano sounds you might want to reduce the optional parameter ipitchm, which adds a bit of modulation to the delays.

Prof. Victor Lazzarini
Maynooth University
Ireland

Having looked at the code, IIRC, there are integer delay-line lengths that might not behave well too far from 44.1K…? I don’t recall if the opcode source code auto-scales the sr.

Whether or not the manual’s note on israte means it will work and sound fine, or "will work, but is considered a ‘special effect’ " is an open question for you:

israte (optional, defaults to the orchestra sample rate) – assume a sample rate of israte. This is normally set to sr, but a different setting can be useful for special effects.

I had a peek at the code and it takes note of the global SR (if israte is 0), so unless there is s bug in the code, it allows any sampling rate between the min and max allowed. These are set to 5KHz and 1MHz.

Setting israte is only needed if the said “special effect” is required.

It should work if the code is good.

Prof. Victor Lazzarini
Maynooth University
Ireland

Hi,

Just my 2cents:
I think it will work all ok at higher sample rates. But the reverb algorithm, although fairly good, is not extremely refined, so I’m not sure it is worth the high sample rate. It could be refined significantly by adding allpass filters in the feedback loops, which is also likely what Costello does in many of the Valhalla algorithms. To the question of the sample rate adjustment, my humble opinion is that the sample rate does not matter all that much in terms of the internal resonances of this reverb. The important thing is that the delay lines have inharmonic (prime) relationships between them. One could argue that the relationship to the sr also matters in avoiding resonances, but since the delay times are also modulated/varying, such sample-rate exact multiples would happen seldomly. Of course the delay times will change with a change of sr, so it is good that the opcode is linked to the global sr, to keep the apparent “size” of the reverberation the same if the sr changes.

all best
Øyvind

lør. 8. juli 2023 kl. 12:11 skrev Victor Lazzarini <Victor.Lazzarini@mu.ie>:

I had a peek at the code and it takes note of the global SR (if israte is 0), so unless there is s bug in the code, it allows any sampling rate between the min and max allowed. These are set to 5KHz and 1MHz.

Setting israte is only needed if the said “special effect” is required.

It should work if the code is good.

Prof. Victor Lazzarini
Maynooth University
Ireland

Having looked at the code, IIRC, there are integer delay-line lengths that might not behave well too far from 44.1K…? I don’t recall if the opcode source code auto-scales the sr.

Whether or not the manual’s note on israte means it will work and sound fine, or "will work, but is considered a ‘special effect’ " is an open question for you:

israte (optional, defaults to the orchestra sample rate) – assume a sample rate of israte. This is normally set to sr, but a different setting can be useful for special effects.

The manual does not say anything against running it at different sampling rates, so I’d say it’s good.

For piano sounds you might want to reduce the optional parameter ipitchm, which adds a bit of modulation to the delays.

Prof. Victor Lazzarini
Maynooth University
Ireland

Warning

This email originated from outside of Maynooth University’s Mail System. Do not reply, click links or open attachments unless you recognise the sender and know the content is safe.

I like to run Pianoteq at 192 KHz in my DAW (Reaper) for more accurate and beautiful piano sound. For good reverb, I have Altiverb 7 but it doesn’t run higher than 96 KHz. I have something called Sparkverb, an algorithmic reverb, and it runs at 192 KHz but doesn’t sound that great. I’m wondering if reverbsc can run at 192 KHz or maybe not internally but in a 192 KHz project sample rate.

Mike

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

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

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

Okay, thanks everyone. I’ll try to get it working. Just to be clear, I’m not trying to improve the reverb by running at 192 KHz, but want that sample rate in my project so I can run PIanoteq at 192 KHz.