Marc, 52, Remscheid-Germany, Musican, Composer, Sound engineer, Graphic & Communication designer, Eroder-Toolmaker and
absolute programming novice ... Code has no ears

Posts
-
RE: The world of HISE
-
RE: Imported user samples in Audio Loop Player are not saved in the preset
I still have something to learn
I started with HISE in february with zero knowledge
I am a musician and not a programmer but willing to learn.
I know about GUI design and how to build buttons or knobs, but programming is completely new territory for me.
I just wanted to build something that I was missing somewhere else.
When you're over 50, some things are simply more difficult, especially when it comes to something completely new.
However, I am very happy about the helpfulness in this forum, which is not the case everywhere.
Therefore, I apologize for a few stupid questions that are sure to come -
RE: Imported user samples in Audio Loop Player are not saved in the preset
@d-healey said in Imported user samples in Audio Loop Player are not saved in the preset:
Maybe, but is it all in one file?
almost everything, except for a few scripts
I have already included themafter the first tests the monster runs absolutely stable
over 16 instances are no problem and the vst3 has a little over 100mb
tested on 2 workstations and one laptop and 4 daws with no problems -
RE: Imported user samples in Audio Loop Player are not saved in the preset
try it
any solution that reduces the size of the monster is fine with me -
RE: Imported user samples in Audio Loop Player are not saved in the preset
@d-healey said in Imported user samples in Audio Loop Player are not saved in the preset:
I think your code could use some structural changes to make it easier to manage.
4 Synth Groups with wavetable synth, modulation for wavetables, unison and detune, 2 filters and 4 modulators, eq, delay and arp for each!!!
1 sub osc - the same
4 sample slots with filter`s and 3 modulators, eq and arp for each!
synced delay and filter knobs for hz and tempo
linked and unlinked controlls
9 saturation fx slots, 4 fx send with mods
master section to controll everything under the hood with every knob in sync in realtime
over 42 synced knobs and functions on different panels
tons of filmstrips, over 300 wavetables in lists and so on
hmmmmmm, the code ist currently not yet adjusted
i thik 5000 is ok -
RE: Imported user samples in Audio Loop Player are not saved in the preset
you need to populate your irs array
like ....
const itemList = ["IR1",
"IR2,];
and so on? -
RE: Imported user samples in Audio Loop Player are not saved in the preset
somehow it seems as if the one doesn't want the other as soon as i set a specific filter like
for (x in irs)
LoadIR.addItem(x.replace("{PROJECT_FOLDER}") -
RE: Imported user samples in Audio Loop Player are not saved in the preset
with over 5200 lines, troubleshooting is a little complicated
but i think i have it why i need both
i set
"const irs = Engine.loadAudioFilesIntoPool();"
to
"// const irs = Engine.loadAudioFilesIntoPool();"
and .....for (x in irs)
LoadIR.addItem(x.replace("{PROJECT_FOLDER}").replace(".wav", " (IR by ZIA)").replace("VINYL.flac").replace(".flac"));shows:
! Line 38, column 14: no iterable type
and the ComboBox is empty -
RE: Imported user samples in Audio Loop Player are not saved in the preset
Just by the way
is there actually a way to display an editable info panel for each preset
where the user can also enter his information? -
RE: Imported user samples in Audio Loop Player are not saved in the preset
whoaaa, what a mess
at 1st i definitely need both of them
Engine.loadAudioFilesIntoPool(); and const irs = Engine.loadAudioFilesIntoPool();
but, I have the solution
when i open the vst, i have to re-reference all samples and then save them with the vst again.
If i do this only in HISE the compiled vst does not load the samples.
if i remove "Engine.loadAudioFilesIntoPool();" from the script
the vst does not load the files from the sample folder, only the irs
if i remove "const irs = Engine.loadAudioFilesIntoPool();" from the script
all audio files are displayed in the ComboBox .... crazy
is a bit annoying now, but the problem seems to be solved, at least for the time being -
RE: Imported user samples in Audio Loop Player are not saved in the preset
samples
I'll try that with the wav files
is worth a try .....
however, importing FLAC is of little use to the user if it does not work -
RE: Imported user samples in Audio Loop Player are not saved in the preset
as an end-user myself, would i like to be able to simply drag and drop my samples from anywhere and save them?
-
RE: Imported user samples in Audio Loop Player are not saved in the preset
this is exactly where the problem lies
as soon as the βfiles1β folder is in the sample folder
it does not load the samples
I have already tried everything I could think of
HISE runs fine, but if the vst3 saves this in the preset, but the next time it is started, everything is gone again -
RE: Imported user samples in Audio Loop Player are not saved in the preset
const LoadIR = Content.getComponent("LoadIR");
inline function onLoadIRControl(component, value)
{
if (value > 0)
ConvolutionReverb1.setFile(irs[value - 1]);
};Content.getComponent("LoadIR").setControlCallback(onLoadIRControl);
LoadIR.set("items", "");
for (x in irs)
LoadIR.addItem(x.replace("{PROJECT_FOLDER}").replace(".wav", " (IR by)").replace("VINYL.flac").replace(".flac")); -
RE: Imported user samples in Audio Loop Player are not saved in the preset
I know, that was an attempt, but I have a problem here
what can I do so that the folder with the samples does not appear in the ComboBox of the reverb? -
RE: Imported user samples in Audio Loop Player are not saved in the preset
@d-healey
I have already done this for samples and irs
// SAMPLES
Engine.loadAudioFilesIntoPool();
// SAMPLES END
// IR REVERB
const var ConvolutionReverb1 = Synth.getAudioSampleProcessor("Convolution Reverb1");
//preload all audio files into hise
const irs = Engine.loadAudioFilesIntoPool();The preset file content:
User Preset
type="ScriptAudioWaveform" id="ScriptAudioWaveform1" value="0.0"
data="C:\Users\username\AppData\Roaming\PlugIn\pluginname\AudioFiles\files1\IMP_MONO_V1.flac"
HISE Preset
type="ScriptAudioWaveform" id="ScriptAudioWaveform1" value="0.0"
data="{SAMPLE_FOLDER}files1/IMP_MONO_V1.flac" -
RE: Imported user samples in Audio Loop Player are not saved in the preset
The path is correct
The path in HISE itself and also the path in the user preset
I checked both preset files
In HISE the samples are also reloaded directly, but not in the vst version.
The waveform window remains empty -
Imported user samples in Audio Loop Player are not saved in the preset
After restarting vst3, vst2 or standalone, all files (wav/flac) imported by the "user" in the AudioLooper have disappeared.
The file names are still displayed, but the samples are not loaded.
Do I have to activate something here?
Or does this have to be built in via script? -
RE: Is there a way to connect the Saturation PreGain and PostGain controls
@ustk @Lindon
WOW - thanks !!! .setValueNormalized() was the last thing that came into my mindRUNS PERFECT
HiseSnippet 1068.3ocuV0saaaCElx1ZYVsaXEX.6tUgbkxPcpjbRpKBFlabR1L5RpwbW5tqflh1lvRjBTTsyanWtmq5Gk9Hr2fLRIYK5D6jL2sZAXfyOe77cH44bXONCgSRXbfg0KmFiAF22r+TpXbmwPBEz8XfwCMi43FwrDQiQRcMBIzID5nFoTNFFLEbzzXXRBN.XXT8GUfLpWCj86u+gifgPJBWpB.tfQP3elDQDkZ6094jvvSgA3WRhz7du1cQLZGVHKURvpltfXHZBbD9bnxsJlfeBlLFX7cl99CQsbca0r49tPXy.HbOObymhGdvPz9tO0MXv9txuC.Fe1IADAi2W.E3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