Wavetable waveform view
-
@Christoph-Hart said in Wavetable waveform view:
@Lindon Create a sample map with your wavetable files and map them like you want (without RR groups so only note number / velocity 2D mapping), then run the wavetable converter dialog to create .hwt files from the sample maps - the velocity will become the modulatable "table index" dimension.
If you already have wavetable audio files, then the conversion should be pretty straight forward, otherwise it will use a super experimental and hacky FFT resynthesis algorithm that tries to extract a wavetable from consecutive parts of the file.
An example project with a some "convertable" sample maps can be found here:
https://github.com/christophhart/hise_tutorial/tree/master/WavetableSynth
OK so I:
- re-downloaded the entire hise-tutorial-master
- opened the Wavetable Synth project
- made sure the guitar sample map was loaded
- pressed "convert Samplemap to Wavetable bank"
-- crashes HISE instantly.
-
@Lindon Try again! Worked second time for me
-
@DanH said in Wavetable waveform view:
@Lindon Try again! Worked second time for me
tried about 5 times,,, crashes every time.
-
Hmm, works here too. Don't load a sampler or anything into HISE, just open the converter dialog, does it crash then too?
Also you might want to run it in a debugger, this will directly point you to the issue.
-
Did you use the wavetable converter dialog to create the .hwt files?
Yep, took a while but def. worth it.
Making the waveform sticky is not so easy unfortunately as it's supposed to display the waveform that is currently being played.
ok, thank you, I have an idea I can try.
-
Great! Any clues on how you did this? A quick walk thru on how to create the waveforms and add them to the wavetable synth would be great.
I used my mother moog & a few other synths I could get my hands on, wave edit, dune3 and a few other sources.
the tricky part for me was saving the waveforms to the "ideal" length... don't know the exact time but about 1/64 of a second.
(1 cycle of the waveform) (no need to worry about that in wave edit)I added between 4-9 waveforms per samplemap,
and from there HISE does a great job converting the samplemap to wavetable.it create a right and left hwt file, the left one is the one I use.
-
@Christoph-Hart said in Wavetable waveform view:
Hmm, works here too. Don't load a sampler or anything into HISE, just open the converter dialog, does it crash then too?
Also you might want to run it in a debugger, this will directly point you to the issue.
Clearly I'm doing something wrong - what converter dialog?
I opened the Wavetable Synth project - its got a sampler in it already... and a wavetable...
I tried running:
Tools>Convert samplemap to Wavetable Bank
- HISE crashes immediately...
I reloaded it, and deleted the sampler
Tools>Convert samplemap to Wavetable Bank
- HISE crashes immediately...
I loaded HISE and DIDNT load the project...(so empty HISE)
Tools>Convert samplemap to Wavetable Bank
- HISE crashes immediately...
-
Yes, but can you debug HISE, since it is a super trivial crash but it doesn't do it here, so I need to know where to look.
-
Same crash here. I also tried to convert the sample map in the tutorial project without success.
-
Hi Christoph
here a re My Findings about Wavetablesfirst the Hise Stand Alone builds were done on a
Mac Pro 3.1 with Mojave 10.14.6 with Xcode 10
and Mac Pro 5.1 with Big Sur 11.2.3 with Xcode 12.5When we Use Either the Develop or new-layout Branch
we can Export the Wave tables
after we export the wave tables we have to close Hise and re-open
to be able to play the wavetableswith Develop and new-layout we do not have the Wavetable Preview
When we use the Master Branch to Export wavetables the Hise App Crashes
if i open the project containing the wavetables created with
Develop or new-layout in Hise Master Branch
i am able to get the Wavetable Previewi Found another Difference in Develop & New-layout Branch the LFO Wave has Steps option
but in Master Branch the LFO Wave has no Steps option!
Hope This Helps to Fix Everything!
-
@BWSounds @LinuxVst Hi folks, I'm testing some things with wavetable synths. Everything's working fine but when I build my plugin (or the standalone version), it doesn't produce any sound.
The standalone build asked for the sample file, so I gave it to it but it still doesn't output any sound.
Did you manage to get it to work ?
-
@Matt_SF Nevermind, it's just that the wavetable file wasn't been properly installed to the {APP_DATA} folder. Do it manually and everything will work fine.
-
@Matt_SF Are there any fun modulations you can do to the wavetables? Like position or warping etc?
-
@DanH you can 'only' modulate the position of the wavetable - but you can apply all existing modulators (env, lfo, etc...)
-
@Matt_SF that’s the table index correct? I did stick a lfo on it but couldn’t hear any change to the sound…
-
@DanH yes it's the index. But did you convert your samplemap successfully ? You have to spread your waveforms across the velocity range of the sampler and convert the samplemap to a wavetable using HISE's converter tool (default options should be fine).
-
@Matt_SF oh right - I just spread it across the keyboard lol
How do you spread across the velocity range?
-
What is the advantage of using a WaveTable over a Sampler?
Because if you can only modulate the position then a sampler can do it if you spread your waves in the samplemap.
Maybe it is an efficiency difference?
I'm asking because I began a kind of wavetable based on a sampler and I don't know if I better have to switch to a real wavetable module, I'm not familiar with all of those... -
@DanH just define the min-max values for each 'velocity' layer, define the LoKey/HiKey numbers, and run the wavetable converter.
@ustk the main advatage of using wavetables is that the transitions between the different waves are interpolated, hence modulating the position will be smoothed.
With a sampler you have 2 options if you want to do the same. Let say you want to go from sine to square :
Either you layer your samples like on the picture above, but when modulating the position, you'll get abrupt changes between sine-tri-saw-square (but maybe that's what you want / you don't care).
Or you can layer your samples so each one 'crosses' the previous and the next but this is like dry/wetting a signal, there's no "morphing" between the waveforms.
Try for yourself ! I personally like wavetable synths :) .
Christoph put an example project in his repo. -
@Matt_SF right, how many velocity layers do I want?