If we're voting I would vote for Ruby, but I think it will come down to Urs looking at what fits best for various reasons. Really, my preference is for whatever makes this happen in a fully documented and supported manner. I have many ideas...bmrzycki wrote:My vote is for Python! But I'd happily accept LUA too.Urs wrote:it seems that Lua is better suited for what we do.Documented scripting in .h2p would be great.
Also Urs, I asked a question about volume scaling in spectroblend presets, if you could answer it for me I'd appreciate it:
http://www.kvraudio.com/forum/viewtopic ... 82#4669882
The Zebra Scripting Thread
-
- KVRist
- 293 posts since 18 Jul, 2003
-
- KVRist
- 293 posts since 18 Jul, 2003
A couple more questions Urs...
What is the compressed binary data used for? I know not to touch it, but I'm mostly wondering about making patches from scratch with scripts. Is this data necessary? Can it just be copied from an existing preset? What should I be aware of in dealing with this section?
Also, would it be possible to have the preset reloaded if it changes on disk (or maybe an option to turn this on or off)? This would make working with scripts much easier...
What is the compressed binary data used for? I know not to touch it, but I'm mostly wondering about making patches from scratch with scripts. Is this data necessary? Can it just be copied from an existing preset? What should I be aware of in dealing with this section?
Also, would it be possible to have the preset reloaded if it changes on disk (or maybe an option to turn this on or off)? This would make working with scripts much easier...
-
- KVRer
- 23 posts since 17 Mar, 2019
Hello,
Is there any way to lock a parameter via scripting and unlock it?
Is there any way to lock a parameter via scripting and unlock it?
Code: Select all
Something like:
Oscillator1.Tune = Lock;
Oscillator1.Tune = Unlock;
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
-
- KVRer
- 23 posts since 17 Mar, 2019
Ok!
And is there a way to address each individual step (or any steps at all), in the LFOs user waveform or the MMAP, through scripting ?
Something like:
Lfo1.Step.Value[1] = 18.0;
MMap1.Step.Value[1] = 99.0;
And is there a way to address each individual step (or any steps at all), in the LFOs user waveform or the MMAP, through scripting ?
Something like:
Lfo1.Step.Value[1] = 18.0;
MMap1.Step.Value[1] = 99.0;
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
I don't think that was ever accomplished.
*sigh* sometimes I wished I had time to rewrite this. Because I wanted it to compile to byte code rather than interpret, it has become overly complicated. There was hope to use the engine for DSP, and the byte code was executed fast enough. Yet, that never materialised and today one would use LLVM. In the aftermath it would have been better to stick with an interpreter that's easy to maintain and great to work with.
*sigh* sometimes I wished I had time to rewrite this. Because I wanted it to compile to byte code rather than interpret, it has become overly complicated. There was hope to use the engine for DSP, and the byte code was executed fast enough. Yet, that never materialised and today one would use LLVM. In the aftermath it would have been better to stick with an interpreter that's easy to maintain and great to work with.
- u-he
- 30213 posts since 8 Aug, 2002 from Berlin
-
- KVRist
- 475 posts since 4 Nov, 2011 from Tleat
I think this would be better off relegated to the host / a wrapper, rather than the plugin. Same interface for any device.ojggaspar wrote: Sun Jun 05, 2022 2:56 am Ok!
And is there a way to address each individual step (or any steps at all), in the LFOs user waveform or the MMAP, through scripting ?
Something like:
Lfo1.Step.Value[1] = 18.0;
MMap1.Step.Value[1] = 99.0;
CLAP should address this, as I understand it?
Brzzzzzzt.
