Overtone Filter by Luke M Craig

All your LV2 and LADSPA goodness and more.

Moderators: khz, MattKingUSA

Kott
Established Member
Posts: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Overtone Filter by Luke M Craig

Postby Kott » Tue Nov 05, 2019 1:16 pm

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: 703
Joined: Mon Sep 28, 2015 9:03 pm

Re: Overtone Filter by Luke M Craig

Postby sadko4u » Tue Nov 05, 2019 1:36 pm

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: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Tue Nov 05, 2019 1:40 pm

Oh, thank you.

stanlea
Established Member
Posts: 602
Joined: Wed Apr 25, 2012 9:49 pm

Re: Overtone Filter by Luke M Craig

Postby stanlea » Wed Nov 06, 2019 7:14 pm

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: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Thu Nov 07, 2019 4:30 am

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

Postby lukemcraig » Sun Nov 10, 2019 4:45 am

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: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Sun Nov 10, 2019 9:41 am

Yes, it shows shader animation.
Screenshot_20191110_193705.jpg
You do not have the required permissions to view the files attached to this post.

lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Postby lukemcraig » Sun Nov 10, 2019 5:20 pm

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

Postby lukemcraig » Sun Nov 10, 2019 5:22 pm

Also the frequency numbers on the piano keys shouldn't all be 0.0. I wonder what's causing that...

Kott
Established Member
Posts: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Sun Nov 10, 2019 11:15 pm

Spectrum and frequencies (I think) are empty because it runs without input. When loaded within DAW all things draws well.
Screenshot_20191111_091208.jpg


Also, have you made any music with it? I'd love to hear it.

I'll try to record something :)
You do not have the required permissions to view the files attached to this post.

lukemcraig
Established Member
Posts: 5
Joined: Sun Nov 10, 2019 4:38 am

Re: Overtone Filter by Luke M Craig

Postby lukemcraig » Sun Nov 10, 2019 11:28 pm

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: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Mon Nov 11, 2019 6:22 am

First screen is standalone app. Second - VST loaded in Tracktion Waveform10.

stanlea
Established Member
Posts: 602
Joined: Wed Apr 25, 2012 9:49 pm

Re: Overtone Filter by Luke M Craig

Postby stanlea » Mon Nov 11, 2019 8:24 am

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: 101
Joined: Thu Mar 21, 2013 12:55 am
Location: Vladivostok

Re: Overtone Filter by Luke M Craig

Postby Kott » Mon Nov 11, 2019 8:42 am

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

Postby lukemcraig » Mon Nov 11, 2019 4:23 pm

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


Return to “Plugins, Effects and Instruments”

Who is online

Users browsing this forum: MSN [Bot] and 2 guests