Inserting Kontakt 5.1 into instrument track
Title
Inserting Kontakt 5.1 into instrument track
What do you expect to happen when you run the script/macro?
Kontak 7 5.1 opens in first free slot on 5.1 instrument track.
Are you seeing an error?
What happens when you run this script?
nothing
How were you running this script?
Other
How important is this issue to you?
4
Details
{ "inputExpected": "Kontak 7 5.1 opens in first free slot on 5.1 instrument track.", "inputIsError": false, "inputWhatHappens": "nothing", "inputHowRun": { "key": "-MpfwoFyZNOpBC3X5xGI", "title": "Other" }, "inputImportance": 4, "inputTitle": "Inserting Kontakt 5.1 into instrument track" }
Source
//Preset converted to script
//Invoking preset "Kontakt" of template "Teezio’s Plugin Loader" in package "Teezio's Plugin Loader"
sf.soundflow.runCommand({
commandId: 'user:cldidcce10005i010jdp3mof2:ckkczttld0001jt10m5krbbh9',
props: {
hdxString: undefined /* unknown error converting property value */,
pluginCatagory: "Native Instruments",
pluginName: "Kontakt 7 (5.1)",
pluginSlot: "firstFree",
pluginWidth: "sameAsTrack",
},
})
Links
User UID: ugsrnIjRISR3rAN6xI5A0mhSdss1
Feedback Key: sffeedback:ugsrnIjRISR3rAN6xI5A0mhSdss1:-NyX7GmR428KXRjbUAdy
Feedback ZIP: ThreO3H7LnKMosP5Exs8zywUfbsTiX27H8BAhapE4rUEFUMhl/YF8Y3Gbb5ICB2/EGKml/u3BELXahbZc+Mh4FcrbWCDD+AdS7GBRCAkaTv10I+TXQL3d4Jdy5wcygJD0O5Ocsv7/AKu3xsWe/oYGCOVd+W0gBLEvHTIyEjNBLEh/GiJdYFO8Bhq3Z443CGVGuezfPlGpMA/l3DRvjmahuyB1XMPjGW/RMVqCz43ncERxpMDFizZRABiFv8TdZdDXRPEd1OEjtcu5gGlbDTVN03ozNrmTT0+pkzvTq0oRLGNtS3letDOeERzKhzlcXvP21zj0tZxJyRonij0Hd4bJA==
- Jordan Pascual @Jordan_Pascual
I recently bumped into an issue with this, and it was due to the SPECIFIC plugin name... depending on what version it is. I'll try testing later today, but can you try pulling up the insert selector menu manually and maybe take a screenshot of what the different options are?
Kim Planert @Kim_Planert
Hi Jordan, thanks for your help! I double checked the name (see screenshot). Nothing happens on executing the command.
Inserting the stereo version of Kontakt on a stereo instrument track works fine via SF.Kim Planert @Kim_Planert
Hi Jordan, did you have a moment to try this? Much appreciated!
Raphael Sepulveda @raphaelsepulveda2024-05-24 18:27:07.939Z
Hey @Kim_Planert, tagging @Kitch here. He wrote the script for the plugin loader and will be able to assist you!
- In reply toKim_Planert⬆:
Jordan Pascual @Jordan_Pascual
Hey Kim! I'm sorry, I had a few shows this weekend, and got a little busy! I will be checking it here in a bit, if Kitch doesn't get to this first lol
Hopefully it's something easy, sorry for the wait!
- In reply toKim_Planert⬆:
Jordan Pascual @Jordan_Pascual
Hi @Kim_Planert
I actually got this to work on my system, just using the template. Up to you if you want to convert to script or not with the parameters... Here is what I set my preset to. I tested on a stereo Instrument Track, and it seemed to work fine. Which version of PT are you on, btw? In preferences, on the first tab, what option do you have selected for 'Organize Plug-In Menus By:'? (See Screenshot below)
I see on your screenshot it says specifically 'Kontakt 7 (5.1)', however, when testing, my 5.1 shows like this 'Kontakt 7 (stereo/5.1)'. Wondering if you have the most up to date PT and Kontakt 7 Player?
Lastly, I'm not sure if the 'hdxString: undefined' part of line 8 on your script matters... I'm guessing you're not running an HDX system right?
Thanks!!
JKim Planert @Kim_Planert
Thank you Jordan!
Preset works on stereo track here as well. Organise Plugin Menus is set the same as you.
Tried the (stereo/5.1) name as well.PT is the latest at 2024.3.1 as well as Kontakt 7 at 7.10.2
Tried all three HDX settings.I m on an HDX system.
No sure what to try next?
There must be one difference between stereo and 5.1.
Jordan Pascual @Jordan_Pascual
Hey Kim, could you try Plugin Name as exactly "Kontakt 7 (stereo/5.1)" and see if THAT pulls it up? I'm going to try testing on a HDX system today and see if I can repro. Just for clarity, I am able to get it to work with pulling up the 5.1 with that specific name.
Does it log an error when you do this?
Kim Planert @Kim_Planert
Thanks Jordan. I tried that name and nothing happens. Not even an error.
Jordan Pascual @Jordan_Pascual
This is so odd, as I get a result even if I put JUST Kontakt 7. I think this might be system specific, but as you stated, you're up to date on everything. email at necessarynoiseband@gmail.com and I'll see if I could check it out later today
- In reply toKim_Planert⬆:
Jordan Pascual @Jordan_Pascual
Hey Kim, I know I discussed this over DM's with you, but just so that anyone else might need this, and for an easy way to update this, here's a script that should work on any non-HDX/HDX system, using quite a few variables!
This specific script is for Kontakt 7, and should recognize mono, stereo, AND 5.1 tracks. It will insert the '5.1' version of Kontakt 7 into the track and convert whatever track width it is into 5.1. (ie. if it's a stereo track, it will convert to 5.1... 5.1 to 5.1 will stay the same) It also intelligently will find the next available plugin slot, if your usual Slot 1 is taken up!
I'm not a coding genius like the rest of the folks on here, but, hey, it works!
@Kitch Sorry to bother, but is your plugin designed to handle the 5.1 variants? That might be the cleanest way to solve Kim's issue, since I know your script is probably MUCH more expansive then mine, but I just tried my hand at it for now as a workaround! Much love to ya both!
Jordan
function getFirstFreeInsertIndex() { var btns = sf.ui.proTools.selectedTrack.invalidate().insertButtons; for (var i = 0; i < 10; i++) if (btns[i].value.invalidate().value === "unassigned") return i; return -1; } function clickPopupMenu(popupMenu, paths) { for (var i = 0; i < paths.length; i++) { var path = paths[i]; if (popupMenu.menuClickPopupMenu({ menuPath: path, onError: 'Continue' }).success) { return; } } throw "Could not find any paths, modify script"; } function main() { var popupMenu = sf.ui.proTools.selectedTrack.trackInsertOrSendOpenMenu({ pluginNumber: getFirstFreeInsertIndex() + 1, }).popupMenu; clickPopupMenu(popupMenu, pluginPaths); } //Change this path as needed var pluginPaths = [ //Mono to 5.1 Variables ['plug-in', 'Kontakt 7 (mono/5.1)'], ['plug-in', 'Instruments', 'Kontakt 7 (mono/5.1)'], ['plug-in', 'Effect', 'Kontakt 7 (mono/5.1)'], ['plug-in', 'Native Instruments', 'Kontakt 7 (mono/5.1)'], ['Native plug-in', 'Kontakt 7 (mono/5.1)'], ['Native plug-in', 'Instruments', 'Kontakt 7 (mono/5.1)'], ['Native plug-in', 'Effect', 'Kontakt 7 (mono/5.1)'], ['Native plug-in', 'Native Instruments', 'Kontakt 7 (mono/5.1)'], //Stereo to 5.1 Variables ['multichannel plug-in', 'Kontakt 7 (stereo/5.1)'], ['multichannel plug-in', 'Instrument', 'Kontakt 7 (stereo/5.1)'], ['multichannel plug-in', 'Effect', 'Kontakt 7 (mono/5.1)'], ['multichannel plug-in', 'Native Instruments', 'Kontakt 7 (stereo/5.1)'], ['multichannel Native plug-in', 'Kontakt 7 (stereo/5.1)'], ['multichannel Native plug-in', 'Instrument', 'Kontakt 7 (stereo/5.1)'], ['multichannel Native plug-in', 'Effect', 'Kontakt 7 (mono/5.1)'], ['multichannel Native plug-in', 'Native Instruments', 'Kontakt 7 (stereo/5.1)'], //5.1 Surround Variables ['multichannel plug-in', 'Kontakt 7 (5.1)'], ['multichannel plug-in', 'Instrument', 'Kontakt 7 (5.1)'], ['multichannel plug-in', 'Effect', 'Kontakt 7 (5.1)'], ['multichannel plug-in', 'Native Instruments', 'Kontakt 7 (5.1)'], ['multichannel Native plug-in', 'Kontakt 7 (5.1)'], ['multichannel Native plug-in', 'Instrument', 'Kontakt 7 (5.1)'], ['multichannel Native plug-in', 'Effect', 'Kontakt 7 (5.1)'], ['multichannel Native plug-in', 'Native Instruments', 'Kontakt 7 (5.1)'], ] try { main(); } catch (err) { main(); }
Kitch Membery @Kitch2024-06-05 07:37:55.075Z
Hi Jordan, It looks like I missed this thread 12 days back when I was tagged by Raphael. I'll take a look tomorrow when I get a moment. Feel free to nudge me if I forget. :-)
- In reply toJordan_Pascual⬆:
Kitch Membery @Kitch2024-06-05 17:33:46.839Z
Hi @Jordan_Pascual & @Kim_Planert
Unfortunately Teezio's Plugin loaded is not designed to handle 5.1 variants.
I'll investigate further next week to see if it's something I can add as a feature.
Jordan Pascual @Jordan_Pascual
Totally understand! For the meantime, does the script I provide at all work on your end of things? I tried to reverse engineer it as simple as possible (without the code of course).
I briefly talk to Kim, and he's not able to test on his system for another couple weeks cuz he's traveling. But I was able to test this on 3 HDX and non HDX systems and it seemed to work okay!
J
Kim Planert @Kim_Planert
Hi Jordon,
It has been a while sorry I dropped this after you put so much work in.
Finally tried the script. Just wanted to let you know the result. Getting a script error. See screenshot.
Maybe @Kitch can have a look? Maybe ad to the Teezio's Plugin loader?
All the best! Thank you very much for your efforts!
Kim
Kitch Membery @Kitch2024-11-11 19:51:47.499Z
Hi @Kim_Planert & @Jordan_Pascual,
At the moment "Teezio's Plugin Loader" is only designed to work with Mono and Stereo tracks. I don't expect to be adding extended track width functionality to the Plugin Loader in the near future.
If you are trying to load a 5.1 instance of a plugin I might be able to create a less sophisticated version that achieves what you're after.
Let me know if that's what you're after.
Kim Planert @Kim_Planert
Hi Kitch,
yes just trying to load for example a Kontakt 5.1 instead of a stereo. That was my first attempt in calling up a larger track with.
Next one would be for example a Blackhole Immersive in 7.0.4 or 7.1.4.
Achievable?
Thank you!