The Zebra Scripting Thread

Official support for: u-he.com
RELATED
PRODUCTS

Post

I Can't Sleep, the Unknown Parameter Names Will Eat Me

Here are my guesses so far for the OSC Poly Width parameter:

Oscillator1.PolyWidth = 1.0; // nope
Oscillator1.PolyWaveWidth = 1.0; // no
Oscillator1.WaveWidth = 1.0; // nada
Oscillator1.Width = 1.0; // nah
Oscillator1.PolyWollyWaveyWidthByeBye = 1.0; // getting warmer...

Post

billstei wrote:I Can't Sleep, the Unknown Parameter Names Will Eat Me

Here are my guesses so far for the OSC Poly Width parameter:

Oscillator1.PolyWidth = 1.0; // nope
Oscillator1.PolyWaveWidth = 1.0; // no
Oscillator1.WaveWidth = 1.0; // nada
Oscillator1.Width = 1.0; // nah
Oscillator1.PolyWollyWaveyWidthByeBye = 1.0; // getting warmer...
NeVeRmInD, I got it:

Oscillator1.Poly.Width = ...

Post

I've managed to figure out all the OSCx module parameters, including the Blend modes Wavetable.set() function, but I can't find any info on the Keyscale, Velscale, and Morph modes data point manipulation. Probably similar to MSEGx.setSegment() and MSEGx.setMarks() I suppose. Urs can you give me a couple of clues/examples? They don't have to work or do anything, just a couple of function names and arguments, I can hack around from there.

Post

Fine detective work, billstei! :hyper:

Post

billstei wrote:I've managed to figure out all the OSCx module parameters, including the Blend modes Wavetable.set() function, but I can't find any info on the Keyscale, Velscale, and Morph modes data point manipulation. Probably similar to MSEGx.setSegment() and MSEGx.setMarks() I suppose. Urs can you give me a couple of clues/examples? They don't have to work or do anything, just a couple of function names and arguments, I can hack around from there.
None of these are implemented yet :oops:

Post

ZenPunkHippy wrote:
billstei wrote:If you watch stdout there is quite a bit of compiler output, including the exact line number that is bugging it, but I have not tried this in MS Windows. I use a different OS, that rhymes with "The MS Windows Console Sux".
That's brilliant, thanks for the info. Fortunately, my OS of choice is a similar flavour to yours :cool:

Peace,
Andy.
Just for completeness, there's a tool for the other operating system called DebugView, found on MS' SysInternals pages.

Post

whyterabbyt wrote:
I'm just so not in love with Javascript. :)
Javascript gets used in similar places, including MAX/MSP, and the game design engine Unity.
There are certain reasons to go JavaScript:

- it's almost fully compatible to the existing script engine
- I don't speak Python, Ruby, Lua etc. myself, but I do speak ECMA
- there are really good JIT compilers coming in the near future
- there are loads of online resources, due to web design, Flash etc.
- another future u-he app will most likely use it extensively
- no licensing problems for closed source commercial products

These are the reasons I prefer JavaScript... I might have a look at the other options though. I always wanted to check them out but never had the time to do so...

(I will at no time add Haskell though)

;) Urs

Post

Urs wrote: There are certain reasons to go JavaScript:

- it's almost fully compatible to the existing script engine
- I don't speak Python, Ruby, Lua etc. myself, but I do speak ECMA
- there are really good JIT compilers coming in the near future
- there are loads of online resources, due to web design, Flash etc.
- another future u-he app will most likely use it extensively
- no licensing problems for closed source commercial products

These are the reasons I prefer JavaScript... I might have a look at the other options though. I always wanted to check them out but never had the time to do so...

(I will at no time add Haskell though)

;) Urs
It gets my vote anyways, as Im using it more and more in MAX. If anyone is interested the following is a rather good book on making the best of Javascript.

http://www.amazon.co.uk/JavaScript-Good ... 0596517742
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."

Post

Oh... I was on my first coffee... my post was meant to agree & extend your point.

Post

Urs wrote:Oh... I was on my first coffee... my post was meant to agree & extend your point.
oops, my apologies for clumsy phrasing; i did get that you were agreeing... i was just trying to say that if that was the way you were going, then i was happy about that.

the book reference was for other folk who might be dubious about JS as a scripting language.
An idiot on Set Theory:
"In some cases there is an object called red that contains everything that is red. In much the same way a pot is a plate."

Post

Urs wrote:
whyterabbyt wrote:
I'm just so not in love with Javascript. :)
Javascript gets used in similar places, including MAX/MSP, and the game design engine Unity.
There are certain reasons to go JavaScript:

- it's almost fully compatible to the existing script engine
- I don't speak Python, Ruby, Lua etc. myself, but I do speak ECMA
- there are really good JIT compilers coming in the near future
- there are loads of online resources, due to web design, Flash etc.
- another future u-he app will most likely use it extensively
- no licensing problems for closed source commercial products

These are the reasons I prefer JavaScript... I might have a look at the other options though. I always wanted to check them out but never had the time to do so...

(I will at no time add Haskell though)

;) Urs
:) Ok. Consider me a convert. Don't ever listen to me again if I'm not really stubborn about something. :lol:

I'm off to Barcelona and the Primavera festival for 11 days now but when I get back I hope I can sense the smell of updates? :P

Post

I think it makes more sense than the others since most coders will know it as it is the most popular language in the world due to web browsers. As you already stated great JITs are on the way as well. I think we will see Apple integrate something based on LLVM into their JS interpreter.

If you do look at one of the others I'll vote for Ruby. It's a wonderful language. However, as stated above I don't think it makes as much sense as JavaScript.

Post

Urs wrote:(I will at no time add Haskell though)
This made me smile. I'm glad I'm not alone in thinking Haskell has some of the strangest syntax.

Post

Urs wrote: (I will at no time add Haskell though)

;) Urs
:phew:

Post

bmrzycki wrote:
Urs wrote:(I will at no time add Haskell though)
This made me smile. I'm glad I'm not alone in thinking Haskell has some of the strangest syntax.
Bring forth Lisp or Prolog! :help:

Post Reply

Return to “u-he”