Custom wavetables not included in build
-
i created some custom wavetables for my synth, and they load and work fine in hise. but after exporting the plugin, the wavetables aren’t included in the build — i have to manually import the .hwt files.
the “embed audio files” option is enabled in settings, and the .hwt files are all under 50mb. any idea why they’re not being bundled?
-
@xxx maybe this post can help
-
yes, but i don't want to manually have to copy the hwt files into the folder
i want them to be embedded in the compiled build
-
@xxx
I think this is not possible with wavetables.But you can export all wavetables to one monolith.
-
Yes currently you have to make sure that your installer copies the .hwt files to your app data folder, they won't be embedded into the plugin.
I think @Lindon has shipped a few plugins with wavetables and can chime in about the details.Nevermind, just read the linked topic. If you don't want to hazzle around with copying the HWT files you can use generic audio files to load as wavetables with the latest version of the wavetable synthesiser, they are embedded into the plugin.
-
@Christoph-Hart said in Custom wavetables not included in build:
Yes currently you have to make sure that your installer copies the .hwt files to your app data folder, they won't be embedded into the plugin.
I think @Lindon has shipped a few plugins with wavetables and can chime in about the details.Nevermind, just read the linked topic. If you don't want to hazzle around with copying the HWT files you can use generic audio files to load as wavetables with the latest version of the wavetable synthesiser, they are embedded into the plugin.
As Christoph says, but if you do want to use hwt files, then yes your installer will need to put them in the Audio Files folder of your AppData folder structure.... yet one more reason we added a custom installer inside the plugin itself --- as it was the one sure place where we knew what was required and where that place actually was on the users machine...
-
@Christoph-Hart said in Custom wavetables not included in build:
you can use generic audio files to load as wavetables with the latest version of the wavetable synthesiser,
...whilst Im here... I clearly haven't been paying attention to the wavetable synth recently - So this is intriguing news, what do I need to do to build the correct sort of audio files to get "good" wavetables??
-
@Lindon there are multiple algorithms used for turning audio files into wavetables:
- Loris (if you can do GPL)
- Resynthesis (sounds a bit worse than Loris but works with most audio files)
- Simple conversion
Resynthesis is mostly used for turning organic samples into wavetables. If you already have wavetables, just import an audio file that has them stitched together. In order for this to work, the cycle length needs to be a power of two.
-
@Christoph-Hart said in Custom wavetables not included in build:
@Lindon there are multiple algorithms used for turning audio files into wavetables:
- Loris (if you can do GPL)
- Resynthesis (sounds a bit worse than Loris but works with most audio files)
- Simple conversion
Resynthesis is mostly used for turning organic samples into wavetables. If you already have wavetables, just import an audio file that has them stitched together. In order for this to work, the cycle length needs to be a power of two.
Well we have a bunch old rather static wavetables that Im not fond of so I was thinking of starting out again.
I dont have any requirement to ship anything other than .hwt files, as we already do that - So I guess my best path to "decent" wavetables is to do this magic with Loris to generate hwt files, and ship those..... frankly Ive been putting this off for over a year - and the universe hasn't helped, but Im "not at all wise"(tm) about how to do this stuff so I will probably come back and start asking(silly) questions as usual...
-
@Lindon I would recommend skipping the wavetable converter dialog, that's deprecated now that we can import wavetables automatically.
If you want to make .HWT files, you can do so with batch scripting:
HISE | Scripting | WavetableController
A controller object for the resynthesis options of a Wavetable synthesiser
(docs.hise.audio)
-
@Christoph-Hart woah, hold on here......did I miss something really important, can I use this controller in a deployed compiled plug-in? If so it looks to me at the very least it allows users to add their own wavetables(as long as they know the loop range ) is that correct?
Also it looks to me like I can dynamically(?) apply these FX(Sin warp etc.) to a wavetable, again in the deployed plugin..
or these really meant for off-line building/processing??
-
@Lindon yes this can be used in the plugin to import user wavetables. However if you‘re not GPLing your project you can‘t use Loris in there so you have to resort to the inferior resynthesis algorithm that I‘ve cooked up.
Note that if the audiofiles are already proper wavetables with a power of two cycle length then it won‘t resynthesise anything and directly chop up the wavetables, mip map them and load them into the wavetable module.
-
@Christoph-Hart said in Custom wavetables not included in build:
@Lindon yes this can be used in the plugin to import user wavetables. However if you‘re not GPLing your project you can‘t use Loris in there so you have to resort to the inferior resynthesis algorithm that I‘ve cooked up.
Note that if the audiofiles are already proper wavetables with a power of two cycle length then it won‘t resynthesise anything and directly chop up the wavetables, mip map them and load them into the wavetable module.
Damn it, can you slow down a bit? I cant catch 10 mins rest , There's always some cool new feature I have to add in to stuff...
Now I have to completely rethink/rebuild the wavetable synth componentry....so basically users can add anything they want - and it will work great if their cycle lengths are a power of two, and will resynthesis if not...
Then there's all these JSON defined FX to be applied at will...
Well done. Now dont ship anything else cool for at least a week whilst I think about this............ yes I know you shipped this ages ago and I missed it.
-
@Lindon You probably have also missed the revamped waterfall display then:
HISE | UI Components | WaveTableWaterfall
A display to show morphing through a wavetable.
(docs.hise.dev)
-
@Christoph-Hart thanks, actually I did see that...so thats already on the list called: Stuff Lindon has to do for Horizen..... its very cool tho...