Zebra 2 Scripting docs or examples?
-
- KVRist
- 112 posts since 21 Aug, 2011
I got very excited when I read the mention of the internal scripting capability in Zebra2, but am now sure where to lookf for docs or examples. Not afraid to read code if docs are not yet available. Any tips appreciated!
Iain
Iain
- u-he
- 30200 posts since 8 Aug, 2002 from Berlin
Hi,
We had some rudimentary docs on our website, but it was to difficult to maintain and I never had the time.
The scripting works within presets only, which I thought of as "smart presets". Those could be editing tasks, randomizers or even programatically generated waveforms and envelope shapes.
I have never managed to get this as bug free as it would have needed to be.
So now we've been discussing Lua or Javascript as an alternative because those exist as well maintained and developed packages.
Yet another idea is using a realtime bytecode compiler for standard C, because this is something we might need to include anyway, given how ambitious some of our future projects are.
In other words: We need a little encouragement, and we need a little time to work it out, but the current implementation is really not great enough for proper work
Urs
We had some rudimentary docs on our website, but it was to difficult to maintain and I never had the time.
The scripting works within presets only, which I thought of as "smart presets". Those could be editing tasks, randomizers or even programatically generated waveforms and envelope shapes.
I have never managed to get this as bug free as it would have needed to be.
So now we've been discussing Lua or Javascript as an alternative because those exist as well maintained and developed packages.
Yet another idea is using a realtime bytecode compiler for standard C, because this is something we might need to include anyway, given how ambitious some of our future projects are.
In other words: We need a little encouragement, and we need a little time to work it out, but the current implementation is really not great enough for proper work
-
- KVRist
- Topic Starter
- 112 posts since 21 Aug, 2011
Consider this encouragement! =)
I'm personally a Python fan for scripting, and I think there might be good crossover there from other worlds in that Python has had quite a bit of uptake in the audio community, but Lua would be cool too. Anything that allows programmatically controlling and extending Zebra would be fantastic though. I guess the nice about ecma script is everybody knows it, but it's not like its a nice language for making DSLs in. :-/
I actually use something not disimilar to Zebra that I built in Csound (ie a semi modular 4 osc beast), but am super impressed with the marriage of control and easy to use GUI in Zebra. I would be ecstatic to see more user scripting power come to zebra.
If you need beta testers or feedback on docs or whatever for the scripting stuff, let me know. I'm a python coder for my business but also have done audio coding and sequencer coding in C/C++ and Csound.
thanks for prompt responses Urs!
I'm personally a Python fan for scripting, and I think there might be good crossover there from other worlds in that Python has had quite a bit of uptake in the audio community, but Lua would be cool too. Anything that allows programmatically controlling and extending Zebra would be fantastic though. I guess the nice about ecma script is everybody knows it, but it's not like its a nice language for making DSLs in. :-/
I actually use something not disimilar to Zebra that I built in Csound (ie a semi modular 4 osc beast), but am super impressed with the marriage of control and easy to use GUI in Zebra. I would be ecstatic to see more user scripting power come to zebra.
If you need beta testers or feedback on docs or whatever for the scripting stuff, let me know. I'm a python coder for my business but also have done audio coding and sequencer coding in C/C++ and Csound.
thanks for prompt responses Urs!
-
FastTriggerFish FastTriggerFish https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=261931
- KVRist
- 158 posts since 3 Aug, 2011 from London
+1 for the encouragement. Not a fan of python personally though - I like my languages typed, especially for numerical work 
Happy to do some beta testing too.
And JIT compiling sounds yummy - I suppose this is to allow you to optimize things on the fly for feedback loops of arbitrary modules / more audio rate modulations etc ? Anyway no need to say too much but I sure am looking forward to it.
Happy to do some beta testing too.
And JIT compiling sounds yummy - I suppose this is to allow you to optimize things on the fly for feedback loops of arbitrary modules / more audio rate modulations etc ? Anyway no need to say too much but I sure am looking forward to it.
-
- KVRist
- 293 posts since 18 Jul, 2003
+1 on encouragement here as well! I'm really looking forward to robust and fully supported scripting in u-he plugins... Language does not matter much to me. I trust Urs to make the right decision...
-
Bronto Scorpio Bronto Scorpio https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=98170
- KVRAF
- 5546 posts since 13 Feb, 2006 from Wiesmoor, Germany
Proper scripting would be really great 
Cheers
Dennis
Cheers
Dennis
- KVRist
- 78 posts since 12 May, 2005 from Finger Lakes, NY, US
+1 for reimplementing scripting. And for something c-ish.
Most people wouldn't know good music if it bit them in the ass. –FZ
-
- KVRist
- Topic Starter
- 112 posts since 21 Aug, 2011
I haven't dug in to either Reaper or Zebra enough to comment intelligently, but i believe one smart decision Reaper made was to allow scripting on a couple of different levels, with different languages. So audio scripting can use a lower level language and ui scripting can use something more readable and dynamic.
At any rate, that is the case with Csound, which has worked really well. You can script csound itself from Python, Java, C/C++, Ruby, etc, and you can extend it with either Csound itself or with C.
I guess in an ideal world we could control Zebra as as well as customize or extend generators.
thanks
Iain
At any rate, that is the case with Csound, which has worked really well. You can script csound itself from Python, Java, C/C++, Ruby, etc, and you can extend it with either Csound itself or with C.
I guess in an ideal world we could control Zebra as as well as customize or extend generators.
thanks
Iain
-
- KVRist
- 165 posts since 9 Sep, 2005
I'm demoing Zebra and I'm already in love with this machine. Enormous possibilities with awesome quality and ease of use
Thank you Urs. I'll support you as soon as I get back to music. And speaking of scripting, as a web designer I'd prefer JavaScript.
All the best,
Paul
All the best,
Paul
