Welcome Guest! To enable all features please Login or Register.

Notification

Icon
Error

Forum Jump  
J's Ensemble Maker -- free K2 script
Last post Sun, Jan 29 2012 by jazzangeleyes, 28 replies.
Options
Go to last post
2 Pages12>
Posted on Mon, Jan 30 2006 16:00
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
I decided to start learning the Kontakt 2 scripting language. J’s Ensemble Maker is the first fruit of this labor.


www.Members.aol.com/jbacal/Kontakt/J_Ensemble_Maker_05.zip


What’s it do?

It creates ensembles up to 7 players without any phasing using only 1 instrument. It even works with VSL performance legato instruments.

Here is a short audio demo of the effect of J's Ensemble Maker v.04 K2 script.


www.Members.aol.com/jbacal/Kontakt/Ensemble_Maker_Solo_Violin_Demo.mp3


The instruments used in the demo are completely dry and unprocessed. The differences you hear between the repeated phrases are the result entirely of the Ensemble Maker script.

The first instrument you hear is the VSL solo Violin performance legato f portamento. The first time the short phrase is played the Voices setting is 1, the second time the Voices setting is 3, and the third time the Voices setting is 7.

The VSL solo violin pizzicato plays the next short phrase. The first time the phrase is played the Voices setting is 1, the second time the Voices setting is 3, and the third time the Voices setting is 7.


What are the controls?

Voices: Number of player from 1 to 7.

Detune: Maximum amount of detuning of players in fractions of a half tone.

Random_Detune: When this button is ON detuning is random up to the maximum set by the Detune knob.

Spread: Distance players are spread across stereo field.

Pre_Slop: Adds sloppiness to players’ entrances up to max of 1 sec.

End_Slop: Add sloppiness to end of players' notes **NOTE: for sustain playing please turn Pre_Slop and End_Slop knob to 0 (or close to 0) for best results.

Random_Slop: When this button is ON the “slop factor” is random up to max set by Slop knob.

VSL_Legato mode: this mode enables the user to set a Slop amount when playing VSL performance legato instruments. The user can now hear all those lovely transition samples at slightly different times, creating a much more realistic, less synchronized, ensemble effect. COOL!

Sampled: Set this value to the largest amount samples have been stretched in the creation of the instrument. For example, if the instrument has been sampled chromatically set this knob to 1. If it’s been sampled every whole step set the knob to 2.

Pick Release grp: If you want to use instruments with release samples simply select the release sample group from the drop down menu in the Ensemble Maker. Oh, and there’s one more thing you have to do if you want to get the release samples to function properly.

You want ME to do something else?! I’m just a country doctor, Jim!! Not a bricklayer!

Calm down. It’s not that bad. You have to click on “the Group Editor” button near the top then click on the release samples group in the group editor window then de-select the “Release Trigger” button for the release samples group. That’s right DE-select (turn it off!) the “Release Trigger” button for the release samples group.

Monophonic lines and legato lines play perfectly with release samples. However, if you hit 2 or more keys at exactly the same time—bug city—you hear out of tune release samples. Oh well.

Ignore: ignore notes above and below user-defined points. This enables the playing of keyswitch instruments

How do I install this thing?

Just drop the file into scripts folder usually located at C:\\Program Files\\Native Instruments\\Kontakt 2\\presets\\scripts. J’s Ensemble Maker should now be available in the Script Editor.

Is it free?

Yep.

Can I have the code?

Send me a PM. If there’s enough interest I’ll post the code. It’s pretty basic.

Does Jay like feedback?

I’m a feedback junkie. The more feedback I get the more motivated I become to write new code.


Best wishes,
Jay
Posted on Mon, Jan 30 2006 16:26
by nliberg
Joined on Fri, Dec 02 2005, Posts 232
Hi Jay,
seems very interesting!! I'll download it and test it.
Does detuning solve the phasing issue?
It's so good to finally see some action in this part of the forum. Big Smile

