Audio Plugin - cascade

7 vues (au cours des 30 derniers jours)
Nuno Coelho
Nuno Coelho le 1 Déc 2020
Commenté : Nuno Coelho le 2 Déc 2020
Hi!
I'm trying to create an audio plugin (AU, VST) that apply filters (LPF, HPF, etc).
I need to cascade 2 butterworth filters but i noticed that any cascade functions are compatible with code generator.
Anyone can help to get a way of cascade this 2 filters?
thanks a lot
  2 commentaires
jibrahim
jibrahim le 1 Déc 2020
Nuno, can you please provide more information about your filters? What kind of object/class are they? Which cascade function are you using?
Nuno Coelho
Nuno Coelho le 1 Déc 2020
I'm trying do implement an Linkwitz-Riley filter using 2 butterworth in cascade.
For example: 1x LR 2nd order using 2xBW 1st order in cascade
It's easy to do in an APP but not in a VST project, i think...
Thanks

Connectez-vous pour commenter.

Réponse acceptée

jibrahim
jibrahim le 1 Déc 2020
Hi Nuno,
I recommend you first try crossoverFilter. It implements a Linkwitz-Riley and supports up to 4 crossovers. You can control the order of the filters with the CrossoverSlopes property.
  3 commentaires
jibrahim
jibrahim le 2 Déc 2020
Hi Nuno,
Can you provide more information on how it is not working in a generated plugin? Does the generation error out? Or does the tuning not happen? Is this function part of the plugin? Some source code will be helpful
Nuno Coelho
Nuno Coelho le 2 Déc 2020
The plugin is successfully generated.
In audioTestBench the GUI update of ORD_LPF works well when I change obj.LPF to 'Linkwitz-Riley'.
My idea is just have LR even order and if i put an odd order it change to even order.
It doesn't work well just in the plugin.
It changes the order to the even closer order but the GUI no change

Connectez-vous pour commenter.

Plus de réponses (0)

Catégories

En savoir plus sur Audio Plugin Creation and Hosting dans Help Center et File Exchange

Produits

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by