Overtone Filter by Luke M Craig

All your LV2 and LADSPA goodness and more.

Moderators: MattKingUSA, khz

Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Overtone Filter by Luke M Craig

Post by Kott »

https://github.com/lukemcraig/OvertoneFilter

Check this filter, folks. I'm playing with it whole evening.
If you familiar with JUCE/Projucer - you can build it easy. Just remove __stdcall at 163 line in PluginEditor.h (I guess it is some Xcode stuff)

Code: Select all

    int frameCounter{};

    //==============================================================================
    typedef void (__stdcall *type_glDrawBuffers)(GLsizei n, const GLenum* bufs);

    type_glDrawBuffers glDrawBuffers{};

    typedef void (__stdcall *type_glTexStorage2D)(GLenum target,
                                                  GLsizei levels,
                                                  GLenum internalformat,
                                                  GLsizei width,
                                                  GLsizei height);

    type_glTexStorage2D glTexStorage2D{};
    //==============================================================================
to

Code: Select all

    int frameCounter{};

    //==============================================================================
    typedef void (*type_glDrawBuffers)(GLsizei n, const GLenum* bufs);

    type_glDrawBuffers glDrawBuffers{};

    typedef void (*type_glTexStorage2D)(GLenum target,
                                                  GLsizei levels,
                                                  GLenum internalformat,
                                                  GLsizei width,
                                                  GLsizei height);

    type_glTexStorage2D glTexStorage2D{};
    //==============================================================================
User avatar
sadko4u
Established Member
Posts: 986
Joined: Mon Sep 28, 2015 9:03 pm
Has thanked: 2 times
Been thanked: 359 times

Re: Overtone Filter by Luke M Craig

Post by sadko4u »

Kott wrote:(I guess it is some Xcode stuff)
No, it's Windows 32-bit standard calling convention of functions which declares
- naming of the function in shared object/DLL.
- the order of arguments and their registers/stack passing principles.
- the responsibility of the stack frame removal (caller/callee).
For portable systems, __stdcall should be replaced with some macro that defines call convention:

Code: Select all

#ifdef __WIN32__
   #define CALL_TYPE __stdcall
#else
   #define CALL_TYPE
#endif

//...
typedef void (CALL_TYPE *type_glDrawBuffers)(GLsizei n, const GLenum* bufs);

LSP (Linux Studio Plugins) Developer and Maintainer.
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

Oh, thank you.
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 41 times
Been thanked: 23 times

Re: Overtone Filter by Luke M Craig

Post by stanlea »

I tried to compile it from git, but projucer can't build it : it loads the project file, but somehow it lacks some information.
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

stanlea wrote:I tried to compile it from git, but projucer can't build it : it loads the project file, but somehow it lacks some information.
In few words You need to add Linux Makefile exporter, and add VST2 support (if You want it).

And I've build it for openSUSE in my repo https://build.opensuse.org/package/show ... toneFilter
version for Leap 15.1 should work on most of Linux distributives .
lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Post by lukemcraig »

Hi all, I'm the creator of this plug-in, and I'm happy to see you interested in it. I don't have a Linux machine, so I can't test it. I'm curious, when you removed __stdcall does the GUI still have a similar background image as the screenshot/video in my repo?
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

Yes, it shows shader animation.
screen
screen
Screenshot_20191110_193705.jpg (165.75 KiB) Viewed 1188 times
lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Post by lukemcraig »

Great, I'll make that change to the repo then. The spectrum display looks odd though. Does it look normal when you start sending audio to it?
Also, have you made any music with it? I'd love to hear it.
lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Post by lukemcraig »

Also the frequency numbers on the piano keys shouldn't all be 0.0. I wonder what's causing that...
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

Spectrum and frequencies (I think) are empty because it runs without input. When loaded within DAW all things draws well.
Screenshot_20191111_091208.jpg
Screenshot_20191111_091208.jpg (191.25 KiB) Viewed 1168 times
Also, have you made any music with it? I'd love to hear it.
I'll try to record something :)
lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Post by lukemcraig »

When loaded within DAW all things draws well.
Ok that's what's important. Which DAW are you using, by the way?
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

First screen is standalone app. Second - VST loaded in Tracktion Waveform10.
stanlea
Established Member
Posts: 700
Joined: Wed Apr 25, 2012 9:49 pm
Has thanked: 41 times
Been thanked: 23 times

Re: Overtone Filter by Luke M Craig

Post by stanlea »

Kott wrote:
stanlea wrote:I tried to compile it from git, but projucer can't build it : it loads the project file, but somehow it lacks some information.
In few words You need to add Linux Makefile exporter, and add VST2 support (if You want it).
I already did that... but the build command is still greyed ans unresponsive.
Kott
Established Member
Posts: 818
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok
Has thanked: 65 times
Been thanked: 122 times

Re: Overtone Filter by Luke M Craig

Post by Kott »

Sorry, I didn't tell that Projucer doesn't build binaries on Linux, it just generates makefiles.
After modifying project You need to save it, then go to Builds/LinuxMakefiles dir and run make.
lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Post by lukemcraig »

Kott, how did you originally find my plug-in? I'm curious.
Post Reply