glsl musicでconvolution reverb
バカ重い
code:convr.glsl
// ir convolution reverb thingy
vec2 conv_sum = vec2(0.);
int n = 24000;
for(int i; i<n; i+=4){
float dt = max(t - (float(i)/float(n)), 0.);
float dtcalc = <**dry_audio_signal_func**>(dt);
vec2 ir = sampleSinc( sample_ir, sample_ir_meta, (float(i)/float(n))) * env;
conv_sum += dtcalc * ir;
}