登录:     


Forum: Old versions

Topic: Simple Sampler Keyboard Shortcut Qustion

由于该帖子已年深日久,可能包含陈旧过时或描述错误的信息。

Hi

Simple question i hope but cant work it out for some reason...

What is the keyboard script needed to assign a keyboard key to play a certain sample only when you have the key held down?

I can assign a key (for example "spacebar") to play a sample but it plays until you tap the key again, I want it to only play when the key is held down.

Thanks
Craig
 

发表时间 Thu 09 Dec 10 @ 1:21 pm
Here's the snippet from the WIKI...

holding : execute different actions depending if the key is pressed for a long time or not: 'holding ? automix : mix_now'. you can specify the time ('holding 1000ms'), by default it's 500ms.


See the full list of verbs here -> http://www.virtualdj.com/wiki/VDJscript_verbs.html

Hope this helps.
 

try ..
sampler 1 play while_pressed

using holding you will have a delay, and certainely it will not stop the sampler after release.
 

Follow DJDAD's advice...he's right...god knows what I was thinking...lol
 

Thanks Guys

I knew It would be simple but couldnt find the right script for the life of me for some reson.

Thanks
 



(陈旧帖子或论坛版块会自动关闭)