Zebra Parameter Names for Zebra Script

Official support for: u-he.com
RELATED
PRODUCTS

Post

I thought I would start a thread as a dumping ground for Zebra scripting parameter names. Also I am generating enum lists (Zebraspeak has no enum keyword, right?) which are entirely of my own naming. Note that parameters like Oscillator1.blah can (probably/usually) be named Oscillator[1].blah, and I am only listing the first of any set.

billstei

P.S. Beware ya scurvy dogs, there be bug dragons.

Post

// Modulation Source enums

int MOD_SRC_NONE = 0;
int MOD_SRC_MODWHL = 1;
int MOD_SRC_PITCHW = 2;
int MOD_SRC_BREATH = 3;
int MOD_SRC_XPRESS = 4;
int MOD_SRC_LFOG1 = 5;
int MOD_SRC_LFOG2 = 6;
int MOD_SRC_GATE = 7;
int MOD_SRC_KEYFOL = 8;
int MOD_SRC_VELOCITY = 9;
int MOD_SRC_ATOUCH = 10;
int MOD_SRC_ARPMOD = 11;
int MOD_SRC_ARPMD2 = 12;
int MOD_SRC_ENV1 = 13;
int MOD_SRC_ENV2 = 14;
int MOD_SRC_ENV3 = 15;
int MOD_SRC_ENV4 = 16;
int MOD_SRC_MSEG1 = 17;
int MOD_SRC_MSEG2 = 18;
int MOD_SRC_MSEG3 = 19;
int MOD_SRC_MSEG4 = 20;
int MOD_SRC_LFO1 = 21;
int MOD_SRC_LFO2 = 22;
int MOD_SRC_LFO3 = 23;
int MOD_SRC_LFO4 = 24;
int MOD_SRC_MMAP1 = 25;
int MOD_SRC_MMAP2 = 26;
int MOD_SRC_MMIX1 = 27;
int MOD_SRC_MMIX2 = 28;
int MOD_SRC_MMIX3 = 29;
int MOD_SRC_MMIX4 = 30;
Last edited by billstei on Wed May 27, 2009 1:45 am, edited 1 time in total.

Post

// Oscillator[x].PolyWave enums

int OSC_POLYWAVE_SINGLE = 0;
int OSC_POLYWAVE_DUAL = 1;
int OSC_POLYWAVE_QUAD = 2;
int OSC_POLYWAVE_ELEVEN = 3;

// Oscillator[x].WaveForm enums

int OSC_WAVEFORM_GEOMORPH = 0;
int OSC_WAVEFORM_SPECTROMORPH = 1;
int OSC_WAVEFORM_GEOBLEND = 2;
int OSC_WAVEFORM_SPECTROBLEND = 3;

// OSC Parameters

// Oscillator1.WaveWarp
// Oscillator1.WarpModSrc
// Oscillator1.WarpModDepth
// Oscillator1.Tune
// Oscillator1.TuneModSrc
// Oscillator1.TuneModDepth
// Oscillator1.Detune
// Oscillator1.Vibrato
// Oscillator1.Pan
// Oscillator1.PanModSrc
// Oscillator1.PanModDepth
// Oscillator1.Volume
// Oscillator1.VolumeModSrc
// Oscillator1.VolumeModDepth
// Oscillator1.PolyWave
// Oscillator1.Poly.Width
// Oscillator1.SpectraFX1.Val
// Oscillator1.SpectraFX1.Type
// Oscillator1.SFX1ModSrc
// Oscillator1.SFX1ModDepth
// Oscillator1.SpectraFX2.Val
// Oscillator1.SpectraFX2.Type
// Oscillator1.SFX2ModSrc
// Oscillator1.SFX2ModDepth
// Oscillator1.Reset.Phase
// Oscillator1.PWM.Mode
// Oscillator1.Phase
// Oscillator1.PhaseModSrc
// Oscillator1.PhaseModDepth
// Oscillator1.Sync.Active
// Oscillator1.SyncTune
// Oscillator1.SyncModSrc
// Oscillator1.SyncModDepth
// Oscillator1.key.scale
// Oscillator1.WaveForm
// Oscillator1.Normalize
// Oscillator1.Resolution
// Oscillator1.Renderer
Last edited by billstei on Wed May 27, 2009 4:24 pm, edited 2 times in total.

Post

// Noise[x].Type enums

int NOISE_TYPE_WHITE = 0;
int NOISE_TYPE_PINK = 1;
int NOISE_TYPE_DIGITAL = 2;
int NOISE_TYPE_CRACKLES = 3;

// Noise[x].Poly enums

int NOISE_POLY_MONO = 0;
int NOISE_POLY_STEREO = 1;

// Noise Parameters

