The ch-files that got stuck, came from a sampler that had +1600 samples. It works great and plays great, bot the process och packing the monolith files didn't. I ended up splitting it up into two samplers, and then everything worked. But it seems to be some kind of limit on the numbers of samples that can be in a samples in order for packing into .hr-files to work
Posts
-
RE: Limitation on monolith files size when packaging
-
RE: Limitation on monolith files size when packaging
@Sampletekk said in Limitation on monolith files size when packaging:
@d-healey Yep, developers branch. I'll send you dropbox links in PM
Isn't there a PM function in this forum...???
-
RE: Limitation on monolith files size when packaging
@d-healey Yep, developers branch. I'll send you dropbox links in PM
-
RE: Limitation on monolith files size when packaging
@d-healey said in Limitation on monolith files size when packaging:
@Sampletekk How long are you waiting?
About one hour
-
RE: Limitation on monolith files size when packaging
@d-healey I'll give it a try!
-
Limitation on monolith files size when packaging
I have a large sample instrument, where one of the monolith ends up in three ch-files, two that has the size of 1Gb, and one 329mB.
When making .hr files, "Package sample monolith files", the export freezes after 100% compressing the first ch-file, .ch1. Total progress is then at 22%., (I also have some other samples beside this big one).
Anyone else experienced this? -
RE: The world of HISE
Per Larsson, Sweden. Owner of SampleTekk, sampleproducer
-
RE: Problems with round robin
@d-healey Thanks! Edited the samplemap! Good idea to report it at github!
-
Problems with round robin
Using the latest build from developer branch.
Do the following:- Add a sampler
- Set RR Groups in Sampler setting to 4
- Stack 4 samples on top of each other
- Try to change RR Group for any of the samples
If I try to change the RRGroup, it changes to 0 and after that it can't be changed to anything else
Am I doing something wrong, or is it a bug? -
RE: Loop points sometimes don't get imported
@Chazrox That only sets loop points for the whole sample. Thing is, that all samples has loop points already set in another program. When importing to Hise, some of the samples still has loop points, others not.
-
Loop points sometimes don't get imported
I'm importing wav-files that has loop point set, and some, but not all, get's the loop points imported.
Here's one that Hise seems to miss:
https://www.dropbox.com/scl/fi/emni852izgkxmx3zfdg7a/1_-8.40_ClPu_E4.wav?rlkey=3wfpt45zbk9qsu6jyqlj0ev4y&st=4lboslq0&dl=0
Here's what it looks like in Wavwlab:
and here's the same file, imported into Hise:
I've checked the "Extract metadata for mapping" option, and also get the popup "Loop points found" window, but no loop points in the imported sample in Hise.
Any ideas?
-
RE: Logic Pro crash when playing MIDI
Found the problem!
Logic Pro crashed when playing a MIDI file and starting/stopping the playback
After stripping down the instrument part by part, I could isolate the problem.
I have a sampler that plays hammerback sound, that is, the sound of the piano hammers, falling back after releasing a key.
It turned out that the Release Trigger MIDI processor for that sampler had the Time Attenuate activated, for some obscure reason, or mistake... When I deactivated that, Logic worked as it should.
I also have regular release samples that has the Time Attenuator activated, as it should, but the the curve is reversed, sinve I wan't those samples to trigger at a lower volume the longer a key has been pressed prior to release.If the thing that caused Logic to crash was the combination of these two release samples, or only the Hammerback, I don't know, but when I, or anyone else, have more time and want to do a test, it might be a good idea. This was the AU version, and only on Logic Pro
-
RE: Logic Pro crash when playing MIDI
I might be stupid, but I can't figure this out. Yes, I understand that things that should be in the Audio-thread, should not be in the UI-scipts, so I need to place that code in another script, that is not defered.
Should I make a new Script Processor and put the Audio stuff i there? Like this, (Script Processor1)
If so, should the code that was in the "On Note" callback in the Interface script, go into the "On Note" callback in the new "Script Processor1"?
And, how will I know that the code in the two "On Note" callbacks in the different script processors are executed in the correct order.
I realize that this probably is stupid, but bare with me, my first language was Cobol.... -
RE: Logic Pro crash when playing MIDI
@d-healey What would be the best practice to pass data between UI scripts and non-UI scripts? Write functions or by using variables?
-
RE: Logic Pro crash when playing MIDI
Is there a tutorial, or text, that explains what would go in a MIDI-thread, and what goes in a audio-thread.
For instance, in this code, what should not be in the UI-script?function onNoteOn() { var inVel = Message.getVelocity(); var newVel; var noteNumber = Message.getNoteNumber(); var Id = Message.getEventId(); var velo = Message.getVelocity(); if (velo == 1) { Message.ignoreEvent(true); } noteNumber = noteNumber - 21; //Console.print(noteNumber); //Console.print(Id); for (i = 0; i < keys.length; i++) { //Console.print(keys[i]); } //Console.print(keys[noteNumber]); Synth.addPitchFade(Id, 0, 0, keys[noteNumber]); if (transValue == 1) { switch (noteNumber) { case 4: { //Synth.playNote(24, 1); Message.ignoreEvent(true); break; } case 3: { //Synth.playNote(25, 1); Message.ignoreEvent(true); break; } } } }
-
RE: Logic Pro crash when playing MIDI
@d-healey So, by putting Synth.deferCallbacks(true); in the onInit interface script you don't need to ad it to other callbacks in interface scripts, that's the only place you should put it?
-
RE: Logic Pro crash when playing MIDI
@d-healey said in Logic Pro crash when playing MIDI:
@Sampletekk said in Logic Pro crash when playing MIDI:
Here's the snippet of the project,
UI script isn't deferred and messing with Messages in the UI script is not a good combination. I would start there.
I realize there's a lot to learn here! Would you suggest putting the messages in scriptprocessors? For instance, these, that now are in onNoteOn callback in the UI script into a scriptprocessor for the sampler that triggers the samples when playing a note?
-
RE: Logic Pro crash when playing MIDI
@d-healey said in Logic Pro crash when playing MIDI:
UI script isn't deferred
Sorry, from Sweden... What does that mean?