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
- 12.3K All Categories
- 21 Welcome
- 562 Hangout
- 68 NI News
- 272 Tech Talks
- 1.3K Native Access
- 5.8K Komplete
- 760 Komplete General
- 1.3K Komplete Kontrol
- 2.1K Kontakt
- 566 Reaktor
- 185 Battery 4
- 315 Guitar Rig & FX
- 222 Massive X & Synths
- 272 Other Software & Hardware
- 2.6K Maschine
- 24 Sampling Room
- 3.1K Traktor
- 2.8K 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