GithubHelp home page GithubHelp logo

joshmarler / filter-gui-demo Goto Github PK

View Code? Open in Web Editor NEW
21.0 2.0 5.0 205 KB

A demo JUCE audio plugin showing a method for creating a filter display GUI component using a filters transfer function.

C++ 83.02% C 16.98%

filter-gui-demo's Introduction

FilterGuiDemo

This plugin is an example of a simple filter frequency response display. The filter response GUI component is drawn using JUCE path's and is an evaluation of the filters transfer function.

The code is basic and could do with some improvements. At present the filter in this plugin is a simple one pole virtual analogue filter so as to make the code dealing with the drawing of the filter response path as simple as possible to understand.

Feel free to make any suggestions to this repo/code, I am hoping this plugin will be useful for JUCE newbies and give a starting point for a handy GUI class for others. I will gradually attempt to make the filter response GUI component/class more reusable and generic for inclusion into people's projects.

For example the FilterReponseDisplay class could be setup to use a callback / std::function object to calculate the filters magnitude response rather than depending on an AudioFilter object. The function object would simply need to be passed into the FilterResponseDisplay class constructor. This could make the class a little more generic, I’ll leave it up to the reader for now and will add this in on a future version.

Future revisions of this example plugin will implement further filter types (Moog Ladder, SVF etc.) and response shapes along with oversampling and some other goodies.

Thanks and credit to the following for allowing me to use some of their code/Ideas to build off.

The guys at Semantic Audio for letting me use/pull apart their own filter display class - http://www.semanticaudio.co.uk

Vadim Zavalishin for the excellent VA Filter paper - https://www.native-instruments.com/fileadmin/ni_media/downloads/pdf/VAFilterDesign_1.1.1.pdf

Cheers

Josh

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.