Lua, selecting wavetable?

Hi!

I’m looking for a way of selecting wavetable via lua-script. Let’s say I have three diffrent wavetable I’ve created in Halion 6, how do I use lua script to select between those three?

I’m thinking it should be easy enough, and although I’m new to halion scripting I’ve spent hours searching without finding a simple example that just load a wavetable by name.

I guess I could put together all the shapes and just use one waveform and select between diffrent “preset positions”, but it feels more natural to select between diffrent wavetables.

Anyone?

I don’t think it’s possible with lua script.

You can use the wavetable selector macro page template. It should also pick up user presets.