Skip to content

Instantly share code, notes, and snippets.

Introduction to LV2, a Plugin Host Perspective

Table of Contents

Intro

Hello there, if you’re reading this document then you’re likely trying to figure out how to work with existing LV2 plugins and understanding some of the details of the LV2 spec.

--- a/src/DSP/SVFilter.cpp
+++ b/src/DSP/SVFilter.cpp
@@ -102,6 +102,7 @@ SVFilter::response SVFilter::computeResponse(int type,
void SVFilter::computefiltercoefs(void)
{
+ //printf("compute coeff (%f, %f, %d)\n", freq, q, stages);
par.f = freq / samplerate_f * 4.0f;
if(par.f > 0.99999f)
par.f = 0.99999f;