@pede sorry i saw only now writeString, that should be easy. thanks and sorry for my ignorance
Latest posts made by pede
-
RE: problem with authentication
-
RE: problem with authentication
@pede thanks, but how do i write in a folder without using dumpAsJson? i managed to modify the script, now it's able to read files and it works, but i am struggling to find a way to actually create the file and put the information in it.
-
RE: problem with authentication
@pede usually yes, appdata/roaming/myCompany/MyPlugin
but to troubleshoot i tried to activate use global appdata folder windows, and now it places them here: C:\ProgramData\myCompany\MyPlugin. but the user still needed to activate again the plug in every time. -
RE: problem with authentication
@d-healey thanks for the fast reply.
I'm using Engine.dumpAsJSON(data, "../RegistrationInfo.js"); i use it on the submit button, if the key is valid, (i check it with an api call) it puts the key in the registrationInfo for the offline check.I know the online check work because they runned out of activations.
On my pc registrationinfo is in the same folder as linkwindows.
But for the users that got the issue, the plugin is not asking to locate the samples, only for the key.
That's why i am really confused -
problem with authentication
hi! i hope everything is going well,
I gave my new plug in to some beta testers, and 2 of them reported the same issue.
In the plug in i added an authorization script with activation keys.I used the "simple copy protection" example that christoph made, and modified it.
It works well in the 4 computers i tried it with, but someone reported that every time they load the plug-in it asks for the key.
in my code i use Engine.loadFromJSON("../RegistrationInfo.js"); and dump to write.
They also said that it didn't ask to re-locate samples, but only asked for the key, which means that the plug in couldn't read ("../RegistrationInfo.js"). I tried also giving them a version with the "use global appdata folder" activated but they had the same issue.
Both of the users are on windows, one using FL Studio, and the other one Maschine 3.
I tought a lot about it but i can't find a solution to that problem, since the plug in should be able to read that file, and on my pc it does. -
RE: Time Stretch Sampler Issue
@pede thank you this is really helpful. I will def use this.
-
RE: Time Stretch Sampler Issue
@pede oh and i would like to go from disabled to voicestart, i didn't clarify that.
-
Time Stretch Sampler Issue
Hi! i hope everything is going well.
I am developing a vst, and i wanted the user to be able to turn on and off the time stretch feauture.
I tried with sampler.setAttribute(16,1); but it does not work. (since i saw that 16 is the right number)
Also if i print the attribute 16 i get always -1, no matter what setting is selected.So is it impossible to do in that way? should i have 2 samplers with 2 different options and activate the one i need? wouldn't that waste a lot of memory?
Thanks a lot, i really appreciate this community.
P.S.
To declare the sampler variable i use const var sampler = Synth.getSampler("sampler"); -
RE: Add new presets after installation
@d-healey oh ok . I think i will just create a new version when i will want to add new presets
I tried to handle it with expansions, but to my understanding i should already know and create the expansions before relasing the vst, so that would not work for me.
Thank you again
-
RE: Add new presets after installation
thank you for the fast reply! Maybe i don't have a clear understanding about how samplemaps are handled,
but basically when a user selects a presets, my vst is programmed to load a sample map with the same name.
So i think both?
I could create an installer that puts the .preset (s) in the appdata directory, and the .ch1 corresponding files in the extracted samples location, but i tried and it did not work, it does not find the sample map, also if the ch1 file is there and the preset has the same name.