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.
    • 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
                                • hisefiloH
                                  hisefilo @gryphonsegg
                                  last edited by

                                  @gryphonsegg were you able to use wavetables before HISE 3.5?

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

                                    @hisefilo I thought so... is there something I should do besides adding this tag before compiling?

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

                                      @gryphonsegg Here's how to create wavetables on HISE 3.0 / 3.1
                                      https://forum.hise.audio/topic/5747/wavetable-synth-tutorial-how-i-do-it/10?_=1690893985426
                                      I followed that, and then I jumped to HISE 3.5 and used the USE_MOD2_WAVETABLESIZE=0flag to still using wavetables I've created on HISE 3.0

                                      Haven't yet investigated how to create them directly on HISE 3.5 with the updated wavetable synth. hoping someone can add some tutorial helping us to make them properly.

                                      G CyberGenC 2 Replies Last reply Reply Quote 0
                                      • G
                                        gryphonsegg @hisefilo
                                        last edited by

                                        @hisefilo thanks I will give it a go.

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

                                          @hisefilo It's weird, cuz the first time I installed 3.5, none of my old tables worked. I compiled with the preprocessor flag and that allowed the old waves to work by running the old wavetable synth, but the resynthesis modes didn't work. And I didn't want to settle with the performance cap mentioned by Mr. Hart. After I finally managed to install loris, I recompiled HISE again but without the preprocessor flag and now everything works for me. Old wavetables as well as the ones I converted in 3.5 with resynthesis.

                                          As far as converting with resynthesis goes, I did it using a different method as I did for 3.0. For 3.0 I built table maps with short samples that were the length of a single oscillation. In the case of 3.5, I used longer samples regardless of their length and they work very well. There is a slight difference in sound when converting with resynthesis that can be adjusted by playing around with the table index, but in most cases it's for the best.

                                          In the end I'm not entirely sure what made everything work, I like the upgrade and appreciate the new features. I would focus on properly installing Loris.

                                          for reference; I'm in MacOS on an M1 maschine. Still haven't test on my old intel maschine.

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

                                            @RastaChess so, if you dont mind, how do I go about doing the whole Loris install thing?

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

                                            48

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            102.2k

                                            Posts