@Sawatakashi You also need to disable "Embed Audio Files" in your project settings. This way, the audio files won’t be compiled into the plugin, and you can ship the AudioResources.dat file separately, as David mentioned

Posts
-
RE: Is there any method to encrypt many Impulse Responses for convolution reverb?
-
RE: Plugin Crashing DAW when quitting (Hardcoded FX, Preset System)
@oskarsh Did you realize if that was the problem? I'm starting to think that my plugin crashes when using Engine.addToModuleState() with slot fxs.
-
RE: Hise pricing
@pcs800 Check this: https://hise.dev/hise_license_preview.pdf
Also the licensee is not the developer that is using the HISE framework to create the product, but the company that sells and distributes the product.
-
RE: Can't remove Child Modules
@HISEnberg I hadn't thought of that—thanks for the idea. I actually used the saturator as an example, but I'm using a chain of dynamic effects, including the saturator and phaser, both of which have modulation. Still, I could definitely redo them using Faust or the built-in functions of Scriptnode. Thank you :)
-
RE: Can't remove Child Modules
@HISEnberg I was checking your solved post https://forum.hise.audio/topic/9825/add-module-state-to-user-preset-help
Does "RemovedChildElements" still works for you?
-
RE: Can't remove Child Modules
@d-healey Ok, thanks for confirming. @Christoph-Hart is it a bug or we're doing something wrong?
-
RE: Saving and accessing presets
@pcs800
Also, make sure to tick 'Embed User Presets' in the settings. This ensures that when you ship the plugin, it includes the presets and automatically extracts them to the user's presets folder. -
RE: Can't remove Child Modules
@d-healey Here I made a simple example:
HiseSnippet 843.3oc2Vs0aSCCE1tqFXc.BjPBdLpOsgllR1M5fG.1ZGTAcqZYbQBglbcNc0ZI1UINCpP6+L+C.6jrljstwVkFHQdnpmKe1e9bytanjAQQxPDt19iFBH7cItiDpAaMfxEn1MQ36S5PiTPnUppMGMjFEAdHLdl2XTfmsJJ46mubSpOUvfbUHzGkbF7dd.Wkqs6qdG22eapGrOOnf2q9p1LoXKouLVymYH1ngT1QzCgcnF2pPPukFM.geJom2x1dNqyZ33r7Zq0vtWiUXazak9zUVEn81vtgCci05auJBeqVdbkLzUQUPjdQ2T5Mxcf7ahzM3i7HdOevH3fb06bpZzVC39dcOM3DgP3pcyCUyjFpdDoC2iOVedH6AIFrxQTLngqTlRUKQImKhRaK88LKvEPObA5UMkdOj3xB4CU4VLbaNRagNa1mpySEoUpunJ6iIaI0dHTKEPOB1NTKLFw7qaaunk9mEdQsZsDGxEvRTOuNRuXeH4.su7CQPX2PHBTy+iZVE9p2tY8maUuU+9.SY45KUNG3RUwgTczn9hk8cOHPdL3kbPa4CAZ9DoQ+k5I6kAQR3t9WGC6jEdQ+XASwkBKoXGoB1UL+B09QsYqcRMqyZpe+IZybzCk99P3DMapWCuLfyKhC5AgKZcL0OFF6nNmTNoeqqVRmklIJ3nTzVvU6NDxjyKKblPYAJKUp+2GZ2jpnlJkLcZ+FBgJtgN3lvw59zz5lYIMgniTxg5N0yUToKsKk.xp2MSBxLniGkJrLEOhHtZTwIEWil.6I1DLwS6UjtOjzkqXClLeqLA9piZ2z7Majx8HosG4jsJY6O+Wd9QFWtCwzip28zaAJ12VlPybYyXctFyXKRhamRh4HiGQjvimPl77ixyxR0ZxrExgeBTuNPFKTEKD0SpJeKlNqHiTmU2MyY7xJReLI+TX8uu0ZOYrhKNrCUEx+NBS1INvUeMMCzLVH.e8FQvULSbRksMxFB4BBuDgeo+xL5XjwYFcN03+M6Q.kEJOfkdifImemDM5XqH4gLypeQkV1xAkbKQw5r.86FNfwJuTmC3xSKvUlVfqNs.WaZAt9zB7YSKvF+Yflm085XkLHsWDg5zsUx0pXbKAU2UkzVh9sSMpQa
(I also tried changing "ModulatorChain" with "Modulator", "Saturation Modulation", or "ChildProcessors"). And still the same error.
-
RE: Can't remove Child Modules
@ulrik said in Can't remove Child Modules:
Ok, I see the problem, I don't know how to do that, sorry
No problem. thanks anyway :)
@d-healey said in Can't remove Child Modules:
You have to delete the child processor from the chain in the module tree.
Oh, but it doesn't actually have any custom child processors.
This is the complete XML of the processor:
<Processor Type="SlotFX" ID="Effect Slot1" Bypassed="0"> <ChildProcessors> <Processor Type="Saturator" ID="Effect Slot1_Saturator" Bypassed="0" Saturation="0.0" WetAmount="1.0" PreGain="0.0" PostGain="0.0"> <ChildProcessors> <Processor Type="ModulatorChain" ID="Saturation Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor> </ChildProcessors> <RoutingMatrix NumSourceChannels="2" Channel0="0" Send0="-1" Channel1="1" Send1="-1"/> </Processor>
And I'm trying to save Effect Slot1_Saturator, which only contains the built in modulator.
<ChildProcessors> <Processor Type="ModulatorChain" ID="Saturation Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/>
-
RE: Can't remove Child Modules
@ulrik Yes, I'm trying to add the module to the user preset without the child processor :)
-
RE: Can't remove Child Modules
@ulrik Nono, I want to remove the Child processor to add the module with Engine.addModuleStateToUserPreset.
-
Can't remove Child Modules
How can I remove a child module of a processor? I'm trying to follow the docs, but still the console returns that can't store modules with child modules.
I'm trying like this:
Engine.addModuleStateToUserPreset({ "ID": "Effect Slot1_Saturator", "RemovedChildElements": ["ModulatorChain"] });
I also tried with "Saturation Modulation" and "ChildProcessors".
This is the XML file of the effect:
<Processor Type="Saturator" ID="Effect Slot1_Saturator" Bypassed="0" Saturation="0.0" WetAmount="1.0" PreGain="0.0" PostGain="0.0"> <ChildProcessors> <Processor Type="ModulatorChain" ID="Saturation Modulation" Bypassed="0" Intensity="1.0"> <ChildProcessors/> </Processor>
-
RE: Issues with Presets Using CurveEQ in Effect Slots
@d-healey said in Issues with Presets Using CurveEQ in Effect Slots:
Oh, thanks. So it was just a placebo effect. I kept testing, and it started crashing again
-
RE: Issues with Presets Using CurveEQ in Effect Slots
@Chazrox Mm no idea hehe.
I just enabled deferControlCallback on the DraggableFilterPanel floating tiles, and it seems to have fixed the crashes.
I still need to click the preset twice for the filters to load correctly, but that might be an issue in my script—since I can’t reproduce it in a new project.
Anyone knows what "deferControlCallback" does?
-
RE: Issues with Presets Using CurveEQ in Effect Slots
@bendurso I think the crash is related to dynamically loading the content data of the floating tile. If I remove the content data loading, it no longer crashes:
local cdata = { "ProcessorId": FX.getId(), "Index": -1, "FollowWorkspace": false }; filter.setContentData(cdata); filter.set("ContentType", "DraggableFilterPanel");
How could I fix it? If a send it to a separate function with a timer, it stills crashes.
-
Issues with Presets Using CurveEQ in Effect Slots
When I save a preset with a single instance of CurveEQ in an effect slot, everything works fine. However, sometimes the EQ graph doesn't restore correctly, even though the preset appears to have saved the EQ settings. To restore it properly, I have to load the preset two times.
But when I save a preset with two (or more) CurveEQs in the effect slots—it crashes immediately when I try to load it.
Any ideas what could be causing this?
- I have 6 samplers, with 6 effect slots each one. Could the preset be trying to load both EQs too quickly?
-
RE: Update db.json Favorites
@d-healey I'm starting to think like you :) hehe
I think this change should be also submited to the hise code right?
-
RE: Update db.json Favorites
@bendurso Actually, you could modify the source code to save the database before changing the expansion:
Just like this:
void PresetBrowser::expansionPackLoaded(Expansion* currentExpansion) { if (rootFile.isDirectory()) savePresetDatabase(rootFile); refreshColumnUpdatesAfterExpansionSwitch = true; if(currentExpansion != nullptr) selectionChanged(-1, -1, currentExpansion->getRootFolder(), false); else selectionChanged(-1, -1, File(), false); }
It works :)
-
RE: Update db.json Favorites
@bendurso Or I've already figured out the problem. The database is saved when the plugin is closed.
So if the user decides to change the expansion, he lose their saved favorites.
Is there an API to save the database?