Randomizer for Zebra, ZebraCM, MFM2...
-
gentleclockdivider gentleclockdivider https://www.kvraudio.com/forum/memberlist.php?mode=viewprofile&u=203660
- KVRAF
- 6113 posts since 22 Mar, 2009 from gent
Damn I guess I am left out of the fun
I try to save the file as a .h2p file ... ....I've put it in the presets directory ...nothing happened
I try to save the file as a .h2p file ... ....I've put it in the presets directory ...nothing happened
Eyeball exchanging
Soul calibrating ..frequencies
Soul calibrating ..frequencies
- KVRAF
- 4130 posts since 11 Aug, 2006 from Texas
Try this one: http://uhe-patchlib.3amnoise.net/preset ... omizer.zip
-
- KVRAF
- 13090 posts since 14 Nov, 2000 from Hannover / Germany
Sorry for bringing up this old thread (but hey, why not...), I would like to know if there's a way to modify this patch so it'd never affect OSC tuning. I mean, I usually do want to keep playing the normal way, so a C should better be a C
- Sascha
- Sascha
There are 3 kinds of people:
Those who can do maths and those who can't.
Those who can do maths and those who can't.
- KVRAF
- 4130 posts since 11 Aug, 2006 from Texas
If you look at the RandomNoNoise.h2p script, at the very end it has:
I'd imagine you could do something like:
Of course, this will trash prests where you have OSCs tuned to something else. I'm afraid the documentation on h2p internals is a bit sparse so I don't know how to do an if-check like:
Code: Select all
#cm=Noise1
Vol=0.00
Code: Select all
#cm=OSC1
Tune=0.00
#cm=OSC2
Tune=0.00
#cm=OSC3
Tune=0.00
#cm=OSC4
Tune=0.00
Code: Select all
if ( Global.Parameter[ i ].name != "Tune" )
- u-he
- Topic Starter
- 28065 posts since 8 Aug, 2002 from Berlin
You can get the parameter id of the Tune parameters and then exclude these from being set. Unfortunately it's too late for me to do this now (need sleep). Maybe after the weekend...
-
- KVRian
- 505 posts since 13 Feb, 2009
today ok?Urs wrote:You can get the parameter id of the Tune parameters and then exclude these from being set. Unfortunately it's too late for me to do this now (need sleep). Maybe after the weekend...
- u-he
- Topic Starter
- 28065 posts since 8 Aug, 2002 from Berlin
Errrm. Maybe tomorrow... I'm in obsessive dev mode... one of these months where I try to resist going online at all...sinzero wrote:today ok?Urs wrote:You can get the parameter id of the Tune parameters and then exclude these from being set. Unfortunately it's too late for me to do this now (need sleep). Maybe after the weekend...
-
- KVRian
- 505 posts since 13 Feb, 2009
Urs wrote:Errrm. Maybe tomorrow... I'm in obsessive dev mode... one of these months where I try to resist going online at all...sinzero wrote:today ok?Urs wrote:You can get the parameter id of the Tune parameters and then exclude these from being set. Unfortunately it's too late for me to do this now (need sleep). Maybe after the weekend...
wait, tomorrow is today...lol
when you can
thx!
-
- KVRer
- 10 posts since 9 Dec, 2009
I just purchased Zebra2 and love it--easily outclasses every other synth I own or demoed.
I'm also digging these randomization scripts. I was wondering if anyone knows of a way to modify the arp script so that it only returns values for notes in the key (e.g. 0,2,4,5,7,9,11,12 for major). Here's the relevant part of the script:
for ( int i = 0; i < 16; i++ )
{
VoiceCircuit.Parameter[ 25 + i * 7 ] = rand(-12, 12);
}
I don't know much about scripting (outside video games) if anyone knows how to do an 'or' function I could probably figure it out. (or maybe a way to exclude the unwanted values from the random function?)
I'm also digging these randomization scripts. I was wondering if anyone knows of a way to modify the arp script so that it only returns values for notes in the key (e.g. 0,2,4,5,7,9,11,12 for major). Here's the relevant part of the script:
for ( int i = 0; i < 16; i++ )
{
VoiceCircuit.Parameter[ 25 + i * 7 ] = rand(-12, 12);
}
I don't know much about scripting (outside video games) if anyone knows how to do an 'or' function I could probably figure it out. (or maybe a way to exclude the unwanted values from the random function?)
- KVRAF
- 4130 posts since 11 Aug, 2006 from Texas
Urs made a website that lets you generate arp scales: http://www.u-he.net/scripting/Arprestrictor.php.PetRocket wrote:I just purchased Zebra2 and love it--easily outclasses every other synth I own or demoed.
I'm also digging these randomization scripts. I was wondering if anyone knows of a way to modify the arp script so that it only returns values for notes in the key (e.g. 0,2,4,5,7,9,11,12 for major). Here's the relevant part of the script:
for ( int i = 0; i < 16; i++ )
{
VoiceCircuit.Parameter[ 25 + i * 7 ] = rand(-12, 12);
}
I don't know much about scripting (outside video games) if anyone knows how to do an 'or' function I could probably figure it out. (or maybe a way to exclude the unwanted values from the random function?)
With that said, a KVR user named billstei did some serious work on scripting at http://www.hbci.com/~billstei/pub/zebra2/DeltaPatches/. You might find the answer to your scripting trick in one of those scripts. Or maybe Urs will pop on too now that he's starting to recover from the ACE launch.
- u-he
- Topic Starter
- 28065 posts since 8 Aug, 2002 from Berlin
It feels like still in the middle. Answering emails takes up 8 hours a day.bmrzycki wrote:now that he's starting to recover from the ACE launch.
- KVRist
- 78 posts since 12 May, 2005 from Finger Lakes, NY, US
I think this will do it (unless I screwed up something).PetRocket wrote:I was wondering if anyone knows of a way to modify the arp script so that it only returns values for notes in the key (e.g. 0,2,4,5,7,9,11,12 for major). Here's the relevant part of the script:
for ( int i = 0; i < 16; i++ )
{
VoiceCircuit.Parameter[ 25 + i * 7 ] = rand(-12, 12);
}
Code: Select all
int pitchClass[8] = {0, 2, 4, 5, 7, 9, 11, 12};
int sign;
for ( int i = 0; i < 16; i++ )
{
sign = rand(0,1);
if (sign == 0) sign = -1;
VoiceCircuit.Parameter[ 25 + i * 7 ] = pitchClass[rand(0,7)] * sign;
}
Most people wouldn't know good music if it bit them in the ass. –FZ
- KVRAF
- 4130 posts since 11 Aug, 2006 from Texas
Code: Select all
int pitchClass[8] = {0, 2, 4, 5, 7, 9, 11, 12};
int sign;
for ( int i = 0; i < 16; i++ )
{
sign = rand(0,1);
if (sign == 0) sign = -1;
VoiceCircuit.Parameter[ 25 + i * 7 ] = pitchClass[rand(0,7)] * sign;
}
Code: Select all
for ( int i = 0; i < 16; i++ )