Load/Save Table(envelope) shapes
-
Also note: You never actually need to do anything with the visible table in the UI. It should just be linked to the backend table and you do all of the processing on the backend table.
-
@Lunacy-Audio How do you mean? The UI table is just a dummy? In this case my visible table in the UI is a global LFO. So I need to create a new table to replace this one, and link it to the Global LFO?
-
I just mean in the code you only do work on the backend table. The user uses the front end table as usual, but it's linked to the backend table. You just need to set the
processorId
on the front end table component. -
@Lunacy-Audio Oh right haha, all good :) Thank you
-
@Lunacy-Audio Ok I'm officially lost :smiling_face_with_open_mouth_closed_eyes:
I can't find a way to save the Base64 string as a preset / file of any sort.
I did manage to restore a default Table shape using a simple button callback and the restoreFromBase64 API.
-
It's just a few lines. This is all in that snippet I posted. You just need to save the base64 string instead of the other two knobs I save in the example.
var tableProcessor = Synth.getTableProcessor("Velocity Modulator1"); var tableData = tableProcessor.exportAsBase64(0); var userPresetFolder = FileSystem.getFolder(FileSystem.UserPresets); var presetFile = userPresetFolder.getChildFile("MyCoolTableData.preset"); presetFile.writeObject(tableData);
-
@Lunacy-Audio Thanks mate. So I've given this a go but so far its kinda half way there. I can get the Table shape into a preset file, and load it back in, but there's a few issues - firstly; all my Presets' table shapes change to whatever I just saved, and then saving/loading a new file doesn't change the shape. I've tried to merge it with your mini preset menu snippet in case you can see where I'm going wrong!
Thanks in advance for any help with this :)
HiseSnippet 4770.3oc4a07ibajcmsjngl1VN9qDDDj.PnSsVoL6Lijk8XiMd3GU2MmljEM+X5oGGm08zMaMbmdZ1aSNi7rFBw.4Ptr.AKPNkSAH.IXABB1+DBPRtjSKvdHWxg8Og8b7AkWUjrppY+gZIXGrKx.Hgtp5Uu526i58dUQR2YIChRSSlIUaqfqmFIU6Mj8udR1Y5m0OdhjogTsaK6NKJMJSR65o8SSiFJUq1MaQFs1V2Rh92u4Sz5Ot+jAQ7tjjNJIdPjU7EwY7dcOnS73wM6OLJH9BApezAlCRlnmLN4R.I2TdGoo8Gbd+mD4zmP1Mjkp8ZngwYIy7y5mEkJU6VZICu1+rjmNIm9ihS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DN+mYB4aqoX.H7wbeOGjuYiIowYWK9s27cx2dxlB22V1MNavYKGu2XI3EBN7cMdK9RdtiLZznnAYbvdK4lG+c+msiHTtcNT9ijaMN4z9i4JPvKBPUT9muyeRwvJrwUXDr6Z9tq9ka52c0zM96tp1M2XMxKw2Y0s9s5uypM0W+cWvLk9s5tyWBEp3WF1alCYYRbFJNKh37BgVyYQ+3KilLXtcmDmDStO1A+MGzEh2NJY1EEuMOET9GdfUzS.cfHCChf.k9WOYfXm9WjjjQ9bIl2068NvJIYJZBID7PQ5cOqeJ4EWiVcDGW5WllkbQIV9cl2SJ+rnozWTpZel7iez17wIz+P72NsWHj5M2Lmrk3XciMdu.3iovbqHaI9s7LU4Hl4y+6.Hds4Vu4++L2pWBTu5jmX2OaVLT2lrykW3CIuFDAHYBb5HxKcJbFJxTos2gzlnY7ilLj134veECtKocshA2sbv+OYMtn+fYI+vxudTvvcaZOfbOg9IOukrMosB68DUVdms2Q5BH03Obv.h59OEzOKeN68JLmG9JLmG8JLm2+UXNO9UXNevqvb9v0NGRUIpWB4fx2JBc3hxirWikEq1Mk9eAG54Re
-
@DanH You forgot to put
data
in front oftableData
in line 78. Remember thatdata
is the object you're loading from the preset, so you need to refer to that when restoring the values.Should read:
tableProcessor.restoreFromBase64(0, data.tableData);
-
@Lunacy-Audio Amazing thank you!! Is it possible to save these presets to a different folder and as a different type of file than .preset? For example save a .lfo into a folder called 'LFO'? When I change the path and extensions I get errors....
-
@DanH Yup, you should just need to change a few lines.
Note: This might not work unless the subfolder "LFO" already exists, so you'll need to set that up with the installer.Line 85
return FileSystem.getFolder(FileSystem.UserPresets).getChildFile("LFO");
Change all instances of
.preset
to.lfo
.This works fine here:
HiseSnippet 2740.3oc4Z07aabbEeVIsFhLVt1NFEEEs.KzIpZUFRaY6JajZZIaYqX8Aiorh+ntwK2cn3FsbGlcVJYFCgZfdnWBPQ.5odp.EnEAnnH+ITf1domJPOzK8P9SH28A027wt6rePpUBwEInDvFZm4Mu42u26M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C0J.2me0PZOU+pKTMtel7WdyuddFcLBrpO9.qIJb7ODiYDEVwVF7M7cmDHNJl+aAHdr6mN4+ete5CHPspd6rtYfuCTyl9FC50B1vxBCHwCNYD6Z1gyOwFJ+4ZrmYVlVXOa9CGB+jcVm8rlry5gc9+j4nmokO4CC+34.G2z7V.d6w+hOKouN6YinaFWWuV0Zndv1genkEyb+iA6S9i4Rmfwb4SvXV3DLlqbBFyUOAi4Zmfw7SF6XXUhbqAvdPhkhPCMuiHytVztXZSh9u.HM5g6A
-
@Lunacy-Audio said in Load/Save Table(envelope) shapes:
Thank you :) So this is all working nicely in the snippet. However..... In my project, the LFO shape that I load into the table now overrides the shapes that I had previously saved in my presets.
Just to be clear, because this might get confusing, my 'presets' are all the presets I've made to save settings across the entire instrument, and were made before I started implementing this table shape menu system, including saving the shape of the table in question! So now, rather than loading up the shape I had saved in my presets, it loads up whatever the last shape was in the table.
Let me know if that doesn't make sense!
-
@DanH Ah, think I found it, had to switch off 'Save In Preset' on all the new buttons and viewport. Fingers crossed!
-
Yup that's why. If
Save In Preset
is on, it'll always restore the last value when you recompile. -
@Lunacy-Audio Thanks loads for your help!
-
@DanH Ok last question before christmas! If I want this to apply to a SliderPack rather than a Table, what should I be scripting in its place? As in instead of tableData....