// Noise1.Type
// Noise1.Poly
// Noise1.Filter1
// Noise1.F1.ModSrc
// Noise1.F1.ModDepth
// Noise1.Filter2
// Noise1.F2.ModSrc
// Noise1.F2.ModDepth
// Noise1.Pan
// Noise1.PanModSrc
// Noise1.PanDepth
// Noise1.Volume
// Noise1.VolumeModSrc
// Noise1.Volume
// Noise1.Width
Last edited by billstei on Wed May 27, 2009 1:48 am, edited 1 time in total.

Post

Note: The downcase "s" in "Modsource1" and "Modsource2" is intended (names are case-sensitive in Zebraspeak).
Filter[x].Gain exists on the effects GUI panel (VCF5, VCF6) but not the normal GUI panel.


// Filter[x].Type enums

int FILTER_TYPE_LP_XCITE = 0;
int FILTER_TYPE_LP_ALLROUND = 1;
int FILTER_TYPE_LP_MIDDRIVE = 2;
int FILTER_TYPE_LP_OLDDRIVE = 3;
int FILTER_TYPE_LP_FORMANT = 4;
int FILTER_TYPE_LP_VINTAGE = 5;
int FILTER_TYPE_LP_12DB = 6;
int FILTER_TYPE_LP_6DB = 7;
int FILTER_TYPE_BP_REZBAND = 8;
int FILTER_TYPE_BP_QBAND = 9;
int FILTER_TYPE_HP_24DB = 10;
int FILTER_TYPE_HP_12DB = 11;
int FILTER_TYPE_BR_NOTCH = 12;
int FILTER_TYPE_EQ_PEAKING = 13;
int FILTER_TYPE_EQ_LOSHELF = 14;
int FILTER_TYPE_EQ_HISHELF = 15;
int FILTER_TYPE_AP_PHASER_4 = 16;
int FILTER_TYPE_AP_PHASER_8 = 17;
int FILTER_TYPE_LP_VINTAGE2 = 18;

// VCF Parameters

// Filter1.Type
// Filter1.Cutoff
// Filter1.Resonance
// Filter1.Modsource1
// Filter1.ModDepth1
// Filter1.Modsource2
// Filter1.ModDepth2
// Filter1.KeyFollow
// Filter1.Drive
// Filter1.Gain // VCF1,2,3,4 do not show this, 5 and 6 do
Last edited by billstei on Thu May 28, 2009 9:32 pm, edited 2 times in total.

Post

// FMO[x].Mode enums

int FMO_MODE_FM_BY_INPUT = 0;
int FMO_MODE_FM_SELF_PLUS = 1;
int FMO_MODE_RM_INPUT = 2;
int FMO_MODE_FILTERED_FM = 3;
int FMO_MODE_FM_SELF2_PLUS = 4;

// FMO[x].Poly enums

int FMO_POLY_MONO = 0;
int FMO_POLY_STEREO = 1;

// FMO[x].Generator enums

int FMO_GENERATOR_PURE_SINE 0;
int FMO_GENERATOR_QUADRIC_SINE 1;
int FMO_GENERATOR_DUAL_AM_SINE 2;
int FMO_GENERATOR_HALF_SINE 3;
int FMO_GENERATOR_SINE_SHIFT 4;
int FMO_GENERATOR_QUADRIC_SHIFT 5;
int FMO_GENERATOR_AM_SHIFT 6;
int FMO_GENERATOR_DUAL_POSITIVE 7;

// FMO Parameters

// FMO1.Mode
// FMO1.Poly
// FMO1.FM.Depth
// FMO1.FM.ModSrc
// FMO1.FM.ModDepth
// FMO1.Tune
// FMO1.TuneModSrc
// FMO1.TuneModDepth
// FMO1.Vibrato
// FMO1.Detune
// FMO1.key.scale
// FMO1.Pan
// FMO1.PanModSrc
// FMO1.PanModDepth
// FMO1.Width
// FMO1.Volume
// FMO1.VolumeModSrc
// FMO1.VolumeModDepth
// FMO1.Generator
Last edited by billstei on Wed May 27, 2009 4:45 pm, edited 3 times in total.

Post

Note: Several odd spellings here (like SecModSrc -- bug fix needed?).

// Comb[x].Mode enums

int COMB_MODE_COMB = 0;
int COMB_MODE_SPLIT_COMB = 1;
int COMB_MODE_SPLIT_DUAL = 2;
int COMB_MODE_DIFF_COMB = 3;
int COMB_MODE_DISSONANT = 4;
int COMB_MODE_CLUSTER = 5;
int COMB_MODE_BLOWN = 6;

// Comb Parameters

