Press a button, play note and set_key_pressed

moosmahna
Member Posts: 10 Member
Hy,
I tried to find out how it is possible to do the following:
press a button, play a note and show the played note on the kontakt ui keyboard. But I had no luck.
Thanks a lot for your help and ideas.
on init declare ui_button $test declare $noteID declare $root_note :=60 set_key_pressed_support(0) end on function EE() if ($test =1) play_note($root_note, 100,0,300000) set_key_pressed_support(1) set_key_pressed_support($test) $test :=0 end if end function on note if ($test=1) call EE end if end on
0
Comments
-
I found the Session Recorder in the factory presets. This is a helpful script. But it records in real time.
How can I modify this script with a dropdown to select the duration of the recorded notes?
Thanks a lot
0 -
on ui_control($test)
call EE
end on
0 -
This page of the KSP manual (7.6) has everything you need to know to make it work
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.5K Hangout
- 65 NI News
- 819 Tech Talks
- 4.2K Native Access
- 17K Komplete
- 2.1K Komplete General
- 4.4K Komplete Kontrol
- 5.9K Kontakt
- 1.6K Reaktor
- 390 Battery 4
- 871 Guitar Rig & FX
- 440 Massive X & Synths
- 1.3K Other Software & Hardware
- 5.9K Maschine
- 7.6K Traktor
- 7.6K 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