Expansion Tutorial



  • Does this fix the issue of the end user opening a saved project in the daw, and correct expansion presets will load that the user has saved? Been my issue the whole time



  • @coreyu21 yes its fixed 😄



  • @arminh awesome! Thanks everybody.



  • I have a quick Preset Browser question. The HISE preset browser has the first column populated with expansion names, but the floating tile preset browser defaults to the main Project user presets folder. Is there anyway to get the floating tile to react the same way? Ultimately, I'd love the Floating Tile preset browser to contain ALL of the expansion presets, not just the loaded expansion.
    Here's a pic that I hope clarifies my question:

    PRESET.png



  • @dustbro Enable the expansion column:
    ef0ad6cf-3139-4a67-88ee-b2731a63db90-image.png



  • @d-healey It's always something stupid..... Thank you!



  • @d-healey Have you tinkered with loadPreviousUserPreset() and loadNextUserPreset() while using expansions? It seems to only work with presets located in the User Presets folder.



  • @dustbro I have not



  • @dustbro said in Expansion Tutorial:

    loadPreviousUserPreset() and loadNextUserPreset()

    @Christoph-Hart Is there any way to make loadPreviousUserPreset() and loadNextUserPreset() available to expansions?



  • It looks like you have to set Engine.loadNextUserPreset() to stay in Directory.

    Engine.loadNextUserPreset(1);
    

    That will allow you to load next and previous in the expansion. If set to 0, the presets will get stuck cycling in the UserPreset folder and not find their way out.



  • I'm using a label to display the current preset name.
    If I load a preset from an expansion, save the session in DAW and reopen, the preset label is blank. Engine.getCurrentUserPresetName() returns nothing. If I open and close the preset browser, the label text gets populated.
    Anyone else experience this?
    Engine.getCurrentUserPresetName() works as expected with the User Presets. (preset name is always restored)



  • @dustbro I am using this method. No problem here. Also you can put an invisible button above the label to open the preset browser.

    HiseSnippet 1684.3ocuX80aaaCDWJMJqxsYcEn.CX6gQ3GFbBxbkbSxR6PQSiSba1RRMpS61PwPAiDsMQkIEnnRhaQdX66x9RrOU809z1QR4HIGm+TCjIGGadGui+ti2c7naK3AjjDtvx1c+gwDK6a6zYHS1uYeLkYs8lV1eoyt3DIQfLj1XXLNIgDZYaeimoHX6Nqk94iOYCbDlEPxIYY8ZNMfrCc.UlSs85+BMJpENjrOcPgYu75aGvYM4Q7T.O2vwy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VMFbh1vndjQT8pbY0Z1jlDGgGVrpw+2EZZrViwpz7.+wqmXR+0lMrSYbDkbol5FERKltLeU16SihlXdeqVMVAdsZVduYvo4840L7N1y2Tg3TlgB7QujDH+bJH3WT0s.uZsp7iG1ivfP9doQXvjQM7q6MQDzBZ0.SvqsPorYCPdZDsGiDtOjaVKK0CV4ll397DOUGHJn8F+qNlqFQ5JqdgknT8+HNaIpwqNMgz5w0kDKLZq1CLGg6dMVRbZJ2bhoqBnAuDI5Pr.8pXyQ6f1OSCF0mPG.UGI.rUu7xMfXBevsmUDMWsaBca8Yp3bQTptguQ05ixKq6RUItT0OpZR0RCgkvuwCgNsTp9xOc3z5Tb1dbI4EPvQkOTwsxIUPiypa2IxSUCRvihfPiIw1DzbABVikN3.hXIvCDAXZzDgdQK2rqy42rawdwCLkDKLQNaaFU9B3zhyqEXqr5nv2d01aBwkpthynkWWEnsIbfY.wzirqyljj2I4w.RaxGDyYJMXWQp4N+nNnUUusngp4uwyLiNt3EXFVXv55pzmR3i+05lpz4SYy0OfKBIhWhCooIE0igdG56Kc8n7y1.py8oO8IuxTaTjrUAy3lmmYTwYTdhxNbr+GasM3XeKPAiv+b2Ia8OE+ycuLJYGyXY+0NSriUqxciptQT4tQuZv71N4YcFf92SKP+VmysA5OOv9EmGXuiSoTXCd+SqL75TDuei83386FGuUctryugqHelq7AW7jGBmzIKeaT0UvyX.Yskt1m5pcrDpbXwqnesbE0qJbuqSapLn+jw6LS.uPd90Mdytv+7Na0sKzTRNXm0o0uc8e6dKSOX8fKzHnp3p8RGzAR7CH.RXP.npxp8LpjeyXO0XkmoCgEpG7uvSFSe0X6Ll9iXZM.GH3uMvTOW8SJbSME.SL8urhqytpwHeKcMdPNGu5dVCngz2FDnbE+.f8IKSioPlGLExr7THyJSgLqNEx7iSgLqcgxn9QldZJbaHSZBPn8V5C9rs2hggnLcDo0+Avjjh1C

    I Tried This Method.
    By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.



  • @Natan said in Expansion Tutorial:

    @orange said in Expansion Tutorial:

    I Tried This Method.
    By Hitting f5 Over This, It Jumps To The Next Preset And Can Cause Changes When You Open Your Saved Projects In Your Daw.

    Yes of course it's normal 🙂 Because it'set to load next preset.

    Before saving the Hise project, only you have to do is selecting the first preset (this first preset is the initialization preset that your plugins opens with), and then saving the project xml and save archive at the same time. If the first preset and save archive settings are different, there will be glitch. So, First Preset - Save XML - Save Archive must be same.

    Advantage of this thing is, on the initialization, the plugin always initialize with the first preset and automatically selects it. Also it doesn't jump over to next preset when the DAW project is loaded.



  • @orange Using a timer to update the label was the missing element. For some reason I haven't needed to do with with regular presets. I guess the expansion data takes a split second longer to initialize.
    Thanks for the snip!



  • @Christoph-Hart said in Expansion Tutorial:

    I just want people to get acquainted with the basic functionality before taking the next step.

    Ready! 😀



  • @dustbro Ready here also 😄



  • @d-healey Me too!



  • Yes please!! 😍



  • Definately 😜


Log in to reply
 

12
Online

1.2k
Users

3.8k
Topics

33.6k
Posts