Connecting A Panel To Another Painted Panel, On Script Processor
-
@d-healey said in Connecting A Panel To Another Painted Panel, On Script Processor:
You only need to defer callbacks if what you're doing requires real-time processing. An on-screen keyboard doesn't require real-time processing. The message thread is fast enough.
@ulrik Is This Possible To Seperate The Scale Box From The Keyboard?
I Just Tested, And Defercallbacks, Causes A Doubling Issue On Keyboard.
I Guess It's Not Possible, Correct? -
This post is deleted! -
This post is deleted! -
Regarding the note doubling, this is an easy one. Tell me, what happens when you bypass your script and press a note on the keyboard?
-
-
-
I Moved The Scaler ( With the Help Of @ulrik ) To Background.
And Made A New Keyboard For The Frontend With Defercallbacks,
And A Dummy Scaler Combobox, To Change The Background Scales.BTW, I Don't Disable The MidiProcessor For Scaling, It's On Back And Enabled.
@d-healey said in Connecting A Panel To Another Painted Panel, On Script Processor:
Errr, nope. If you disable your script then your script won't do anything.
Could You Be More Specific? I Didn't Get Your Point
-
@d-healey I Send You The Final Code, Take A Look :)
-
I Send You The Final Code, Take A Look
Seems to work :)
@Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:
Could You Be More Specific? I Didn't Get Your Point
In the snippet you sent me in PM you had a main interface processor with a keyboard and you were getting doubled notes. I asked you what happens if you bypass that script and you said it solved the problem, which it doesn't because you need your interface script :)
The correct answer is when you disable your interface script and trigger a midi note you'll hear 1 note, not 2. So why do you hear 2 when the interface script is enabled?
-
@d-healey Thank You Sir Yeah @ulrik Did A Great Job
In A Few Snippet Back, There Was A Simple Issue That Quickly Fixed By Ulrik, For Keyboard.
Then We Seperated The Scaling System ( To Use The Defercallbacks On Main Init )
And Added A Dummy Intervals So The Painted Keyboard Look At It, And Do The Coloring.Indeed It Is A Beautiful Piece Of Code.
And Was ChallengingBtw, Thanks For Your First Snippet, That Helped To Solve The Puzzle 🤍 Much Appreciated