Troubleshooting

script to control custom button with pad??

Started by tput73 on .

Sign in or create an account to join the conversation.

6 posts

Pads, switches and custom buttons have the x value to indicate on off state (off = 0, on =1). To make them interact with each other is as easy as adding a script to the "sender" object to set the "receiver" object's x.

In your case.....Map your custom button to the Midi message you want.

Go to your pad button

Add script.....

On expression x, and then make sure you change the "any" to "drop to zero" (arrow pointing down). This ensures that the script will "run" when the pad's x "drops to down".....in other words when the pad is released.... Then type the following script
Custombutton_name.x=1;
obviously, this will result in the custom button turning on when the pad is released - I think this is what you are asking. (and obviously change the name in the code above to the actual name of your custom button, case sensitive)
Dunno what I'm doing wrong?
Custom Button's name is CustomButton2

So script read:

Custombutton_CustomButton2.x=1

I do have release on pad set at various
levels so it slowly reaches zero, does this matter?
Anyhow custom button not doing anything
when pad gets to zero

What am I doing wrong?
and thanks so much for helping
SUCCESS!!,


I was trying to do this on the ipad editor and forgot to put an x in the space under expression-DUH!

Thank you so much, this opens new doors!

If you use traktor lemme know i'll post my mapping'

Tim