Sample not triggered if MIDI overlaps
-
@d-healey I haven't rebuilt HISE in a couple of months so possibly not.
-
@rzrsharpeprod Start there
-
@gorangrooves said in Sample not triggered if MIDI overlaps:
@rzrsharpeprod Did you check the maximum number of voices/polyphony in the sampler (Voice settings)?
I did and it is set to 256 which should be more than enough right?
But as @d-healey said it also does it in the sinewave generator clean build.
Could it be to do with note/sample length? I'm running out of ideas and I am struggling to see what is different between my HISE project and a HISE project that works like Blaque/Apache for example.
The reason I ask about sample length is because I literally took the Apache source code and files from the GitHub, added in my samples and left everything else the same. The Apache flute plays the notes but the version with my samples still drops the note. -
I am struggling to see what is different between my HISE project and a HISE project that works like Blaque/Apache for example.
Might be time to make a minimal project that demonstrates the issue and post it here.
-
@d-healey said in Sample not triggered if MIDI overlaps:
I am struggling to see what is different between my HISE project and a HISE project that works like Blaque/Apache for example.
Might be time to make a minimal project that demonstrates the issue and post it here.
Sounds good, thankyou.
Should I include the piano samples seeing as they might be the issue?I'm just building a version with artificially short samples as a test to see if it still does it as I'd like to rule that out.
-
@rzrsharpeprod Well I don't think the samples are necessary if it happens with the sine wave gen. Are you using a particular MIDI file to test it, maybe you could just post that?
-
@d-healey said in Sample not triggered if MIDI overlaps:
@rzrsharpeprod Well I don't think the samples are necessary if it happens with the sine wave gen. Are you using a particular MIDI file to test it, maybe you could just post that?
[Patent Sounds - Essential Keys] - Baithoven (C#min) (160BPM).mid
Here is the MIDI file that is giving me the issues. Is that all you need if you can use the sinewave gen or would you like me to make a snippet still?
It is worth noting - just to make this even more complicated - that in FL if I set the BPM to something other than the correct BPM of 160, then it changes which note(s) cut out.
I just thought I should mention it as I have been testing it at 160BPM and that way the same G# cuts out each time -
Have you tested in any other DAW?
-
@rzrsharpeprod That is an interesting note regarding the BPM. There was a HISE bug related to BPM in Fl Studio that was causing Fl Studio to freeze and crash, when the tempo would be set below 80bpm. That was fixed a few months back. Make sure you are testing with the latest develop branch commit. There could very well be another bug.
-
@d-healey said in Sample not triggered if MIDI overlaps:
Have you tested in any other DAW?
Yes I tried it in Ableton too and that played fine using my plugin that I am working on (that drops notes in FL).
This initially made me think it was an FL issue and not HISE plugin related. But when I tried other none HISE plugins play all the notes in that MIDI fine.
Then I tried Tape Piano 2 which is built in HISE, plus Blaque & Apache which are also built using HISE and they don't drop the notes in FL using that MIDI so I don't think it is an FL issue as such. -
@gorangrooves said in Sample not triggered if MIDI overlaps:
@rzrsharpeprod That is an interesting note regarding the BPM. There was a HISE bug related to BPM in Fl Studio that was causing Fl Studio to freeze and crash, when the tempo would be set below 80bpm. That was fixed a few months back. Make sure you are testing with the latest develop branch commit. There could very well be another bug.
Should I just download the latest version & recompile HISE then do you think?
-
@rzrsharpeprod Yes
-
@d-healey said in Sample not triggered if MIDI overlaps:
@rzrsharpeprod Yes
Sorry I missed your earlier reply saying to do this.
I will grab it tomorrow and see if that takes care of the issue. I'll let you know either way but fingers crossed that's solves it.
-
I downloaded the latest version from Git last night but the issue was still there.
I am pleased to say that the issue has now been solved by checking the align tick lengths box inside FL. I guess that is why it was fine playing fine in Ableton but not FL.
The only thing is that some other plugins were playing the MIDI fine without that box being checked. Maybe their samples were perfectly aligned to the first tick or something which is why they were playing ok without the checkbox?Either way it is working now so happy days. I can get these projects finalised.
Huge thankyou to @d-healey & @gorangrooves for helping me trouble shoot this as it has been a real pain. Hopefully this solution helps anybody else who is having the same issue
-
@rzrsharpeprod Glad you got it figured out!
-
@gorangrooves said in Sample not triggered if MIDI overlaps:
@rzrsharpeprod Glad you got it figured out!
Thanks, appreciate the help in finding a solution