A Code Snippet for Y'all — MIDI Note Editor [Code Posted]
-
(EDIT: Original screen-capture missed the other main feature.)
Would anyone be interested in the code for this? It's a MIDI mixing unit for loaded MIDI files:
- Creates a volume slider for every note, in linear according to time-stamp.
- Provides a corresponding numerical volume field.
- Displays the volume of note (as the cyan box under each note slider.) The brightness of the box represents the volume of each note, in real-time. When a sample finishes playing, the box resets itself.
- Allows the modified sequence to be played in synch with the DAW.
- Allows the modified MIDI file to be dragged to the DAW.
-
@clevername27 sick!
-
@clevername27 yes pls!
-
@Orvillain , @DanH - Alrighty, then. I'll patch up a couple things and post it here.
-
@clevername27 def interested
-
@clevername27 Sick!
-
@clevername27 Very nice!!!
-
@Orvillain , @DanH, @johnmike, @gorangrooves, @WaterSpoon, @Lindon, @d-healey
Here is the code. It's raw from my plugin, not a self-contained project. Nearly every line is commented, so you should be all good. Let me know of any questions..
There's an additional module (not shown) which will write rotated text on key in case you want to label the keys. It creates a child panel for each key; the paint routine draws the text from an array, and then each child panel is rotated separately.
HiseSnippet 13044.3oc6800aijcrXTyr8tKoWaudua7mwYOV1dWp0RbHo9ZzHudEEIkDyRQxkjZ1c7hEzsHaJ02oY2zc2TyHu2AXAhuAWf7PR9GXf.beI4g6i4sL3l7dBPdN.NWj.Df7heIuljSc9n6S+EYyOzLRi0XCaw97ccppNUUmppSCSitJVVFlIVJY6KGpjXo2Rp0k51mW7bYU8DUJkXo2PpQyJsNNw9WNT1xRoWhkV5tGBEtTxWKA4e+oOdeYMY8tJteJQhGZn1Uop5.Ua2u1XuOQUS6.4dJsUGHT6M1qRWC8hFZFivSj6JkMwP4tOV9LkZxP0tiThkd8x8TsMLaYKaqXkXoWaeidW15bimnSq+CUsTOUSA9QtDsvcD8yGXn0ClwvWST7bUsdM3KXqD3Nsg6x+tzk+6JcrZOUmu6BFdaRAH2VHBOV5Ndmd20yzKm3zKqvzKjozcElRuAeGgLkzjuTwjLUdGoA3OzTQumhYY8yT0U7LYJNxzTQ2tkxucjhuMEVQsMwfWw8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xkvU0KBtFUwKRIgX.mwAN9QAAGPDGPdvCh.N7WPgCkFQbdPZUaTnYgi0wiP+mx+FV+JfISUHa9y.EQWqlzHmO5pIqSKcyvJ8.vQFomu7RGlmblPAwZChoPHAUj7vnA8+HJn+.4QV19ahsEWfWJLv1pEtVB.EaqpFOo3Hai98gmYgbzucDFxy+XRo7Yw+i78CIYGUlN22Dvj+grvlgiC2v.yxAyJJZn46Rgldq6fgkTwfM7xFCNUzGQYmwf.3BARapoE3eBff.+YJTLzVwqRE8i9chf4WhPz2Mr3E3GJ3OCP.CLzVcfUPmYva3BbWegKfia5myq8ccCW.GO6ebgKvatmmvEf2oa4leX9WNwvEf9AOgK.YhEbp5NW+a9ORqSfIat.y1ba7JXfHDkU+eOF8EwW+pnaYaNBxvKgFbZ2dIn2Z9+aM++MgKAMR2+G4IJTm.89q1Ai5JAhB.717YmgJcDJ21XtBEMksN+OGiGfnNp3erfXDsXmWzWUW0VoTyaOm31yIt8bhabmSLdS+PsPGhxj6529zaIQtmQDbsvupsG0k2U30C6uoFr7tJNJibGMkKTzD4LZMpeeXJAY3uWDyxAxcMM5zk8fQimquI4K3YoN4H1jRGC+FkKwEdeVAvGjp1SsS2td6p.ML+r1v0m0Ftwr1vMm0Ft0r1vsm0Fd+I2P3huKLx1X.kCXhDG2nLEAbIAsgS7+Gf93AgL
-
@clevername27 said in A Code Snippet for Y'all — MIDI Note Editor [Code Posted]:
It's raw from my plugin, not a self-contained project.
I think you'll need to wrap it into a self contained little package for us to be able to run it.
-
This post is deleted! -
@d-healey I updated the snippet, and added all the canvas components, global variable definitions, and another large block of code that's referenced (but not actually part of the widget). It's a bit of work to make the widget self-contained - the plugin is 16,000 lines of code, and while modular, it's only modular in terms of itself, if that makes any sense. If anyone has any questions about implementing the widget, please let me know.
-
@clevername27 Nice one dude! I'll take a look at this once I'm feeling a bit better. Been in bed all day with a savage cold
-
@clevername27 when you gonna post this? the one here is just black,thanx
-
@WepaAudio
I do need to do that. The code is currently so tied to lots of other code that it's a bit tricky to extract. (My switching out most of the DSP from HISE native to raw code isn't helping, either. ) I could post some code, but you'd need to know how to adapt to your project. Would that be helpful, or just frustrating?Looking back through the thread, I did post it? Look for the snippet. (It's not completely self-contained, but it's copiously commented.)
-
@clevername27 yes, I realized that is the code you want us to get, thanx I will test,thanx