Help. Wavetable synth not working in v3.5
-
I installed version 3.5, everything works fine with the exception of the wavetable synths. They are playing all notes as the root pitch of the wavetable map.
I get one error after compiling for all instances of wavetable synths:Console:
Wavetable Synthesizer1:! Wavetable with non-power two buffer size loaded. Please recompile HISE without USE_MOD2_WAVETABLESIZE.I don't know where to "uncheck"USE_MOD2_WAVETABLESIZE. I suspect projucer, but I couldn't find it there.
Where can I find it?
-
@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
-
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.
-
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.
-
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
-
@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.
-
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
-
@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.