What's new

Stupid question about a script for Woodland piano

BosquesDeMiMente

New Member
Ok, so this is embarrassing, but I've never programmed in KSP, so bare with me please.
I love the sound of "Woodland piano" from pianobook. However, the issue with the release triggers when the sustain pedal is on is a deal killer for me, so I am trying to make it work following the instructions in the video (). It should be easy, you:
- Create a second instance of kontakt, load Woodland piano again, this is "release triggers instance".
- You disable release triggers sounds in the main instance.
- You enable just the release triggers sounds in the "release triggers" instance.
- Then you un-comment the script "RT during sustain" so it is enabled only in the "release triggers" instance.

Only, Kontakt refuses to apply the script, telling me there's something wrong with it. I am a senior developer with 20+ years of experience in programming, and for my life, I cannot figure out why that end if can be wrong...

Can someone help me? I am missing something REALLY obvious :emoji_blush:
Thanks a lot in advance.
 

Attachments

  • Screenshot 2023-10-27 at 21.23.36.png
    Screenshot 2023-10-27 at 21.23.36.png
    60.4 KB · Views: 5
  • Like
Reactions: CGR
Ok, so after I contacted Filipe (the author of this amazing piano) I was able to make it work. Adding it here for anybody who may be looking for this info.

So here's how you do the trick:
1. You set one track with the Woodland Piano, and disable the release triggers. Enable all other sounds you want. This will be the "main" instance.
2. Then add a new track (don't add another instance of Woodland Piano in the same track, create a completely new one). Remove all sounds BUT the release triggers.
3. In the second track, with the second instance of the piano (the "release instance"), click on the tool icon (to go into the settings of the instrument), and copy and paste the script. Leave the "settings" menu and get back to the normal view of the instrument.
4. Click on the "KSP" button and copy and paste the script there (minus the ({}) section that comments the code).
5. Now you need to make them both play together, for that, create a track stack in Logic (the "Summing Stack" type) with both instruments.
6. Voilá! You can select the track stack and play both the piano (main instance) and the release triggers at the same time.

Enjoy this beautiful instrument!
 
  • Like
Reactions: CGR
Top Bottom