Connecting A Panel To Another Painted Panel, On Script Processor
-
@d-healey I Sent You A Message Sir,
It's Uses Midi, And You Already Said That I Need To Have 2 Midi Processors, To Use Defercallbacks.
And I Need To Move The Realtime Midi Stuffs To Another Processor -
@Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:
I Sent You A Message Sir,
Yeah I saw it, but you posted here too, let's stick to one place.
It's Uses Midi, And You Already Said That I Need To Have 2 Midi Processors, To Use Defercallbacks.
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.
-
@d-healey It Has A Scaling System Attached To It, And Once I Defercallbacks, I Get Doubling, Or Lags.
The Scale Box Need Realtime Processing I Guess.
-
@Natan said in Connecting A Panel To Another Painted Panel, On Script Processor:
The Scale Box Need Realtime Processing I Guess.
Then this is probably the part you need to move to a separate script.
-
@d-healey
It's A Little Complex Because The Painted Keyboard Looks At Combo Box To Change The Allowed Key Colors.I Sent You Another Snippet
Please Check Your Inbox -
@Natan Post it here so others can see it too. I don't have much time at the moment to look at it.
-
@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