// Comb1.Mode
// Comb1.TuneModSrc
// Comb1.TuneModDepth
// Comb1.Detune
// Comb1.Vibrato
// Comb1.key.scale
// Comb1.Feedback
// Comb1.FBModSrc
// Comb1.FBModDepth
// Comb1.Damp
// Comb1.DampModSrc
// Comb1.DampModDepth
// Comb1.Tone
// Comb1.ToneModSrc
// Comb1.ToneMod
// Comb1.Distortion
// Comb1.PreFill
// Comb1.Input
// Comb1.InModSrc
// Comb1.Flavour
// Comb1.SecModSrc
// Comb1.FlavourMod
// Comb1.Dry
// Comb1.Volume
// Comb1.VolumeModSrc
// Comb1.VolumeModDepth
// Comb1.Pan
// Comb1.PanModSrc
// Comb1.PanModDepth
// Comb1.Width
Last edited by billstei on Wed May 27, 2009 1:52 am, edited 1 time in total.

Post

Thank you, billstei. :clap:

Do all codes apply to all Uhe products?

Post

chardin wrote:Thank you, billstei. :clap:

Do all codes apply to all Uhe products?
Probably not -- just Zebra (ver 2.3.2). There could be "bug" fixes from Urs (meaning a name could change), or I may have typos too, but now there is a list to work with.

Post

// Shape[x].Type enums

int SHAPE_TYPE_SHAPE = 0;
int SHAPE_TYPE_T_DRIVE = 1;
int SHAPE_TYPE_CRUSH = 2;
int SHAPE_TYPE_WEDGE = 3;

// Shape Parameters

// Shape1.Type
// Shape1.Depth
// Shape1.D_ModSrc
// Shape1.D_ModDepth
// Shape1.Edge
// Shape1.Edge.ModSrc
// Shape1.Edge.ModDepth
// Shape1.Input
// Shape1.Output
// Shape1.HiOut
Last edited by billstei on Wed May 27, 2009 1:53 am, edited 1 time in total.

Post

:oops:

It just occurred to me that I left out the equal sign and the semi-colon from the enums above. Will Edit/fix...

:oops:

Edit: Think I fixed them all. :phew:

Post

// ChannelMix[x].Pan.Mode enums

int CHANNELMIX_PAN_MODE_BAL_L_R = 0;
int CHANNELMIX_PAN_MODE_PAN_L_R = 1;
int CHANNELMIX_PAN_MODE_BAL_R_L = 2;
int CHANNELMIX_PAN_MODE_PAN_R_L = 3;
int CHANNELMIX_PAN_MODE_PAN_MONO = 4;

// ChannelMix Parameters

// ChannelMix1.Pan.Mode
// ChannelMix1.Pan
// ChannelMix1.PanMod.Depth
// ChannelMix1.PanMod.Source
// ChannelMix1.Mix

Post

Note: XMF1.Freq.mod.1 and XMF1.Freq.mod.2 are not valid syntax for Zebra script and will not compile (i.e. a legitimate bug). As a workaround use Global.Parameter[], but these IDs can change -- see below.
Also the spelling "XMFrc" is no doubt missing the "s", however it does work as is (for now).


// XMF[x].Type enums

int XMF_TYPE_LP4 = 0;
int XMF_TYPE_BP2 = 1;
int XMF_TYPE_BP4 = 2;
int XMF_TYPE_HP2 = 3;
int XMF_TYPE_BR2 = 4;

// XMF Parameters

// XMF1.Type
// XMF1.Cutoff
// XMF1.Resonance
// XMF1.Modsource1
// XMF1.Freq.mod.1 // will not compile, use Global.Parameter[1097],[1117]
// XMF1.Modsource2
// XMF1.Freq.mod.2 // will not compile, use Global.Parameter[1099],[1119]
// XMF1.KeyFollow
// XMF1.Overload
// XMF1.FreqOffset
// XMF1.FreqOffSrc
// XMF1.FreqOffMod
// XMF1.FilterFM
// XMF1.XFMrc
// XMF1.XFMmod
// XMF1.Bias
// XMF1.Click
Last edited by billstei on Sat May 30, 2009 3:49 pm, edited 4 times in total.

Post

Woah... please note that the list of Modulators can change at any time... Which is why the presets always start with the list of modulators used at the time of saving the preset.

I'll try to work something out for literals. I will have to do deep changes though, and the code for the script compiler is very, very complex already...

Cheers,

;) Urs

Post

Urs wrote:Woah... please note that the list of Modulators can change at any time... Which is why the presets always start with the list of modulators used at the time of saving the preset.
Maybe something like this would work:

Oscillator1.TuneModSrc = getModSrcID("ModWhl");

Just thinking out loud... and I know there is no char data type yet.

Can you confirm that there is no "enum" keyword available at this time?
Urs wrote: I'll try to work something out for literals. I will have to do deep changes though, and the code for the script compiler is very, very complex already...

Cheers,

;) Urs
Yeah I can imagine... and there is at least one bug I wish you could fix. I'll post it in another thread. In the mean time I think that documenting the parameter names is good thing. Yes?

Post Reply

Return to “u-he”