KSP Error
Hello i am receiving an error that say “change tune…. is not allowed in this callback type!” but according to the user manual, change tune can only be used in the on note on release callbacks…. HELP
on note
$key := %keynum[$EVENT_NOTE]
$bend := %tune[$EVENT_NOTE]
change_note ($EVENT_ID, $key)
change_tune ($EVENT_ID, $bend, 0)
end on
Comments
-
if you run this
on init declare %keynum[128] declare %tune[128] declare $key declare $bend end on on note $key := %keynum[$EVENT_NOTE] $bend := %tune[$EVENT_NOTE] change_note ($EVENT_ID, $key) change_tune ($EVENT_ID, $bend, 0) end on
you will see there are no errors.
0 -
I am also receiving this error when trying to upload kontakt script generated with Scala. Any help would be much appreciated.
Here's the script:
on init
declare %keynum[128]
declare %tune[128]
declare $bend
declare $key
%keynum[0] := 12
%tune[0] := -4292
end on
on note
$key := %keynum[$EVENT_NOTE]
$bend := %tune[$EVENT_NOTE]
change_note ($EVENT_ID, $key)
change_tune ($EVENT_ID, $bend, 0)
end on
0 -
the script above also runs with no errors.
Please use code block when writing code, it is painful to read as regular text.
0 -
Hi all, I too had this issue but it seems to go in OK in the standalone version.
0
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 62 NI News
- 785 Tech Talks
- 4.1K Native Access
- 16.5K Komplete
- 2K Komplete General
- 4.3K Komplete Kontrol
- 5.7K Kontakt
- 1.6K Reaktor
- 379 Battery 4
- 845 Guitar Rig & FX
- 429 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.8K Maschine
- 7.3K Traktor
- 7.3K Traktor Software & Hardware
- Check out everything you can do
- Create an account
- See member benefits
- Answer questions
- Ask the community
- See product news
- Connect with creators