@gorangrooves Great Job man!...I wish the best with your instruments and your Libraries.
Posts made by DimitrisSP
-
RE: Introducing GoranGrooves Handy Drums
-
RE: Drag and Drop MIDI (Develop Branch)
@Mwins Here in my system it happens even if i use only one midi overlay...i think something is going on with the source code of midi overlay.
-
RE: Drag and Drop MIDI (Develop Branch)
@Mwins Exactly...I looked further in that situation because my instrument depends a lot on that functionality (Acoustic Drums with about 2000 midi files/performances) and the worst is that i found that i have crashes...
See this topic...https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-dawsIf it is easy for you please check if you have also the same crashes...or maybe it is a problem in my system?
In this way we should confirm if it is a Hise bug or not.
If it is a Hise bug it has to be fixed...otherwise it is a dead end for anyone who uses a midi overlay panel for drag n drop or any other functionality in his plugin -
RE: Midi Player - Playlist
@Christoph-Hart This way seems to be better than mine...is it easy to have a small example as starting point so we can work it out?
-
RE: Midi Player - Playlist
@dustbro Hi...You mean that the user can use his own midi files?(That they are not embeded in the plugin?)...Lets say from another location where he can add or remove midi files?
If it's the case one way to achieve this is to create an expansion(lets say you name it "UserMidi" or anything else and the user can add or remove files from the respected folder.(This folder will be in ...User Library/Application Support/Company Name/Plugin Name/Expansions/Expansion Name/MIDIFiles).
Using a Viewport the user can see the midi files and load any of them in the midi player.
Add a play/stop button to control playback and maybe a floating tile(midi overlay panel) for drag to DAWIf the user adds or delete files from this folder the list will be updated on next load of the plugin.
If this is what you are going for and i did not misunderstood i can make a small snippet for you.
-
RE: MidiPlayer ClearSequences?
@dustbro They will not work from the Property editor...
Did you read the post that i mentioned above?
You will find a lot of answers there...and load my snippet and test it in your system...you will see that most of the functionality is there and working ok and finaly you will come to the most serious problem that i mention in that post above (the crashing senario) but strangely noone (of the users here not even @Christoph-Hart) was interested about...and in some point anyone who is using a midi overlay panel (for drag to daw or any other functionality) will face it.The part of the code that controls play and stop is that below...
//The callback to control playback of the loaded midi file inline function onPlayControl(component, value) { var position = Engine.getPlayHead().ppqPosition; var last = Engine.getPlayHead().ppqPositionOfLastBarStart; var currentposition = (position - last)/4; if (Play.getValue()) { Player.play(0); Player.setPlaybackPosition(currentposition); } else Player.stop(0); }; Content.getComponent("Play").setControlCallback(onPlayControl);
-
RE: MidiPlayer ClearSequences?
@dustbro Play, Stop, getTimeSignature and Drag to DAW works but there are some problems...see this post and if you have the time test the snippet in your system...this way we will be sure if it is a Midi Overlay bug or not
https://forum.hise.audio/topic/4656/midi-overlay-panels-in-compiled-plugin-crashing-dawsAbout Drag To DAW it works ok but there are 2 problems...
-
If you load a midi and drag n drop to any daw it works like a charm...but if you load another midi after that(or try to drag n drop the same midi for second time) it does not work...I noticed that if you close the interface from the edit button of the daw and load again the instrument you can drag n drop again any loaded midi file...and that story goes on...Or if you try it from Hise plugin in any daw the same thing happens...you can drag n drop any loaded midi file but in order to drag again a second midi file you have to close and open again the (interface preview, or Hit compile and it works...and so on)
-
The midi file that is created and dropped to daw is named as temp...
Is there a way to have the name of the actual midi file that was loaded?
-
-
RE: Adding more than 16 channel to routing matrix
@marcLab Hi.
You can add a lot more than 16 channels without problem.
I work with 64 channels in my project and there is not any problem.
Just follow the link that Dave posted above and recompile Hise. -
RE: Midi Overlay Panels in Compiled Plugin Crashing DAWS?
@DimitrisSP Bump bump.
Did anyone has test it? If it is finaly a bug it will affect anyone who uses midi files in his plugin and wants to have the functionality of Drag to DAW or any other Midi Overlay functionality.@Christoph-Hart please take a look at the problem...if it's finaly a bug it tends to be a very serious problem for this kind of plugins.
-
RE: Midi Overlay Panels in Compiled Plugin Crashing DAWS?
Unfortunately it seems that i can't confirm 100% if it is a Midi Overlay Panel bug (because noone of the forum had the time to test it in his system)...although i am almost sure that it is a bug (if i delete the Midi Overlay Panels and compile the test plugin everything is ok without any crash)...but then it's impossible to use the drag'n'drop to DAW functionality...so dead end.
@Christoph-Hart could you please check if it is happening the same way in your system...and if so...is there a solution on this problem?
-
RE: Midi Overlay Panels in Compiled Plugin Crashing DAWS?
New information...I compiled the latest commit of 6 September and nothing changed...i have crashes exactly like before.
-
RE: Midi Overlay Panels in Compiled Plugin Crashing DAWS?
@Natan Hi my friend.
I build this version of Hise on 3 September
I am not sure if it was the commit of 3 September (and i also had some compiling problems with some commits) so it is maybe the commit of 1 September if not 3 September.
-
Midi Overlay Panels in Compiled Plugin Crashing DAWS?
I have a simple test project where i use a Midi Player and 2 Floating Tiles (Midi Overlay Panels)...one of them is set to index 0 for drag n drop to DAW and the other is set to index 1 for visual representation of the loaded sequence.
I use also a Load button to load the midi file a play button for playback and 3 buttons (Half speed, Normal speed, and Double speed) to control playback speed.
Everything work as expected but the compiled plugin introduces problems (and finaly crash all DAWS that i tested).
For to be more precise on what i say the story is going like this...
In any DAW when you load the compiled plugin for the first time everything is working great...It opens as it should be with the Midi Overlay panels presented there...and not any midi file loaded...
Pressing the Load button the midi file is loaded, we have the sequence being presented to one of the midi Overlay Panels and "Drop Midi" to the other panel so it is ready for drag n drop.
The Play button and the 3 speed buttons working as expected and everything looks to be fine.
But if i close(unload) the plugin and load it again i get a crash in any DAW...
If i will not get an instant crash on the second load the plugin will be loaded without the Midi Overlay Panels...and it will stay like this (Without the Panels)...on every next load until it crashes the DAW...
The crash may happen on the second, or third, or fourth etc Load and it is tested on Mac and in all DAWS i use (Logic Pro X, Reaper, Studio One, Cubase).I narrowd my search on the problem and saw that if i delete the Midi Overlay Panels everything is ok without any crash...so the problem is the Midi Overlay Panels.
So guys if it is easy for some of you to compile the same project on your end we could see if it is a problem on my end or if it is a Midi Overlay Panel bug.
Here is the snippet
HiseSnippet 2542.3oc6Z0uaabiDeWauoQNwAIEEGt+jP3PfbcxZYGG633yHJVejnK1wBVJ4Zufhf06RIwlUja1kx0tAFHOJ8QoOB2iRdCtaH49AWIYYUiK4JtdKRr0RNC4uY3uYFJR2Jj4hihXgFlE5bV.1v7lVsOix6WsuCgZzrlg4MrNf3QZGfwdF6cVfSTD7ASy4elP.yBKXHe9zS1yw2g5hyZxv30LhKdex.BOq0VUdAw2ugiGtCYflzaTooKiVk4yFBfY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qzGS50mq2xI5mvbjyI3lzVgXHZKgVkAku5xV8y.xu5UICHerSk7.4iuZLf73JjnCXCf4wI7rwmZqKi7nM0tZS8u3TYLevrYR5DKsAum1f+qgiZWuYL6pVkPGOB6YgrgA5Gv6rAh7DzLX7K5vHX3meXnSxyfwG0gQkS+OCLJviuOEELRNNUwQBKAysrzOgUMzT4X8E9tUhC3TQWes79ON7DbHvVTAQG2K4hito05OXis23Aat8VaaPf8uj0wFq+nsV6Aas85ORqi0i6Y8M2bixk2H9pFJaI21bwzbvM8J9XTxIQeOYeMod3SgVWCJ8kifeyY1pEmKslU+o.Mq133Qo6MGaMXieCNlaXs45k25gat81q+kwuTV3WZ.3qM4m0Rj9WpLgKu31VGv7F5KtND8aaSbEiwc.UjycAFhKofFQ3mk6Bo9bbEbyJbuiUKB2s+jw6bS.uha26yLdiuPykrp2sK1kmA1ErZ7ce9u8RcnbKETtgUa3qMHumGIP9Sx2Q+cnZE5YXJNT3TWaJWz7+bVun4fY9hlOzkCSe7AFGoOvUZiGP5.w052nmwqhvMBwu+Hwprd6UYv16mTWe5IM.ibh5zVrieIc4oCXCo4t3uQue0ElsMXdI2n7B+t9Bu+xkbX9YCtSvCZ1Zr+pItMPiGD3iqSOA6C6JThwuF1FXWmg97jVyyqOfQYA8YThq9h9QXdHoWObnN1mnA8TNO2E3+MUNB6ichxkrcef34DB9I7UzWr1r6Kl150e1RAWjHXD8+FI0m+OlI0OhMTr4kCb.h5op+lGZC4RcwhaZC1zg3qBaNmHen58xIeOt1Xpm7k+E7D24Zh2Mi6bsjN+hLGCbbCYuM9l6Db4qKaArap7O.jBVGHdGsV52F0prcYCwc48VWWg699f+Yx5r9UPmGbEzYiqfNO7JnylWAc15JnyilpNhhQOcHmMPEJBMzptZiolo+cKYNuw+FZJq5qA
and here is the midi file
BasicGroove1.midalthough i suppose any midi file will be ok to test
I am working on Develop Branch
-
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
@ulrik A big bravo to you my friend and thanks a lot for your help.
I checked your solution and it works like a charm.
It works exactly like my solution in the level of a user experience but you achieved that with a lot less code and stuff...so it is a much more elegant solution...Great!By the way how you found some special callbacks like
Storage.data.tStamps
and/or
Storage.data.numBars
Are they located in some API?...I did not find something like this searching...Maybe i searched in wrong directions?
-
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
After 2 days of trial and error trying to find a way to store the last values of the tempo buttons without any success, i managed to have everything setup correctly using a "not so elegand" way.
I used 9 buttons instead of 3...(3 for the Half tempos, 3 for the Normal tempos and 3 for the Double tempos)
Using Show-Hide functions and a rabbit hole of if statements i changed for every different button the callbacks accordingly so finally everything syncs to DAW and works as expected...I would prefer a more elegand way with less lines of code and stuff but for the moment it does exactly what it needs...
Here is the snippet for anyone who need something like this
HiseSnippet 2952.3oc6b0ubaabDGTRH1j1xwISlN8OugSmLTVLPjxzx10Uiokfnkp0GbDoccpGOdf.ORBaP.ZfiJRQQSyiReD5iPeD5iheCZ2C2AfCjffPL5qZGNYrMta261629a26CfK0cr0wtt1NRYx1739XoL2VtwwVjtq2UyvRZKUoLekbSrKQZsi6q45haIkIyrOmVWlryI486SOcMMSMKcbXQRRux1PGusQOCRXo0q9BCSyZZsvMM5IHckpaoaastso8.vNlUtjTeM8On0AuqFUrYjAiXiVFDamFDMB1UJybqY253Fcs+IKl7uxv03.SL8gxRMfFhUbMayVTKlVpz5cMLaU2e75JIkQtd3neV1n+6j2wnkQP4gnvc8p.EpgHdjYljLuxhlWozadyHXd2v243YdlZGic7LKnfsT2hWfnIs9.GGrEoA9iCvQbMe5o7pZ5.frX4aaa2eCKMvPaIVLswO.DsQebzJxLazQ8rieTK5TFcjJQGT0LLwzQcF+G.ooiPv6qpQzjxzR9gkUrZtxKdz5q82K8bEk2+h5MZ1o1Op.+poTWQQ8vJV+r5KOxsFTR6lJJas0har4AJ6ulxFqsw6Me8QcTdz5sMgZWbQnLEkOzUUQ4PsVpJ2mTqYq0jncLi0kW9j56u2eci0a9tZ6ss5F6e5ZZtF5O2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+TnSkoPmGLE5rxTnyCmBcdTh5PmL5YCH18XghPA02fsY6LA+eIgLyJ8+v4yovp
If someone find a simpler solution will be welcome!
Thanks a lot guys for your help! -
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
Hi guys...Today (all day checking and trying) came a little bit closer by using the snippet that @ulrik suggested...Thanks a lot my friend @ulrik
In that snippet Half and Double were working (but not at the first hit)...i had to press twice and it was working but with x2 effect of what was expected...
It means that if i wanted the half speed i was receiving (after twice press) the 1/4 speed...and the opposite with double.After some trial and error i made that working at the first strike by commenting out
//MIDIPlayer.clear();
So now every time i hit the HalfTempo button i get the half speed or if i hit the DoubleTempo button i get the double speed...and if i drag n drop the midi to DAW everything is ok and converted as it should be.
Here is the snippet as it is now
HiseSnippet 2254.3oc4YstaaajElx1rcoRT2zhhE6OGHrnftwkQxwwIYCLhh0kDswNVvRI8FVDPSNRZZnlggbjqcCLPeI1+2Gg8QnOB6iRdC18LyvKCkTTTc2zTrKQfi3YNmy7ctNWXuHlGNNlEYTxZv4gXiRW0r+4T93licITitsLJ8AlCvwbi8OOzMNF6aTpz5OTLVIqMLjOu9966F3R8v4jLLdFi3gOfLgvyo1qwiIAAcb8wCHSz3dmFc8Xzlr.1T.GqaVyHz06EtivOwUv1Zl.HZ6S3rn9bWNN1nzF6y7Ou+X12SU7+LRL4j.r3k5F8AEoH2gE3KPrfpQywj.+do1argQIyd4V+5Jq+SMOj3Sxnm6Etlb.TtD59iRqsL3UWGd0Vc3slF79vzfiDdAtmiijvBHzsU2DB5Pp4znHLk2G+xo3BglWe+jgFDANYc5GvXgsot.P80IKT9I.q8CwEGnz5Es50eyVsdPYdK0PXTcHAXgUWJ8EfagEBQ+VtbWiR9l2ttCcvtO9NM2+ap8PGmu6w85OXTmu1Ad53zywo0o6P+gVO8r3N.kgCbb5185sezINGuuS68a+cAe0YibtSygAvnW+5.MGmWLtkiyot9sbtIuy.+8MDSrJqqp4q5c7Q+s1MG77NGcPq1Gew9twDuGFwXmhq6LgHb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GV7YDfsKJNYRo0D8CUuWKcC88wTe4K+a3IYv5h2KkLX8zA+MYNl35EwddxmkPjK+GjT.6lJ+TeVlGJdGUO6XIl0bpYH9PEO2yS3t+Bv+rXY19RHyMuDxrykPlacIjY2KgL29RHycVpLhEidvTNahpTDHzqs5HEkx9B0kV23+.lRZFUA
But unfortunately there are also 2 problems (again 2 problems...)
1) NormalTempo button does not work as it should be and it is obvious because
timeSign.NumBars *= 1.0;
and
e.setTimestamp(ts*1.0);
so either i have pressed the HalfTempo or the DoubleTempo button it leaves both values untouched.
The only working way should be for example to press the HalfTempo and having the half speed as it should be...then in order to have normal speed i should press the DoubleTempo button and then for double speed again the DoubleTempo button...and exactly the opposite the other way (if i wanted to go from double speed to normal and to half)...but it is not practical...that's why there is a NormalTempo button there.I think the only way is to somehow store the last value of every of the 3 buttons and to use some if statements for every callback...but i couldnt find a way...maybe its not so difficult and maybe i am blind.
2) The HalfTempo and DoubleTempo buttons must have a unique effect (half speed, or double speed compared to the normal speed)...I mean either i press for example the HalfTempo button once or twice or...10 times it must play at half speed...and the same about DoubleTempo button (play double speed)
But i think this can also be solved if i find a way to store the last value of every of the 3 buttons and procced as explained earlier.
-
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
@Christoph-Hart @ulrik @MikeB A big thanks for your help and a big sorry for been late to respond.
I am working on a project away from my home(and of course my computer)
and it is impossible for yesterday and today to check and try your solutions.But tomorrow i will be back home so i will try everything.
-
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
@ulrik Have a nice day.
I tried with no luck.
Interesting...i think we have to try to dig a little bit deeper becausegetEventList
creates the array andflushMessageList
writes the array in the sequence but i think we did not altered anything in reality because the Half and Double buttons just change the way that hise realises the daw bpm and adapts accordingly only for playback...but the midi file stays untouched...i think(because i have done this in Kontakt) the bar length has to changed or the bar resolution...and i can not imagine a way to start searching -
RE: Midi Player and drag to DAW...almost There...Speed Buttons Success!
@ulrik I cannot think of a starting point...maybe something like
MidiPlayer.flushMessageList(var messageList)
But in this case what should we put in (var messageList)?