Kontakt - script warning on Berlin, Vienna and Upright Pianos with Overtones

VST, AU, AAX, CLAP, etc. Plugin Virtual Instruments Discussion
Post Reply New Topic
RELATED
PRODUCTS
Kontakt$299.00Buy

Post

Hi everybody,

On the piano libraries mentioned on the title, when is selected the options "soft", "medium" or"strong" through the dropdown menu of Release (Resonance section), there appear the following:

script warning: invalid menu value (assignment has no effect)! Line: 3086

The number of "Line:" will change depending the option selected, but it points to the Detail script on the 3rd slot, here is the lines that seems to cause the issue:

Code: Select all

		case $RELEASE_RESO_NRPN
			$Resonance_Release_helper := ($RPN_VALUE * 4) / 128
			select ($Resonance_Release_helper)
				case 0
					$Resonance_Release := 0
				case 1
					$Resonance_Release := 120
				case 2
					$Resonance_Release := 80
				case 3
					$Resonance_Release := 40
			end select
Anybody knows if that has been already resolved or how to do it? I'm on K4 btw.

Cheers
Last edited by hellishvictor on Sun Jan 27, 2019 7:45 pm, edited 1 time in total.

Post

Script warnings are nothing to worry about really. Just shows somebody didn't do a bit of housekeeping to keep stuff clean, but usually they don't do bad things in the instrument (of course, depends on a case by case basis), they're just annoying.

Post

On the versions without overtones there are no warnings at all. It is in sync depending on the selection done on the script "Performance view" on the 1º slot and not seem congruent with the following:

Code: Select all

	declare ui_menu $Resonance_Release
	add_menu_item($Resonance_Release,"Disable",0)
 	add_menu_item($Resonance_Release,"Soft",1)
	add_menu_item($Resonance_Release,"Medium",2)
	add_menu_item($Resonance_Release,"Strong",3)
Last edited by hellishvictor on Sun Jan 27, 2019 9:59 pm, edited 2 times in total.

Post

Here are the credits:

Author: Native Instruments
Written by: Josef Natterer (natterer-script@web.de), Nicki Marinic, Markus Krieg
Modified: June 22, 2006 BUG values and dynamic value fixed by Olivier (#bug21007)
Version: 1.0.003

Post

Yeah so in that 3rd script slot it sets $Resonance_Release to incorrect values. That menu only has values 0, 1, 2, 3, it doesn't have values 120, 80, 40 in it.

Post

EvilDragon wrote: Sun Jan 27, 2019 8:32 pm Yeah so in that 3rd script slot it sets $Resonance_Release to incorrect values. That menu only has values 0, 1, 2, 3, it doesn't have values 120, 80, 40 in it.
I'm thinking the issue's related to the Kontakt version used with the original script. That was Kontakt 2 or 3; I forget which.

ew
A spectral heretic...

Post

It's not, because it happens in K4, K5 and K6 for sure. It's pretty obvious from the code why the warning happens.

Post Reply

Return to “Instruments”