Randomizer for Zebra, ZebraCM, MFM2...

Official support for: u-he.com
Post Reply New Topic
RELATED
PRODUCTS

Post

Eeeek. I've found a little bug here. The parameter name would be "VoiceCircuit.Arp Step ModA" so it contains 2 spaces... and the scripting language doesn't allow for spaces within identifiers (no language does I guess)...

I gotta change the scripting thing so that it would still be recognized if one wrote VoiceCircuit.ArpStepModA without the spaces...

You could still do it by finding the right parameter numbers, such as VoiceCircuit.Parameter[ 25 ]...

wait... got it... next post

Post

Code: Select all

#defaults=no
<?
	// random notes

	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 25 + i * 7 ] = rand(-12, 12);
	}
	
	// random gates
	
	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 24 + i * 7 ] = rand(0, 6);
	}
	
	// random duration
	
	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 27 + i * 7 ] = rand(0, 3);
	}
	
	// random step
	
	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 28 + i * 7 ] = rand(0, 3);
	}
	
	// random number of voices
	
	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 26 + i * 7 ] = rand(0, 6);
	}
	
	
	// random Modulations
	
	for ( int i = 0; i < 16; i++ )
	{
		VoiceCircuit.Parameter[ 29 + i * 7 ] = rand(-100, 100);
		VoiceCircuit.Parameter[ 30 + i * 7 ] = rand(-100, 100);
	}
	
?>
Random Arpeggiator. Customize to taste :D

(future versions will have to be made safer though... as the parameter index can vary from version to version)

Post

cool...thanx for that quick random arp function
i will try out a bit later, because i was shopping and now i'm eating..quite tasty "lebberkäsbrötchen"

what i didnt inderstand is, how can someone know , that the arp is belonging to VoiceCircuit ..hmm
is there a pdf or something out there where all objects and functions are listed or am i missing something ?

do u have kind of a list urs ?

Post

tengotiempo wrote:cool...thanx for that quick random arp function
i will try out a bit later, because i was shopping and now i'm eating..quite tasty "lebberkäsbrötchen"

what i didnt inderstand is, how can someone know , that the arp is belonging to VoiceCircuit ..hmm
is there a pdf or something out there where all objects and functions are listed or am i missing something ?

do u have kind of a list urs ?
Guten Appetit!

Well, I of course have some sort of a list...

But usually, when you i.e. turn a knob, the value display on top not only shows teh value, but also the module name and the parameter name on the left hand side. These together form the name of the parameter object, where numbers can be used as arrays:

Oscillator1.Tune is the same as Oscillator[ 1 ].Tune

There's more to come about this... bit by bit... here:

http://www.u-he.net/scripting/

Questions can of course be asked here:

http://www.u-he.net/audev/

It'll eventually get some pace some time soon...

;) Urs

Post

just in case u will have a look here again, urs
the FMO1 for example is not reachable via script as well i think, because of the "space" between FM and Ocs1
not sure if i'm right, but i've tried out several spellings...

just writing that to prevent u from forgetting something ;)

Post

Urs wrote: Random Arpeggiator. Customize to taste :D

(future versions will have to be made safer though... as the parameter index can vary from version to version)
Thank you Urs, that's cool..
But, as asked via pm....can you let me know a way to write an .h2p file with textedit without having the rtf file format?? :help:

Post

tengotiempo wrote:just in case u will have a look here again, urs
the FMO1 for example is not reachable via script as well i think, because of the "space" between FM and Ocs1
not sure if i'm right, but i've tried out several spellings...

just writing that to prevent u from forgetting something ;)
:-o

Fixed in the next update 8-)

You could of course reach them over the module ID or simply the parameter ID, but d'oh... there's no list yet, indeed!

Later,

;) Urs

Post

raikard233 wrote:But, as asked via pm....can you let me know a way to write an .h2p file with textedit without having the rtf file format?? :help:
I'd recommend BBEdit... but... I was hoping that there was still a BBEdit Lite... unfortunately one gets only BBEdit Pro anymore?

Maybe someone knows a good free Texteditor for Mac which does *not* add ".txt" or any such suffix to every file automatically?

Sigh...

;) Urs

Post

Urs wrote: I'd recommend BBEdit... but... I was hoping that there was still a BBEdit Lite... unfortunately one gets only BBEdit Pro anymore?

Maybe someone knows a good free Texteditor for Mac which does *not* add ".txt" or any such suffix to every file automatically?

Sigh...

;) Urs
Just found TextWrangler from the BBEdit website, it works.
Thanx!

http://www.barebones.com/products/textw ... load.shtml

Post

raikard233 wrote:Just found TextWrangler from the BBEdit website, it works.
http://www.barebones.com/products/textw ... load.shtml
yep, this is basically what has become of BBEdit Lite. pretty damn nice for a freebie!

Post

Randomizer seems to be working here with Zebra2 CM on my system. Thanks Urs. 8)
Mac Pro Quad 2.66 GHz. 9GB RAM
Snow Leopard 10.6.8/Pro Tools 8.0.5/Digi 002R
Live 9.1
Predator, Subboombass

Post

Is there any functionality planned that'll make loading scripts easier? Right now I need to save the scripts in every directory so I can easily load it, and also easily save the new preset in the same directory as its humble beginnings. A scripts column in the preset-tab would be great, I think.
Image

Post

Mighty Pea wrote:Is there any functionality planned that'll make loading scripts easier? Right now I need to save the scripts in every directory so I can easily load it, and also easily save the new preset in the same directory as its humble beginnings. A scripts column in the preset-tab would be great, I think.
Well, let's say... "sure - if it takes off"

Currently I wouldn't want to do too much about it. There should be a few more scripts before anything happens... but then I was thinking about function-menus that can hold scripts specific to modules.

We'll see...

Post

Great little stuff, Urs!

Thanx...

What's this Zebra2 CM Stuff about? Are there TWO versions of them???

Anyway, stripes rocks...

ganym3d
Lenovo_L412_i5-520m_@_2.4GHz|8GB_RAM|120GB_SSD|128GB_extMemory|Win_7|Live_9.7.7|volca_sample|Novation_Launchpad_Mk2-Launch Control_XL_Mk2-Audiohub_2x4-Circuit|Kaoss_Pad_Mini_2S|Allen&Heath_ZEDi-10|various_PlugIns|Tab_A6|Mazetools_Soniface

Post

yeah, thanks from me also for the randomizer. Very useful, have already used it in MFM for some raw material. It's also a nice way to find the nooks and crannies of any particular Zebra patch, it gave me some different looks at some recent new patches I've been messing with.

-mm

Post Reply

Return to “u-he”