Btw. maybe you would find my K2 script editor useful (it's free).

Regards,
Nils
Posted on Mon, Jan 30 2006 16:56
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Hi Nils,

The phasing is solved by taking samples above and below the actual note played and then transposing the pitch of those samples by the required amount.

The detuning is just to create an even thicker, sloppier sound.

Thanks for the tip on your editor. I've give it a try.

Best,
Jay
Posted on Mon, Jan 30 2006 18:32
by dbudde
Joined on Sun, Mar 02 2003, Seattle,WA USA, Posts 436
When I download this file, it saves it as a text file with a .txt extension. If I remove the extension it still thinks it is a text file and Kontakt can't see it as a script.

??

Can you zip it up first and then post it?

I'd also like to see the code please.
Posted on Mon, Jan 30 2006 18:51
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Here is the file zipped. Hopefully it will work now. Let me know.

www.Members.aol.com/jbacal/Kontakt/J_Ensemble_Maker.zip

--Jay
Posted on Mon, Jan 30 2006 23:28
by dbudde
Joined on Sun, Mar 02 2003, Seattle,WA USA, Posts 436
That worked. Thanks.
Posted on Tue, Jan 31 2006 10:35
by nliberg
Joined on Fri, Dec 02 2005, Posts 232
Hi Jay,
it works great!! Big Smile I sent you a PM about the code.
There are two problems however:
* Playing key switches doesn't work since the script plays other key switches. Always playing the triggering note last in the script could be a workaround I think.
* Only the second voice is detuned. Try to set slop to zero, detune to max without randomness and gradually raise Voices and you will see what I mean.

Best,
Nils
Posted on Tue, Jan 31 2006 12:55
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Hi Nils,

I sent you the code. Feel free to make improvements. I think I can solve the keyswitch problem by allowing the user to "ignore" certain keys.

I hadn't noticed the detune issue.

There is also an issue with release triggered samples. Do you know how I can change the pitch of release samples?

Thanks,
Jay
Posted on Wed, Feb 01 2006 00:41
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
New improved version .02



So what’s new and improved?

1) detune function should now work properly

2) detune maximum setting increased to 1 half step for those middle-school band simulations

3) new ignore feature-- ignore notes above and below user-defined points. This enables the playing of keyswitch instruments

4) new VSL_Legato mode— this mode enables the user to set a Slop amount when playing VSL performance legato instruments. The user can now hear all those lovely transition samples at slightly different times, creating a much more realistic, less synchronized, ensemble effect. COOL!

So what’s not improved?

I still haven’t figured out how to get release-triggered samples to work properly. If anyone knows how to do this, please feel free to throw some hints my way.

Special Thanks to Nils for his help. Much appreciated.

Best,
Jay
Posted on Thu, Feb 02 2006 01:59
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
New version .03 now available.



What’s new?

Now works with release samples…well sort of. Monophonic lines and legato lines play perfectly. However if you hit 2 or more keys at exactly the same time—bug city—you hear out of tune release samples. Oh well.

If you want to use instruments with release samples simply select the release sample group from the drop down menu in the Ensemble Maker. Oh, and there’s one more thing you have to do if you want to get the release samples to function properly.

You want ME to do something else?! I’m just a country doctor, Jim!! Not a bricklayer!

Calm down. It’s not that bad. You have to click on “the Group Editor” button near the top then click on the release samples group in the group editor window then de-select the “Release Trigger” button for the release samples group. That’s right DE-select (turn it off!) the “Release Trigger” button for the release samples group.

Anything else new?

You can now set a Pre_Slop time separately from an End_Slop time.

Let me know if it seems to work on your systems and with your instruments. I’ll try to post a few short demos in the next few days.

Best,
Jay
Posted on Thu, Feb 02 2006 20:19
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Here is a short audio demo of the effect of J's Ensemble Maker v.04 K2 script.


www.Members.aol.com/jbacal/Kontakt/Ensemble_Maker_Solo_Violin_Demo.mp3


The instruments used in the demo are completely dry and unprocessed. The differences you hear between the repeated phrases are the result entirely of the Ensemble Maker script.

The first instrument you hear is the VSL solo Violin performance legato f portamento. The Pre_Slop setting is .200, the Sampled knob is set to 2. ***NOTE—VSL performance legato samples are not sampled Chromatically—usually the Sampled knob should be set to at least 2 for VSL Legato instruments. The first time the short phrase is played the Voices setting is 1, the second time the Voices setting is 3, and the third time the Voices setting is 7.

The VSL solo violin pizzicato plays the next short phrase. The Pre_Slop setting is .125, the Sampled knob is set to 1. The first time the short phrase is played the Voices setting is 1, the second time the Voices setting is 3, and the third time the Voices setting is 7.

There is a new version .04 now available with 3 small (but potentially frustrating) bug fixes.


