HISE Logo Forum
    • Categories
    • Register
    • Login

    Additive FFT

    Scheduled Pinned Locked Moved General Questions
    7 Posts 3 Posters 1.6k 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.
    • d.healeyD
      d.healey
      last edited by

      I built a little flute yesterday in HISE using 10 sine generators and a noise generator and a single sample for the attack. It actually sounded pretty close to the real instrument - except there was nothing above 4000hz because I only had 10 partials.

      But this got me thinking, since HISE has FFT and Oscillator modules, would it be possible to add a module that performs an FFT on a sample and re-synthesizes it using a bank of oscillators (probably need at least 50 sines but the more the better)?

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

      1 Reply Last reply Reply Quote 1
      • Christoph HartC
        Christoph Hart
        last edited by

        Actually this is exactly what the Wavetable Synthesiser does. Think of it as a "cached" additive synthesiser that uses a lookup table (= the wavetable) instead of calculating all 50 harmonics in realtime (which is rather ineffective).

        The notorious SampleToWavetable converter creates these harmonic spectrums from a given sample set.

        I also think that using a noise generator for the air sound is not the best approach - luckily you can just "blow" into a flute without creating a tone and use these samples for the "noisy" part of the signal, which is what I did with the clarinet a few centuries ago :)

        d.healeyD 1 Reply Last reply Reply Quote 2
        • d.healeyD
          d.healey @Christoph Hart
          last edited by

          @christoph-hart Well I just recorded a trumpet and trombone and took crescendo recordings of each note to test out the wavetable thingy, I was recording in a hall though so I'm just going to hope the close mics will produce nice results.

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

          1 Reply Last reply Reply Quote 0
          • Christoph HartC
            Christoph Hart
            last edited by

            If you send me a few samples, I'll also try to extract the wavetables - it's currently rather non-deterministic which settings you have to use in order to get the best results..

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

              @christoph-hart Yes definitely, I'll cut them later this week.

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

              1 Reply Last reply Reply Quote 0
              • ?
                A Former User
                last edited by

                This sounds interesting.....I must try it!

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

                  Heres a link to my test project, I don't really understand the wavetable synth so not sure if what I've done is correct. The close mic samples are in there too for anyone who wants to play around with this.

                  Dropbox - File Deleted - Simplify your life

                  favicon

                  (www.dropbox.com)

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

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

                  26

                  Online

                  1.7k

                  Users

                  11.8k

                  Topics

                  102.7k

                  Posts