Play notes in sync with host
rootstudio
Member Posts: 6 Newcomer
I would like to have Kontakt play itself like so:
In my GUI, I have a representation of a one-octave keyboard. I can click each key to activate it. Let's say I click the 'C' key.
When I start the host, the C should repeat in sync with the host tempo. I can probably figure out how to do subdivisions etc., but I don't know how to trigger a note using just the host clock without actually playing a note on my MIDI keyboard.
Thanks
0
Comments
-
You can do it, use the listener callback.
on init set_listener($NI_SIGNAL_TIMER_BEAT, 2) declare ui_switch $C end on on listener if($C = 1) play_note(60, 60, 0, $DURATION_SIXTEENTH) end if end on
1 -
Ooh, thanks for pointing that out. That will give me something to try out :)
0 -
Got it to work, thanks so much. Now how do I mark this as solved in this forum??
0
This discussion has been closed.
Back To Top
Categories
- All Categories
- 19 Welcome
- 1.4K Hangout
- 60 NI News
- 761 Tech Talks
- 4K Native Access
- 16.2K Komplete
- 2K Komplete General
- 4.2K Komplete Kontrol
- 5.6K Kontakt
- 1.6K Reaktor
- 373 Battery 4
- 831 Guitar Rig & FX
- 423 Massive X & Synths
- 1.2K Other Software & Hardware
- 5.6K Maschine
- 7.1K Traktor
- 7.1K 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