www.Members.aol.com/jbacal/Kontakt/J_Ensemble_Maker_04.zip



If anyone wants the code for this script please send me a PM with your email address.

Best,

Jay
Posted on Thu, Feb 02 2006 20:34
by dbudde
Joined on Sun, Mar 02 2003, Seattle,WA USA, Posts 436
Jay, something wrong with the version 4 file. Won't unzip.
Posted on Thu, Feb 02 2006 20:46
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Sorry. Should work now.

Best,
Jay
Posted on Thu, Feb 02 2006 20:59
by nliberg
Joined on Fri, Dec 02 2005, Posts 232
Great work Jay and interesting demo! Thanks again for sharing this.
I just received my Horizon Solo Strings and am currently extracting the files. I'm looking forward to testing your script with these instruments! Big Smile

Nils
Posted on Thu, Feb 02 2006 21:32
by dbudde
Joined on Sun, Mar 02 2003, Seattle,WA USA, Posts 436
JBacal wrote:
Sorry. Should work now.

Best,
Jay


Works. Thanks.
Posted on Sun, Feb 12 2006 16:46
by JustinM
Joined on Sun, Feb 12 2006, London, Posts 39
Is there any way you could add a midi controller button to be able to turn this on and off from a sequencer/notation programme (like Big Bobs Scripts). Confused:

(edit) a midi controller to select the number of voices would probably be better - any how great script

Justin
Intel DP965LT MOBO, Intel Core2 Quad Q6600 (2.4Ghz), 8Gb DDR2667Mhz (PC2-5300), WD Raptor 10kRPM x4, Radeon x650 (fanless), Edirol M-16DX, Alesis M1 Active Mk2, Windows XPx64, Sibelius 5, Nuendo 2, Kontakt 3.
Scoring Film
Posted on Sun, Feb 12 2006 19:19
by Rob Elliott
Joined on Sun, Feb 02 2003, Salt Lake City, UT, Posts 1647
Would this work with something like the new Garritan Strad?


Rob
what would you attempt to do if you knew you could not fail?
Posted on Sun, Feb 12 2006 19:54
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Justin-- when I get some time and inclination I will add the controller selection for voice number. It's a good idea.

Rob-- I don't have the Garritan Strad. My guess is that the ensemble maker would work with it....maybe. If you have the Strad please test it out and let us know.

Best,
Jay
Posted on Sun, Feb 12 2006 20:25
by JBacal
Joined on Sat, Mar 27 2004, Posts 1205
Ok Justin- Here ya go. Version 05 now has real time control over the number of voices (players). Just assign the number of the midi controller you wish to use.

Also the script now has no copy protection.

www.Members.aol.com/jbacal/Kontakt/J_Ensemble_Maker_05.zip

Best,
Jay
Posted on Mon, Feb 13 2006 17:45
by JustinM
Joined on Sun, Feb 12 2006, London, Posts 39
Superb -I didnt expect a result that quick! - Thanxs.
As a EWQLSO/VSL user who does most of the composition by Notation Software this is one of the most useful scripts I have come across.
Bobs Machine Gun Killer Script uses a similar technique (detuning adjacent samples) I wonder if this may have the answer as far as release samples is concerned.

I have noticed that there are error messages in the bottom left hand corner of K2 when using the script:
wrong group index in allow_group!
& (when moving midi controller to 0 value):
invalid knob value (clipped to min value)! Line: 449, Program: 0

Now that you are obviously getting into the scripting language how about attempting to recreate the features of the new VSL VI as suggested by nliberg and one or two others i.e:

Implementing VI features in K2 / K2 scripting tools thread (here on the forum) or:
http://www.nativeinstruments.de/forum_us/showthread.php?t=30598

Anyway, Bravo keep up the good work.
Intel DP965LT MOBO, Intel Core2 Quad Q6600 (2.4Ghz), 8Gb DDR2667Mhz (PC2-5300), WD Raptor 10kRPM x4, Radeon x650 (fanless), Edirol M-16DX, Alesis M1 Active Mk2, Windows XPx64, Sibelius 5, Nuendo 2, Kontakt 3.
Scoring Film
2 Pages12>
You cannot post new threads in this forum.
You cannot reply to threads in this forum.
You cannot delete your posts in this forum.
You cannot edit your posts in this forum.
You cannot create polls in this forum.
You cannot vote in polls in this forum.