HISE Logo Forum
    • Categories
    • Register
    • Login

    Wavetable Synth

    Scheduled Pinned Locked Moved General Questions
    42 Posts 8 Posters 3.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.
    • ustkU
      ustk @Christoph Hart
      last edited by

      @Christoph-Hart You rock man ;)

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

      1 Reply Last reply Reply Quote 0
      • FortuneF
        Fortune @Christoph Hart
        last edited by

        @Christoph-Hart said in Wavetable Synth:

        Yes, I am sitting on the train and can't get actual work done anyway, so why not do this stuff, it's seems to be quite some demand for it.

        That's very kind of you, Thank you!

        1 Reply Last reply Reply Quote 1
        • FortuneF
          Fortune
          last edited by

          Maybe that would be an awesome example about wavetable stuff @Christoph-Hart

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

            Alright, that's what I accomplished so far:

            Link Preview Image
            - added simple wavetable conversion to .hwt function in Wavetable con… · christophhart/HISE@16234f5

            The open source framework for sample based instruments - - added simple wavetable conversion to .hwt function in Wavetable con… · christophhart/HISE@16234f5

            favicon

            GitHub (github.com)

            So basically you can take the wav files from WavEdit, map them like a sampled instrument and run the wavetable converter over it. If you map the wavetables across the velocity range, they can be modulated using the table index.

            I've also updated the wavetable demo project here:

            Link Preview Image
            hise_tutorial/WavetableSynth at master · christophhart/hise_tutorial

            The Tutorial project for HISE. Contribute to christophhart/hise_tutorial development by creating an account on GitHub.

            favicon

            GitHub (github.com)

            It contains a few random wavetables that WaveEdit produced after some monkey UI interaction, but it shows how to map and convert the multi-velocity wavetable maps (I omitted the converted .hwt files so you can do the process for yourself):

            • load this project
            • open the converter window
            • choose FM_AB
            • select Resample instead of "FFT Resynthesis"
            • press OK.
            • load up the Wavetable synthesiser
            • pick the new sound in the drop down (ignore for now that it creates one for the left and right channel, I'll add proper multichannel wavetable support soon).

            It's currently using linear interpolation for the resampling and I'll switch it to sinc interpolation at my next round (it's offline processing anyway so we can opt for the best interpolation here).

            ustkU SteveRiggsS 3 Replies Last reply Reply Quote 3
            • ustkU
              ustk @Christoph Hart
              last edited by

              @Christoph-Hart Woww the train travel's been prolific 😎 I'll jump on it ASAP! 😋

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

              1 Reply Last reply Reply Quote 0
              • ustkU
                ustk @Christoph Hart
                last edited by

                @Christoph-Hart said in Wavetable Synth:

                • select Resample instead of "FFT Resynthesis"

                I don't see anything like this 🤔

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

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

                  Oops, I forgot to push the code that actually added the combobox in the dialogue...

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

                    Actually, hold off a little bit, I noticed there's an issue in the conversion process...

                    ustkU LindonL 3 Replies Last reply Reply Quote 1
                    • ustkU
                      ustk @Christoph Hart
                      last edited by

                      @Christoph-Hart No worries mate ;)

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

                      1 Reply Last reply Reply Quote 0
                      • LindonL
                        Lindon @Christoph Hart
                        last edited by

                        @Christoph-Hart great timing mate - I have a customer asking about wavetable implementation -- so count me in on the "would like it to happen".

                        HISE Development for hire.
                        www.channelrobot.com

                        1 Reply Last reply Reply Quote 0
                        • ustkU
                          ustk @Christoph Hart
                          last edited by

                          @Christoph-Hart I know it might not be ready yet, but just to help out a little bit, the last commit fails here:

                          builFail.jpeg

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

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

                            I know it might not be ready yet, but just to help out a little bit, the last commit fails here:

                            Yeah I rushed the commit a bit because I changed systems, but now it should be working. I've switched the conversion process to 16x oversampling and cubic interpolation now, however if you're changing the pitch on runtime using pitch modulation some really nasty aliasing effects occur, so it's not 100% there yet.

                            ustkU 1 Reply Last reply Reply Quote 1
                            • ustkU
                              ustk @Christoph Hart
                              last edited by

                              @Christoph-Hart Hmm the first error above still fails 🤔

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

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

                                Damn you clang and your overly standard compliant C++ parser. Please try again :)

                                ustkU 1 Reply Last reply Reply Quote 1
                                • ustkU
                                  ustk @Christoph Hart
                                  last edited by

                                  @Christoph-Hart Ok so this one's just for you from my parser 🤣 :

                                  builFail.jpeg

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

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

                                    OK, now I've finally reached "change one line, add one error" territory.

                                    ustkU FortuneF 4 Replies Last reply Reply Quote 2
                                    • ustkU
                                      ustk @Christoph Hart
                                      last edited by

                                      @Christoph-Hart Sorry to cause you this pain, you'll nee a "rot stier" 🙂

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

                                      1 Reply Last reply Reply Quote 0
                                      • ustkU
                                        ustk @Christoph Hart
                                        last edited by

                                        @Christoph-Hart That's us, build succeed ;) I'll test the conversion module...

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

                                        1 Reply Last reply Reply Quote 0
                                        • ustkU
                                          ustk @Christoph Hart
                                          last edited by ustk

                                          @Christoph-Hart It seems to work well! You've made happy people over here :)

                                          There's just a small glitch, the wave shape display seems to be stuck on the first shape, but not always. There's like a wee conflict somewhere but nothing important for now.

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

                                          1 Reply Last reply Reply Quote 1
                                          • FortuneF
                                            Fortune @Christoph Hart
                                            last edited by

                                            @Christoph-Hart said in Wavetable Synth:

                                            OK, now I've finally reached "change one line, add one error" territory.

                                            That's great, thank you so much!! 👏 👏 👏

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

                                            38

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.9k

                                            Posts