Modify Midi Echo script to include off/on mode or bypass?

Can some one assist me in modifying the "Midi Echo" script so that it includes a simple off/on knob like in the "Arpeggiator" and "Unisono - Portamento". An enable/disable button would do as well. I have watched several tutorials and attempted multiple script modifications but have not been able to figure out how to include this. Thanks!
Best Answer
-
It's pretty simple. Open the script editor, then you will notice a line
set_ui_height(4)
. Right after that line, add this:declare ui_switch $Power make_persistent($Power)
Then, scroll down and find the line that says
on note
. Right below that line, addif ($Power = 1)
. Now scroll down until you find the line that sayson release
. Before that line you have a line that saysend on
. Before that line addend if
.Done!
1
Answers
-
It's pretty simple. Open the script editor, then you will notice a line
set_ui_height(4)
. Right after that line, add this:declare ui_switch $Power make_persistent($Power)
Then, scroll down and find the line that says
on note
. Right below that line, addif ($Power = 1)
. Now scroll down until you find the line that sayson release
. Before that line you have a line that saysend on
. Before that line addend if
.Done!
1 -
The man, the myth, the legend! Your solution and expanation couldn't have been simplified any better. Working perfect. Thank you Mario Kruselj a.k.a. EvilDragon.
0
Categories
- All Categories
- 21 Welcome
- 851 Hangout
- 78 NI News
- 411 Tech Talks
- 1.9K Native Access
- 8.6K Komplete
- 1.1K Komplete General
- 2.2K Komplete Kontrol
- 3.1K Kontakt
- 724 Reaktor
- 252 Battery 4
- 493 Guitar Rig & FX
- 287 Massive X & Synths
- 510 Other Software & Hardware
- 3.4K Maschine
- 23 Sampling Room
- 4.2K Traktor
- 3.9K 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