@oskarsh Another friendly bump.
I want to use it to move panels down/up.
@oskarsh Another friendly bump.
I want to use it to move panels down/up.
Hello!
I thought that maybe for some this Inno Setup script could be useful. It installs the plugin + samples automatically on the user's computer.
It does the following:
(In this case I also added the file "AudioResources.dat" so that it is automatically installed in the userappdata folder)
In this way, the user simply opens the plugin and already has everything configured.
Paying attention to the * symbol at the end of the source file location because it includes the folders inside the selected folder. For example, inside the "D:\Downtown Grand Piano\Samples Folder*" location I have the folder called Downtown Grand Piano Samples. Inno Setup will include the folder inside “Samples Folder”, which is "Downtown Grand Piano Samples" (You can check the Inno Setup documentation if you need to understand this better.)
Then the linkWindows file is autogenerated with the location chosen by the user + \Downtown Grand Piano Samples at the end.
(I received help from GPT to automatically generate the linkWindows file, although it took me some time to make it work properly)
[Files]
Source: "D:\Downtown Grand Piano\AudioResources.dat"; DestDir: "{userappdata}\ZAK Sound\Downtown Grand Piano";
Source: "D:\Downtown Grand Piano\VST3 File\*"; DestDir: "{code:GetVst3Directory}"; Flags: recursesubdirs
Source: "D:\Downtown Grand Piano\Samples Folder\*"; DestDir: "{code:GetSampleDirectory}"; Flags: recursesubdirs createallsubdirs
[Code]
var
Vst3DirectoryPage: TInputDirWizardPage;
SampleDirectoryPage: TInputDirWizardPage;
procedure InitializeWizard;
begin
SampleDirectoryPage := CreateInputDirPage(wpSelectDir, 'Select Samples Directory', 'Where would you like to install the samples?', 'Select the location where you want to install the samples (2.58GB). You can use an external drive if you have one.', False, '');
SampleDirectoryPage.Add('');
SampleDirectoryPage.Values[0] := ExpandConstant('{commoncf}\VST3\Downtown Grand Piano');
Vst3DirectoryPage := CreateInputDirPage(wpSelectDir, 'Select VST3 Directory', 'Where would you like to install the VST3 file?', 'Select the default location of your VST3 plugins. In most cases, there is no need to make any changes.', False, 'Size: 29MB');
Vst3DirectoryPage.Add('');
Vst3DirectoryPage.Values[0] := ExpandConstant('{commoncf}\VST3');
end;
function GetVst3Directory(Param: String): String;
begin
Result := Vst3DirectoryPage.Values[0];
end;
function GetSampleDirectory(Param: String): String;
begin
Result := SampleDirectoryPage.Values[0];
end;
procedure CurStepChanged(CurStep: TSetupStep);
var
LinkWindowsFilePath: string;
LinkWindowsFileContent: string;
SampleDirectory: string;
BaseDirectory: string;
begin
if CurStep = ssInstall then
begin
BaseDirectory := ExpandConstant('{userappdata}\ZAK Sound\Downtown Grand Piano');
ForceDirectories(BaseDirectory);
LinkWindowsFilePath := BaseDirectory + '\LinkWindows';
if FileExists(LinkWindowsFilePath) then
DeleteFile(LinkWindowsFilePath);
SampleDirectory := GetSampleDirectory('');
LinkWindowsFileContent := SampleDirectory + '\Downtown Grand Piano Samples';
SaveStringToFile(LinkWindowsFilePath, LinkWindowsFileContent, False);
@d-healey oh, I found the solution on this post: https://forum.hise.audio/topic/4355/changing-impulses-in-scriptnode/15
@d-healey said in Compiling macOS Components and VST3 Doesn't Put Them in the Project Folder:
In a recent commit of HISE Christoph removed the copy step so it should no longer be moving the plugin files automatically (although this might only apply on the latest MacOS version I'm not sure).
I can confirm. I'm using Sonoma 14.3.1, and the compiled plugins are now located inside the project folder. That was a good surprise :)
@ThinkTank You have to add this:
const var ParametriqEQ1 = Synth.getEffect("Parametriq EQ1");
Engine.addModuleStateToUserPreset("Parametriq EQ1");
(Replace ParametriqEQ1 with your real EQ name)
@bendurso I just realized that setting the Source Length to the same sample length (2048, I was using Automatic mode before) and enabling FLAC compression does the trick to obtain the same file as the example.
Beautiful page. I think the commercial license prices and FAQ are very useful for new potential users who want to use Hise :)
@d-healey Hmm, it didn't work. However, I just realized that I only needed to trigger the ComboIndex, and it worked (as you mentioned initially). Thank you :)
inline function oncmbPolyShape2Control(component, value)
{
Polyshape2.setAttribute(Polyshape2.Mode, ComboIndex[value - 1]);
}
@DabDab This is what David said turned into a snippet :)
HiseSnippet 1053.3oc0V8taaaCDmx1pn16OHEqO.B4SNXdA1MooqHXXtwIdvXwIFSdcCHnnfl5rMQjHUknRiwPeF1aydL1yxdC1NJIaQ03kjZj8g4OXHd+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UVCdIj+ywa9Sn9B6SlNEXpBvVyt+udquW5gAJ+jLQgj6gTbFutw5YIAt3KJY.hDg.7i0Maqn4hYqaqWmRnAgW5h+F+kqridsUtxNKUhsrYQx2xxFOoIEONUBhIQ5aUqiOZFW6biIRDR.99w2xXk2pa33y1TG2aScb+M0wmuoNdvl53K1TG+161Q8y6eUB1iNiNQHCGcRV2YqUiFrpR9G.Ii9IR
I just saw you said a knob, I used a combo box, but it's the same concept for a knob.
@d-healey Is it ready to use it as an installer and send it to customers?
@Lindon said in Creating an Offline Authentication Method?:
Thank you! I’m working on implementing something similar based on this post.
Do I first need to create a set number of licenses (e.g., 4000) and then encrypt them all? Or is there a way to create a pattern that meets specific criteria, as you mentioned, without creating each string?
How do I encrypt all the strings? I assume it's with encryptWithRSA, but how should be done?
@mmprod Ok sorry, then you have to build the latest Hise develop branch
@mmprod Did you hit apply? It's working here.
@ustk Nice! Did you load Hise as an FX on your DAW? How did you do it? Or did you mean as an instrument?
@Christoph-Hart Oh got it, you can use Juce 6, but you have to follow the rules of Juce 8 (whatever starter, indie or pro)
@d-healey But do you have to follow the rules of Juce 6? (https://juce.com/legal/juce-6-license/) Because Juce 6 Personal (equivalent to Juce 8 Starter) required the splash screen, which is not used in Hise.
@d-healey that's a better idea. I think chatGPT also told me to email juce to be sure. So you went ahead :)
@d-healey haha right, but I was in doubt about the new free version of Juce, that sadly doesn't look to apply for us :(
@Sampletekk Hmm, I believe that only applies to JUCE 8. Since HISE uses JUCE 6, the Indie version was required in JUCE 6 regardless of income if you didn't use the splash screen (I asked ChatGPT about this a while ago).