Turn On and Off Groups With a Button!... Kontakt Scripting Tutorial

Поділитися
Вставка
  • Опубліковано 11 гру 2024

КОМЕНТАРІ • 21

  • @michaelllewelynbarker1621
    @michaelllewelynbarker1621 Рік тому

    Excellent - thanks! I couldn’t work this out, and in the end put a gainer set to silent, and added a button to bypass on/off, which does work - but obviously is still triggering the notes that are ‘off’. Will try this soon.

  • @pavelsabacky
    @pavelsabacky 7 місяців тому

    Thanks man, your videos helped me to put together my first somehow proper VSTs and tweak some kontakt libraries I own to make them more custom for my workflow. Goldmine. Subscribed❤

  • @Joshua_Griffin
    @Joshua_Griffin Рік тому

    AH! You have saved me. I want to make a sample selector, and I couldn't find many tutorials for deciding which samples should play. Now I just need to figure out how to make it play and mix multiple groups 😅

  • @noelstobey
    @noelstobey Рік тому

    Just what i was looking for, thanks Steve. A neat solution that even I could understand!

  • @Dullaly
    @Dullaly 8 місяців тому

    Hey there,
    Thanks for your videos! I have been following a lot of them and made multiple Kontakt instruments as a result. I am at a bit of an impasse with my current problem... I have an instrument that needs two arrow buttons pointing left and right with the intention to scroll between multiple samples within a list of 6 groups. Its easy enough to get it working with a knob or slider but a button that only has on and off commands is proving rather difficult. Any insight on how to tackle this or where I should be looking would be greatly appreciated!
    Thanks, John

  • @beeeethz
    @beeeethz 11 місяців тому

    Thanks again, Stephen! Love your videos. Wondering if the same principle is possible for making a dropdown menu? Essentially, I want the same thing to happen in your video, but with a dropdown menu instead. So that way I can enable certain articulations. Is this possible?

    • @StephenOConnellCmdShiftNew
      @StephenOConnellCmdShiftNew  10 місяців тому

      Hey, great question and yes it is! You can use the drop down menu as a "condition", so your select or if functions in the on note block simply check to see which menu item is chosen to allow the corresponding group.

  • @RonenSakal
    @RonenSakal Рік тому

    thank you very much. im searching for a script which trigger a single loop while playing a 3 note chord, so it can be auto switch between minor and major chord loops, depending on the chord i play. ive searched for it all around and didnt found something usefull. can you pleae help? :/

  • @jammaudiomusic9642
    @jammaudiomusic9642 9 місяців тому

    Hello Stefan. Thanks for your video tutorials! Is it possible to allow/disallow multiple groups?

    • @StephenOConnellCmdShiftNew
      @StephenOConnellCmdShiftNew  8 місяців тому

      Hey, you can indeed. There are several ways to do it. You could disallow all groups, then do a line of code for each group you want to allow. Otherwise, you could use a while loop and an array. That's a bit more complicated and advanced, but it does make it more adaptable later.

  • @raidmarji
    @raidmarji Рік тому

    Many thanks for the nice tutorial. What if I want to add a script (for example Chord factory script) to Group 2 only, leaving group 1 as is. How to do it?

    • @StephenOConnellCmdShiftNew
      @StephenOConnellCmdShiftNew  11 місяців тому +1

      Hey, thanks very much. Great question and a tricky one. I haven't tried it myself. The problem with the factory scripts is they are often geared to affect the whole sound, so it would likely need a code adjustment to change the way it responded. Possibly, off the top of my head, I would look to see if I could use the on note callback and allow_group commands to limit it to just the one group, though you would run into the issue of other groups not playing. I'm not sure if it would be possible to make only one group play the chord, as the chord script is triggering notes (which are global) rather than zones. Maybe the playback of specific group zones could be done instead. It would take some significant changes to the factory script, I would be tempted to instead recreate the script myself and make the adjustments. The changes would be focused on the on note callback blocks for sure. Hope this helps and good luck.

    • @raidmarji
      @raidmarji 11 місяців тому

      Many thanks for your help ❤

  • @dfhm-pq2cf
    @dfhm-pq2cf 8 місяців тому

    How can I create a drop-down menu that allows me to select the active group?
    Also, would it be possible to do that with multiple groups to create complex layers?

    • @StephenOConnellCmdShiftNew
      @StephenOConnellCmdShiftNew  8 місяців тому +1

      Hey, the method works in the same way as with a button, except each menu item lines up with a specific number (0, 1, 2, etc.). So in your if statement, you will be checking if $menu = 1 for example.

  • @joshgriffin8858
    @joshgriffin8858 Рік тому

    is it really efficient to be disallowing and then allowing groups on every note press? I suppose kontakt is already doing a bunch of checks by itself, and these are all fast enough.😆Maybe I'm just a nut for efficiency.

    • @StephenOConnellCmdShiftNew
      @StephenOConnellCmdShiftNew  Рік тому

      I'd agree with you honestly, I would have thought that a more efficient method would be to simply turn on or off the group with a button. However, the command to disable or allow a group is only found in the on note callback, so we have to work within that limitation. It is fast enough though to process that code in time without interruption to the sound.

  • @mvsmsx
    @mvsmsx Рік тому

    TIP: You know, in the cinema, when someone next to you is talking/whispering, one tends to say: "hush, I'm watching a movie here". Similarly: I'm trying to read the example code on the screen, while the video keeps switching to your head all the bloody time (providing no info at all, so why bother) in an already fast-paced video. So, please stop with the camera-switching and keep the focus on the code at all times, so I can actually read 'n copy things. :-)