NicoCualino
New Member
Hi everyone! I am new to this place, a while ago I want to create a script (two buttons) to allow me to transport as it does in the photo that I leave attached. Help !!!
I'm not interested in seeing the button, only it can fulfill the function assigned to that option to a button in my midi controller.
A friend gave me a possible solution but I can't do it either.
It is this:
Just create a variable
Declare $ transpose
$ transpose: = 0
One button - and one button +
On ui_control ($ button-)
Dec ($ transpose)
End on
On ui_control ($ button +)
Inc ($ transpose)
End on
And inside on note
You cancel the notes
With ignore_event
And then you throw it with play_note
And you add the variable $ transpose
That is all
If you want to display the value of the transpose, just create a label and assign the value to it
I'm not interested in seeing the button, only it can fulfill the function assigned to that option to a button in my midi controller.
A friend gave me a possible solution but I can't do it either.
It is this:
Just create a variable
Declare $ transpose
$ transpose: = 0
One button - and one button +
On ui_control ($ button-)
Dec ($ transpose)
End on
On ui_control ($ button +)
Inc ($ transpose)
End on
And inside on note
You cancel the notes
With ignore_event
And then you throw it with play_note
And you add the variable $ transpose
That is all
If you want to display the value of the transpose, just create a label and assign the value to it
Attachments
Last edited: