Help. Wavetable synth not working in v3.5
-
@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
- 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
- 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-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.
-
@dxmachina Are you using a universal binary build of HISE or have you set it to ARM only (because of Faust)?
-
@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. -
@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.
-
@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:
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.
-
@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.
-
@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.,
-
@d-healey any thoughts on my problem here?
-
I got this working by staying on old Wavetables and:
- Recompiling HISE 3.5.0 with
USE_MOD2_WAVETABLESIZE=0
prepsocessor flag
2. Recompiling the project with the old wavetables but addingUSE_MOD2_WAVETABLESIZE=0
also on the AutogeneratedProject.jucer for the project - Recompiling HISE 3.5.0 with
-
@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.
-
@hisefilo how do you mean "stying on old wavetables" ?
-
@hisefilo also I entered this flag and mine will still not work. shows no wavetable to even select in the wavetable synth.
-
@gryphonsegg I meant to use the wavetables generated with old HISE 3.0 or 3.1 version
-
@gryphonsegg were you able to use wavetables before HISE 3.5?
-
@hisefilo I thought so... is there something I should do besides adding this tag before compiling?
-
@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 theUSE_MOD2_WAVETABLESIZE=0
flag to still using wavetables I've created on HISE 3.0Haven'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.
-
@hisefilo thanks I will give it a go.
-
@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.
-
@RastaChess so, if you dont mind, how do I go about doing the whole Loris install thing?