@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.
@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)
@Lindon Mm, I wasn't there either.
I had forgotten to type "faust" in the "external libraries to link" configuration of Xcode (macOS). Now I get error as soon as it starts to compile.
@dannytaurus Mm maybe it's because of Xcode 16. I'm using M2 with 8GB and I can compile in 5 minutes using xcode 15.2.
@Oli-Ullmann I think you could make something like this inside onNoteOn()
function onNoteOn()
{
var note = Message.getNoteNumber();
if (note < 0 || note > 127)
{
Engine.showMessageBox("Invalid Note", "Note number must be between 0 and 127.", 0);
}
}
For some reason, getNoteNumber only shows me up to 120, but maybe it's because of my keyboard.
@Lindon Well, if Microsoft had something like that to sign the installers at that price it would be great :) Licenses sold by resellers are much more expensive.
@Mighty23 This is the way to do it: https://forum.hise.audio/topic/3247/notarisation-for-dummies/93?_=1725385652914 The post from Orange is the most complete one I found. The only thing that is outdated is in point 5, you have to use notarytool instead of altool.
@Orvillain said in Is it possible to bundle all samples in the plugin?:
How do you do this out of interest?
Insert this into Extra Definitions
HISE_SAMPLE_DIALOG_SHOW_INSTALL_BUTTON=0
HISE_SAMPLE_DIALOG_SHOW_LOCATE_BUTTON=1
And then you just deliver the folder with the monolith files inside.
@dannytaurus Do you mean putting all the samples inside the .vst3 or component file?
The "Embed Audio Files" setting makes the IR samples to be loaded with the plugin. However, it is not recommended for large files, since it will increase CPU.
You cannot send the samples (from the sampler) with the plugin.
@DanH Thanks. I also just realized that it only happens with Vel Mod inside Global Modulators. In my case I can use Velocity Modulators directly in the Samplers and it works ok.
@CyberGen Thanks, it worked. It's as if the wavetable conversion were capturing a longer SampleEnd than the real one and "recording" an empty space. Seems like a bug.
@gorangrooves Mm, I think that the warnings are not the problem, but rather the error that indicates that there are two linked parameters without the "Meta Parameter" tag.
I'm no expert, but I had problems with Logic in the past and ended up removing all the linked parameters.