Page 1 of 2

Overtone Filter by Luke M Craig

Posted: Tue Nov 05, 2019 1:16 pm
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{};
    //==============================================================================

Re: Overtone Filter by Luke M Craig

Posted: Tue Nov 05, 2019 1:36 pm
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);


Re: Overtone Filter by Luke M Craig

Posted: Tue Nov 05, 2019 1:40 pm
by Kott
Oh, thank you.

Re: Overtone Filter by Luke M Craig

Posted: Wed Nov 06, 2019 7:14 pm
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.

Re: Overtone Filter by Luke M Craig

Posted: Thu Nov 07, 2019 4:30 am
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 .

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 4:45 am
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?

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 9:41 am
by Kott
Yes, it shows shader animation.
screen
screen
Screenshot_20191110_193705.jpg (165.75 KiB) Viewed 1315 times

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 5:20 pm
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.

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 5:22 pm
by lukemcraig
Also the frequency numbers on the piano keys shouldn't all be 0.0. I wonder what's causing that...

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 11:15 pm
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 1295 times
Also, have you made any music with it? I'd love to hear it.
I'll try to record something :)

Re: Overtone Filter by Luke M Craig

Posted: Sun Nov 10, 2019 11:28 pm
by lukemcraig
When loaded within DAW all things draws well.
Ok that's what's important. Which DAW are you using, by the way?

Re: Overtone Filter by Luke M Craig

Posted: Mon Nov 11, 2019 6:22 am
by Kott
First screen is standalone app. Second - VST loaded in Tracktion Waveform10.

Re: Overtone Filter by Luke M Craig

Posted: Mon Nov 11, 2019 8:24 am
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.

Re: Overtone Filter by Luke M Craig

Posted: Mon Nov 11, 2019 8:42 am
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.

Re: Overtone Filter by Luke M Craig

Posted: Mon Nov 11, 2019 4:23 pm
by lukemcraig
Kott, how did you originally find my plug-in? I'm curious.