Expansion SampleMaps Not Loading
-
@DanH and also Line 115, column 37: Unknown function 'loadSampleMap' when trying to change samplemap
-
@argon did you create a script reference for the sampler?
If the snippet has changed its best you send it again
-
@DanH yes i believe so
HiseSnippet 2209.3oc0YstbabaEdojVGysQYbRyjI+oyrkS+A4DaEREY6N1wwThhxkM5BGRkX6QUiGncAIQ7t.a2ETWpF8m9D0Gg7H42f1C.1KXWdwTJ1psb73YAv4bv24BNmCf5FxbvQQrPiRkO7h.rQoO0r+ET9nViPDpQmsMJ8UlO9gqut8Nc1eyc2801u7fd+Xm8egwVWDfhhvtFkJs7KDzVp7JFxeu64ag7PTGb1TFF+Li3f2k3S3Yy1s4OR771A4hOj3qQ8FM63vnsXdrw.tV1rtQ.x4sng38QBxVxznzcZ6R3rv9bDGGYTZksXtWzeD6Lph9elDQNwCKFzvnOHH0z6v7bEHVLqQqQDO2tI5ejgQIytYVikUViuzbOhKIc9Lqx8jKXmwgt8nzR4g2x4fWCc3UWCdSARkzfzJJH84l8cBIA7rUD342Y1gxwgCPfYWGJJZMVx9yLaw.Jn707QuEuSHLHkipOpd86aC+WsmZspEX6i31mhBs6u4dc2s8VG7J6mYmv8PLuEyOfQgAUqjRQkZOUmS+K5i7C7v6gBDNsHP.GUo+A601d+M2qc+JGmi5N9fyswL2D0xvNTjkMlOKaHXQWcjPJDXRFhKXIdJPQTeTofE.edveAQcUb0lNjPwq4DhA2Z6yCPzHBiFudUgAn.qJBDJelbD6ZJu6Rh3wLpQQDluomG6LraJgBWeT0izHZGhGdKD3kuu8pV1KxOMlkdderKATjaB+soNgWDvwtGK.+Bw8TMMowFGmXCzlesfwQipVYmMac3A8dcEkYZ.KrJ1lPmuEslBTSSdXA4vYm.bHm.1zZqIVLQMzQYpL6i8vNvw4YFsMAkRvNwrBGa0JDN1Opx8KBtegQnUq72nUpoTTB0CB1rGLl5vAhrYzIjm.LgLupNIH49.t8FiAs+xUsJmOhp03vPfjTgjwkPY5.f5P74BSGr6WIQvBqqRwqvRKjm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b2qoG5b8WERCP62rfw5jhFKiNIXdkLL+Dy3aSZsirm9zMzpOFBjc0l3vQjPswSybl3j6hnXuXmr7600v8896Z3t4vB3130Sf6W2z3ZDOswrhm.KxBrUWm3oIeJp6YtGycrGhm+kwDOGX7BBKm9yQId3AvdxuP+T2GrmKaQg3ma1UbEyoiwklBFEIp9Hfw3GYbUy1CF.w6Y.bEycd0GmWTTe6+Cps+KL6yCwHe3Bow0zjXnrYxnO.O0avB+TucCwx5oj+gFY+ZysFClnv7y9uZJ2pM8gXzb6ULv6gCvHN3kyUtnWuW.A0AE45cOWFSbXHD0CVB8ENfhASMWWGaExhhF.piTVQ5K0cb3PgsJald3SwgQ4ma+w9f6lBIKDkZKUBl5mhvB2KwYODOjj6XsbWpeHR5hWxTMtQgwqWX72UX7FEF+vBieTgwONabZ2Mh.Cw6uWnWgOYw5U.DfL+nFkaQFlJb0L5ORepYVBEsG3eJOU9c9X858qrXm0l+ebg+OH6Yt+XCkSvXehv6zldJbrDlQfwu.Z8Y.ZrGOY1F4P4dLJKXDiRbxeH.BpGNDGpi8opPax4vYvrY9xl8f1APQZmh+SM2EtW.JL+Y6qksnw09O7xT8WesoBt1h7Z1+V7a2pgYysB3xKTEvO338lWM7V0z8Yw0EsgcOj++394O0TlJ2VT48+VPsGaLGpnlTUyDJ80GJ26f0K.tjnnpZbcwXAf5iotxA+a3W7hMRpVJVrQxhFNIhBzs3ukWjqzxXpnzgrwNOnNrmdHcDzTg.RPEsaET5ibBYuwQccUAVuqbF.kTYO3kM2SL1tQxMSMMquVcCenV0abbDGDd.XgmNOqeC346tA7rwMfmGdC34Q2.dd7Mfm+7b4Qzlvli4LeURRXhtsUAVkZmFXsrw+AuIUWlA
-
@argon
So I think you need to declare the Sampler as a child synth too so I've used SamplerModule as that reference and combined it with the inline function I pasted above that you didn't have in your script.
Let me know if this works
HiseSnippet 2623.3oc0Ys2aaibDmxNLIV8xgbWOTz+o.DB8OjwE4nW9QtzzHJJJKdVhRfjNNFoFAz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PUyaVHr+Z7db7vFg5vl+VH1sCWCuEKktLlFCHcj6PBw+F9KZvJw6chGrR7fbVwSE3aQ+l71D4VG4h25fbLOGXWYG1R5.3HFXHA628UAkSLs78dqE8EXvX8gDN.JcImHeC9dXZgJwO1BOe4sJyMA1q5sVV3EBkfH7x0o5cPmZ2AcpeGzY66fN6bGzY26fN6ci5fOlf3rPuIzlj.iAxzBqbxIEVqy8e.3aoGyB
-
@DanH really appreciate the help. unfortunately that didnt work. the backgrounds dont load and the samplemaps seem to only load from the factory folder now.
-
@argon I’ll see if I can have another look later.
-
-
@argon right this should work, reading back through the thread I posted that script because there was a problem with it, hence it should not be copied
Expansions are quite complicated, I don't know your level but it took me a fair while on Hise before I was ready to have a go at it myself, and even then I still needed lots of help. Small steps are always the best way if you really want to understand what the script is doing. And subscribe to @d-healey's patreon if you can / don't already.
HiseSnippet 2369.3oc4X80baabDGTxv05RRGmzzY5KcFTN8ApI1JjNN1YhqaHHInDpHIv..ZYIWOZf.NRhZPbr.GsjpF8R+1z25WfNS9HkuAs6g+d.jRVViSljoZFIgaucu62961a26N8PhCNJhDJTaKqyWfEp8whlmGPm0clsWffZOgZHQkWpKYoXZIz47E1QQXWgZ01bWV+015NBw+7CeWGae6.GbgHAgWP7bvC7l6QKjp2deOe+91tXKu4bZ+31pNjftDexR.KaJ1TXgsyarmhGYyTaCQgZ2Uw0iRBMo1TbjPs6zg3dt4LxoAI5+BuHuS7wrFsDLgAJQbehuKCwLoBcm446pm4yQBB0D0KXfMSXfOWbnmqWt7Bl39wcHUXAOeTaixvayRvqEO7ZxAu0.oZbP5NIP5SEMcB8VPK5ggmORTMfhCmXCzNOTRzUXi+yGI1k.ZDP2Yt8av8CgF4Vz3IMa9.I3Oa+LDBn9HpzasCkLkGpOPoi1KkdtTlwSwztj4KHAPiF0y0ndYKUNagcPjGIvD6ic.l3JGgUzrxHgOawd1At9X1PnDL0K.uiSHF30bKS6uwJFlzcDXXwnvl9bKG3EQiMiq+HLU12mbJ1M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akgQSOFwqD7VXSHHggwOCND2D6k9zLokSHLjDPVLiD34TNjGBgmNEGxi805PxTJriqPxm21.ppZGwsm8O1d.bgF6vx6jeu3hVu2uu+ZWu9chIvUhkES5WtE417+aJxccTzuNsDmDLigzeFtF9whwIhkX0M+oDdFjkTnFXVcHQnXkITf1AyWxZCVYvj1MYsYfvDG3F23+B+j1Yqr5arNak0ofS1PA9S52wWqr1l3.Vcm3yh4CUN84CQifiAvfDTS5mDTN21IjbrSxkmYX8dwR.TFDeCysDGxZK0J6dxhhM2oovbnFywNNrf7GBkrVuMO5VXyWcKr4w2Ba95agMO4VXySuE17MWqMrx6xKoj4II8.A5JIAV0TxCr1T3+YXjISO
-
@argon Post an example project. When working with expansions it's difficult for someone to help you without seeing exactly how your entire project is setup. Make a test project with one expansion, a couple of samples, etc. and set it up to the point you are currently at with your main project (as far as this issue is concerned). Post a link to where we can download it.
-
@DanH thank you so much this is a huge help. my level is still new-intermediate. ive made a couple working plugins with hise and i guess i felt confident to tackle the expansion system haha. Davids videos have been pretty much my only help until this point. im so grateful for them.
@d-healey okay will do