HISE Logo Forum
    • Categories
    • Register
    • Login

    [Free dsp] C++ FFT

    Scheduled Pinned Locked Moved C++ Development
    28 Posts 6 Posters 1.1k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • griffinboyG
      griffinboy @DabDab
      last edited by

      @DabDab

      Most dsp is shared via papers.

      clevername27C 2 Replies Last reply Reply Quote 1
      • clevername27C
        clevername27 @griffinboy
        last edited by

        This post is deleted!
        1 Reply Last reply Reply Quote 0
        • clevername27C
          clevername27 @DabDab
          last edited by clevername27

          @DabDab @griffinboy I appreciate the questions. To my knowledge, SpectraLayers is only software that does real-time FFTs like this, based mostly on brilliant work by creator Robin Lobel. The good news is if you want to simply do a 3D waterfall FFT (or Wavelet) display, the internet (including YouTube) is overflowing with how-tos, tutorials and walktlhoughts. Everything you need is readily available in HISEscript, and I can imagine it being more 100 lines of code at the most (50 if you're @Christoph-Hart).

          I will divulge one secret from my own research: Remember that when drawing FFT or Wavelet-derived visualisations, few users (if any) know precisely what the graph should look like. In other words, you can lie to them. It's faster. "But what about processing that data?" Same answer. The user rarely knows precisely what it should sound like. (That being said, everything Robin is doing in SL is exactly correct.)

          One other: Run your FFTs on the graphics card.

          1 Reply Last reply Reply Quote 0
          • clevername27C
            clevername27 @griffinboy
            last edited by

            @griffinboy said in [Free dsp] C++ FFT:

            Most dsp is shared via papers.

            This.

            1 Reply Last reply Reply Quote 0
            • clevername27C
              clevername27 @griffinboy
              last edited by

              This post is deleted!
              1 Reply Last reply Reply Quote 0
              • clevername27C
                clevername27 @mmprod
                last edited by

                @mmprod said in [Free dsp] C++ FFT:

                What C++ libraries do you recommend?

                If you're not doing on the graphics card, the best base-level algorithm (for my money) is FFTW.

                Remember that at their heart, FFTs are very, very simple.

                1 Reply Last reply Reply Quote 2
                • clevername27C
                  clevername27 @DabDab
                  last edited by clevername27

                  @DabDab

                  @clevername27 Any getting started FFT video like your above image?
                  Every day I open up computer and think today I will learn new things. Will watch more videos on HISE. But sadly we have very few Video authors.

                  I think there's some words missing here — can you please re-state?

                  I will continue to drop videos (especially since I asked for the forum to be upgraded so I could). My videos me sharing all the code from my plugin, in bite-sized chunks. (You can thank @d-healey for inspiring me to do this.)

                  For instructional videos, @d-healey is the GOAT, and I would humbly suggest (if you haven't already) subbing to his Patreon (as I did when I started).


                  Regarding FFTs, I realise they may seem like a specific area of writing plugins, but FFTs (specifically DFTs) could be described as the foundation for all plugins (depending on your metrics).

                  mmprodM 1 Reply Last reply Reply Quote 1
                  • mmprodM
                    mmprod @clevername27
                    last edited by

                    @clevername27 @DabDab a “getting started” video on fft c++ could be very helpful for beginners who have never done this sort of implementation (like me). And often the content in videos is less dense than what you find in papers/easier to understand.

                    There are plenty of videos on fft theory already but for me it would be extremely helpful to have some sort of walkthrough on how to use a specific fft library(such as fftw), how to code a simple example algorithm, and perhaps how to import to scriptnode.

                    For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
                    John 3:16

                    clevername27C 1 Reply Last reply Reply Quote 2
                    • clevername27C
                      clevername27 @mmprod
                      last edited by

                      @mmprod Got ya. Hopefully, once I've got our new album out the door, I can return to this and do something like that for you guys.

                      mmprodM 1 Reply Last reply Reply Quote 0
                      • mmprodM
                        mmprod @clevername27
                        last edited by

                        @clevername27 that would be amazing- thanks so much!

                        New album coming out??

                        For God so loved the world that he gave his one and only Son, that whoever believes in him shall not perish but have eternal life.
                        John 3:16

                        clevername27C 1 Reply Last reply Reply Quote 0
                        • clevername27C
                          clevername27 @mmprod
                          last edited by

                          @mmprod Yep! We haven't announced it yet, so…well, if you know who I am, you probably know who it is. HISE will be on it! 👻

                          1 Reply Last reply Reply Quote 2
                          • First post
                            Last post

                          44

                          Online

                          1.7k

                          Users

                          11.7k

                          Topics

                          102.3k

                          Posts