HISE Logo Forum
    • Categories
    • Register
    • Login

    Get FFT values

    Scheduled Pinned Locked Moved General Questions
    8 Posts 5 Posters 83 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.
    • elemen8tE
      elemen8t
      last edited by

      Hi there,

      I want my webview animation to read out the FFT (or frequency values in genera)l and make an animation according to low, mid and high freq sounds.

      What is the best way to read out that data and do you use the scriptnode modul for that or just create the module in the oninit code?

      griffinboyG 1 Reply Last reply Reply Quote 0
      • griffinboyG
        griffinboy @elemen8t
        last edited by

        @elemen8t

        I think c++ might be the only way
        I don't think hise does fft in real time?
        (I might be wrong)

        I've made a post on this forum called free DSP fft.
        It has a demonstration of c++ fft, there is an fft real time filter example that can be adapted to read out the values you want.

        1 Reply Last reply Reply Quote 0
        • d.healeyD
          d.healey
          last edited by

          I just searched FFT in the API browser and looks like a bunch of functions are available that might help

          4f18fd9b-9ceb-4d43-ad65-888efc177b21-image.png

          Libre Wave - Freedom respecting instruments and effects
          My Patreon - HISE tutorials
          YouTube Channel - Public HISE tutorials

          elemen8tE griffinboyG ustkU 3 Replies Last reply Reply Quote 0
          • elemen8tE
            elemen8t @d.healey
            last edited by

            @d-healey @griffinboy thank you guys. I will look into that!

            griffinboyG 1 Reply Last reply Reply Quote 0
            • griffinboyG
              griffinboy @d.healey
              last edited by griffinboy

              @d-healey

              Depends whether it does this realtime: or only on an audio file that has already been written.

              I think OP is asking for live analysis.
              Which hise does do for the fft analyser, but I don't think it exposes the bins.

              1 Reply Last reply Reply Quote 2
              • griffinboyG
                griffinboy @elemen8t
                last edited by

                @elemen8t

                Link Preview Image
                [Free dsp] C++ FFT

                For @ustk Simple FFT implementation using Juce (C++ scriptnode) https://1drv.ms/u/c/6c19b197e5968b36/EcVjEd7aayFHhItxr2gISeMBUD15DXs-oPHNg9Os9pYXWA?e=EW0gfm ...

                favicon

                Forum (forum.hise.audio)

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @d.healey
                  last edited by ustk

                  @d-healey It's just for analysing a buffer, not realtime compatible... Or maybe in the 'processBlock' CB? I've never tested, but even if it works it would probably be super inefficient...
                  As @griffinboy said C++ is the way

                  Can't help pressing F5 in the forum...

                  HISEnbergH 1 Reply Last reply Reply Quote 0
                  • HISEnbergH
                    HISEnberg @ustk
                    last edited by

                    @ustk @griffinboy are right the scripting portion doesn’t work for realtime. I’ve recently worked on something similar to this, you can perform the FFT analysis in a C++ node then broadcast the values to HISE using global cables.

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

                    21

                    Online

                    1.9k

                    Users

                    12.2k

                    Topics

                    106.7k

                    Posts