Forum
    • Categories
    • Register
    • Login

    Wavetable creation

    Scheduled Pinned Locked Moved General Questions
    53 Posts 4 Posters 423 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.
    • dannytaurusD
      dannytaurus @Lindon
      last edited by

      @Lindon How would you make sure the user's file has a cycle length of 2048?

      Meat Beats: https://meatbeats.com
      Klippr Video: https://klippr.video

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

        @dannytaurus oh I wouldnt ... I would have a param that the user can select from :

        512
        1024
        2048

        • so if they build their own wavetable wav file they would know it needs to be one of these values...
          and the UI would have a combo box allowing them to define the value they are using..

        so the script call back would then include this new call:

        WavetableController.setCycleLength(value)

        HISE Development for hire.
        www.channelrobot.com

        LindonL dannytaurusD 2 Replies Last reply Reply Quote 0
        • LindonL
          Lindon @Lindon
          last edited by

          @Lindon whilst we are here....

          what tool is everyone using to generate morphing wave files ?

          so you have wav1 -> wav2 ->wav3 and you want to generate a bunch of morphs between these?

          HISE Development for hire.
          www.channelrobot.com

          1 Reply Last reply Reply Quote 0
          • dannytaurusD
            dannytaurus @Lindon
            last edited by dannytaurus

            @Lindon said in Wavetable creation:

            • so if they build their own wavetable wav file they would know it needs to be one of these values...

            If they're building their own wavetables, just have them put Loop Range metadata in the file which sets the cycle length.

            Then they won't need to choose it from a dropdown.

            It makes their wavetables more portable too.

            Meat Beats: https://meatbeats.com
            Klippr Video: https://klippr.video

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

              @dannytaurus said in Wavetable creation:

              @Lindon said in Wavetable creation:

              • so if they build their own wavetable wav file they would know it needs to be one of these values...

              If they're building their own wavetables, just have them put Loop Range metadata in the file which sets the cycle length.

              Then they won't need to choose it from a dropdown.

              It makes their wavetables more portable too.

              So how are they building their wavetables?

              HISE Development for hire.
              www.channelrobot.com

              dannytaurusD 1 Reply Last reply Reply Quote 0
              • dannytaurusD
                dannytaurus @Lindon
                last edited by

                @Lindon said in Wavetable creation:

                So how are they building their wavetables?

                Personally, I'd either use Vital (free VTS/AU) or I'd write a script that takes in 3 audio files of 2048 samples, then interpolates between them with audio file 1 as frame 1, audio file 2 as frame 128 and audio file 3 as frame 3.

                Meat Beats: https://meatbeats.com
                Klippr Video: https://klippr.video

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

                  @dannytaurus said in Wavetable creation:

                  @Lindon said in Wavetable creation:

                  So how are they building their wavetables?

                  Personally, I'd either use Vital (free VTS/AU) or I'd write a script that takes in 3 audio files of 2048 samples, then interpolates between them with audio file 1 as frame 1, audio file 2 as frame 128 and audio file 3 as frame 3.

                  Well I assume you mean "audio file 2 as frame 2", but in any case..."interpolates" means what for a set of 2048 values(an array)?

                  if we work out the diff between any two value pairs and average the change over(say) 50 steps (essentially a cross fade) - this wont work as we will likely end with some zeroed value set at some point, and definately not a musical result..

                  hmm, interpolate here is tricky...

                  OK a bit of googleing gets me to:

                  https://www.sonicacademy.com/products/node

                  HISE Development for hire.
                  www.channelrobot.com

                  dannytaurusD 1 Reply Last reply Reply Quote 0
                  • dannytaurusD
                    dannytaurus @Lindon
                    last edited by dannytaurus

                    @Lindon said in Wavetable creation:

                    Well I assume you mean "audio file 2 as frame 2", but in any case..."interpolates" means what for a set of 2048 values(an array)?

                    Sorry, no. I mean:
                    Audio file 1 is frame 1
                    Audio file 2 is frame 128
                    Audio file 3 is frame 256

                    That will make a full 256-frame wavetable. That's 256 frames of 2048 samples each.

                    Interpolating as in morph each value of the 2048 cycle length to the next. Like, sine wave slowly becomes a saw wave, or whatever.

                    There are different methods of morphing between waves for a wavetable. Spectral is a different way. You'll have to read up and find the way that best suits your needs.

                    Personally, I'm only working with 'primitive' waves and morphing between them, so linear interpolation is fine for me.

                    Meat Beats: https://meatbeats.com
                    Klippr Video: https://klippr.video

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

                      @dannytaurus Okay well thanks for your input, That approach is def. not going to work for me, still I think I have a product identified above that will do cough better, morphing...now just to find the time to learn it and build some wavetables....hello 2026 - Im looking at you...

                      HISE Development for hire.
                      www.channelrobot.com

                      dannytaurusD 1 Reply Last reply Reply Quote 0
                      • dannytaurusD
                        dannytaurus @Lindon
                        last edited by

                        @Lindon Node looks cool. You could probably build that in HISE as a standalone app.

                        Meat Beats: https://meatbeats.com
                        Klippr Video: https://klippr.video

                        1 Reply Last reply Reply Quote 0
                        • D
                          DanSound @dannytaurus
                          last edited by

                          @dannytaurus That looks great, thank you! Will play with it on weekend.

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

                          24

                          Online

                          2.1k

                          Users

                          13.1k

                          Topics

                          113.4k

                          Posts