HISE Logo Forum
    • Categories
    • Register
    • Login

    Help. Wavetable synth not working in v3.5

    Scheduled Pinned Locked Moved General Questions
    27 Posts 7 Posters 1.7k 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 @CyberGen
      last edited by

      @RastaChess

      USE_MOD2_WAVETABLESIZE

      That looks like a preprocessor definition to me, so try adding it into that part of the jucer file USE_MOD2_WAVETABLESIZE=0

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

      Christoph HartC G 2 Replies Last reply Reply Quote 0
      • Christoph HartC
        Christoph Hart @d.healey
        last edited by

        You might have to reconvert your wavetables - I've updated the format and didn't care too much about backwards compatibility given the fact that the wavetable synth wasn't hardly used at all.

        The new wavetable synthesizer will use a power of two sample size which is better for performance, but this preprocessor allows you to use older wavetables.

        1 Reply Last reply Reply Quote 0
        • CyberGenC
          CyberGen
          last edited by

          thank you guys for helping out.

          I'm still trying to get things working again. and get back to where I was.

          I'm trying to reconvert the wavetables, but the convert to tablemap window does not want to convert in resample mode, citing ERROR: Sample length is not multiple of cycle size. You probably need to use a resynthesis mode instead. (no idea how to fix it)

          When I try resynthesis modes it tells me loris is not installed.

          When I try to build loris it tells me I don't have permission. So I haven't been able to install Loris either.

          So I'm in a bit of jam.

          If you know of a way to figure out the length and cycle size thing, or the loris installation, please share it with me?

          Many thanks again.

          1 Reply Last reply Reply Quote 0
          • B
            BWSounds
            last edited by

            Did anyone figure this out? I have well over 1000 wavetables I’ve been building for the last 2 yrs.

            I updated to the latest Connie commit and they all sound off :/ pretty heart wrenching

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

              @BWSounds You have two options

              1. Reconvert the wavetables. If the source file is a single wave file that has already a power of two cycle length, then just drop the audio file and use the Resample mode, otherwise you need to download the loris library and use the resynthesis option
              2. The old wavetables should still work, but you need to set a preprocessor that allows odd cycle lengths to be used. This comes with a performance overhead so I chose to favor performance over backwards compatibility as default, but if you recompile HISE with the preprocessor flag mentioned above, it should work. If not, let me know and send me your wavetables then I'll take a look.
              Christoph HartC hisefiloH 2 Replies Last reply Reply Quote 1
              • Christoph HartC
                Christoph Hart @Christoph Hart
                last edited by

                When I try to build loris it tells me I don't have permission.

                You don't have to build the loris library, I've precompiled the libraries for Windows / macOS here:

                https://github.com/christophhart/loris-tools/releases/tag/0.2.2

                D 1 Reply Last reply Reply Quote 0
                • hisefiloH
                  hisefilo @Christoph Hart
                  last edited by hisefilo

                  @Christoph-Hart can you briefly explain the 1st point? what's new process to generate wavetables? I cant get this working. Should I create a samplemap with a wav for each velocity as I always did? then convert it?

                  @Christoph-Hart said in Help. Wavetable synth not working in v3.5:

                  @BWSounds You have two options

                  1. Reconvert the wavetables. If the source file is a single wave file that has already a power of two cycle length, then just drop the audio file and use the Resample mode, otherwise you need to download the loris library and use the resynthesis option
                  2. The old wavetables should still work, but you need to set a preprocessor that allows odd cycle lengths to be used. This comes with a performance overhead so I chose to favor performance over backwards compatibility as default, but if you recompile HISE with the preprocessor flag mentioned above, it should work. If not, let me know and send me your wavetables then I'll take a look.
                  1 Reply Last reply Reply Quote 0
                  • D
                    dxmachina @Christoph Hart
                    last edited by

                    @Christoph-Hart Are you able to run Loris (precompiled) on macOS and the current master branch of HISE? I am still getting errors about bad function pointers. No different when compiling Loris myself either. I'm on a M1 system here.

                    I see similar behavior in wavetable conversion window as @RastaChess ... can only use the non-Loris conversions.

                    Christoph HartC CyberGenC 2 Replies Last reply Reply Quote 0
                    • Christoph HartC
                      Christoph Hart @dxmachina
                      last edited by

                      @dxmachina Are you using a universal binary build of HISE or have you set it to ARM only (because of Faust)?

                      D 1 Reply Last reply Reply Quote 0
                      • CyberGenC
                        CyberGen @dxmachina
                        last edited by CyberGen

                        @dxmachina I was able to fix the loris issues by downloading the precompiled version of loris de Mr. Hart shared. After extracting the zip you have to drop it in library/applicationsupport/hise/
                        note: make sure the folder is named "loris_library" and not "loris_library_macOS"
                        I'm in an M1 maschine using the master branch of HISE, still have not tried the my old intel machine but this fixed all the resynthesis modes.

                        CyberGenC 1 Reply Last reply Reply Quote 0
                        • CyberGenC
                          CyberGen @CyberGen
                          last edited by CyberGen

                          @RastaChess Additionally you can make your old wavetales work by adding the preprocessor flag USE_MOD2_WAVETABLESIZE=0
                          when compiling the master branch of HISE.
                          I had to write it in all the outputs (release, dubg, etc) in the preprocessor section. This by itself makes the old wavetables work but does not fix the resynthesis mode. So I removed and recompiled again without it.
                          Screenshot 2023-07-28 at 10.24.08 PM.png

                          1 Reply Last reply Reply Quote 0
                          • D
                            dxmachina @Christoph Hart
                            last edited by

                            @Christoph-Hart Using the universal binary. I actually tried running under Rosetta as well with same results.

                            @RastaChess I believe I have everything in place as per the instructions:

                            51ee34c0-595f-4040-93ff-b4bd79b6d5c8-CleanShot 2023-07-29 at 12.24.33@2x.png

                            But am I missing something obvious here?

                            I don't get the "missing Loris" messaging, but rather the "can't load Loris DLL" messaging. I debugged out the expected path and it does match mine.

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

                              @dxmachina "Can't open Loris DLL" means that the library is there but it's a architecture mismatch. Try building the loris_library project with the same build settings as HISE.

                              G D 2 Replies Last reply Reply Quote 0
                              • G
                                gryphonsegg @Christoph Hart
                                last edited by

                                @Christoph-Hart so I am not getting the wavetable synth to work at all. It goes into the chain but it has no wavetables to even select so I havent even gotten far enough to get an error. I added the line in Juce before compiling as you asked above and it still did not change anything.,

                                1 Reply Last reply Reply Quote 0
                                • G
                                  gryphonsegg @d.healey
                                  last edited by

                                  @d-healey any thoughts on my problem here?

                                  hisefiloH 1 Reply Last reply Reply Quote 0
                                  • hisefiloH
                                    hisefilo @gryphonsegg
                                    last edited by

                                    I got this working by staying on old Wavetables and:

                                    1. Recompiling HISE 3.5.0 with USE_MOD2_WAVETABLESIZE=0 prepsocessor flag

                                    Screenshot 2023-07-30 at 18.01.01.png
                                    2. Recompiling the project with the old wavetables but adding USE_MOD2_WAVETABLESIZE=0 also on the AutogeneratedProject.jucer for the project

                                    Screenshot 2023-07-30 at 18.05.53.png

                                    G 2 Replies Last reply Reply Quote 0
                                    • D
                                      dxmachina @Christoph Hart
                                      last edited by

                                      @Christoph-Hart I've tried every combo I can now... both as universal binaries and both as Apple Silicon only. Still getting the same message.

                                      Probably doing something dumb here if everyone else is not having an issue, but not sure what.

                                      1 Reply Last reply Reply Quote 0
                                      • G
                                        gryphonsegg @hisefilo
                                        last edited by

                                        @hisefilo how do you mean "stying on old wavetables" ?

                                        hisefiloH 1 Reply Last reply Reply Quote 0
                                        • G
                                          gryphonsegg @hisefilo
                                          last edited by

                                          @hisefilo also I entered this flag and mine will still not work. shows no wavetable to even select in the wavetable synth.

                                          hisefiloH 1 Reply Last reply Reply Quote 0
                                          • hisefiloH
                                            hisefilo @gryphonsegg
                                            last edited by

                                            @gryphonsegg I meant to use the wavetables generated with old HISE 3.0 or 3.1 version

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

                                            41

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.2k

                                            Posts