Marc-André Labelle, 30, Canada.
Musician, Composer, Creative coder.
Best posts made by marcLab
-
RE: The world of HISE
-
RE: Codesigning and Noterizing --- enter at your own risk....
@Natanr Absolutely! I'll find some spare time to do this as soon as possible
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
@d-healey Array.sortNatural();
Array.sort() doesn't sort strings if I'm not mistaking.
-
RE: Sliderpack default value funkiness
@ulrik reimported my initial snippet and now it's fine...
-
RE: Routing - DRY/WET send in series.
I think I have figured this out! I'll post a snippet when I'll be done.
-
RE: Switching stereo field.
@d-healey said in Switching stereo field.:
The number of lines doesn't always make much difference to the performance but it can make a different to maintenance, reuse, and debugging.
Trying to be PROFESSIONAL :P
-
RE: Switching stereo field.
HiseSnippet 1598.3oc6b1saaaCEGWJNpKwqoXsnWraFfZ1tvAoNUNwNc.Ys0INIEAKNwvJsX.EcELRz1DUlTPhJqYE898nrK2dC16wdI5av1gRxVeT2TGk90Vnunv7PdN7O+PmyOkfzNdLKruOySQc9iN0EqndUMySo7AsFfHTk81VQcNMeN1CyT15TWjuO1VQUszCE8pN+rJged8C1B4fnV3DSJJOlQrv6SFR3IV6z7GINN6hrwGQFlZz0atmEi1h4vB.kTRyPwEY8bTe7AHwvlQSQ8J6XS3LOSNhi8UTmcKl8olCX+BMZ7Ol3SN1AKZTSwDBTj4cYN1BEK9tRqADG6NiVw9JJpk6jr9KEs9uoVahMYr8j8guJrC8DORuenNyYIuZokmwDkWsIIO0Txa1H4ccMSKOhKOoGg19Rs8nvgTODbDjVVQiUYleujVKFLBJekgnmi20CZL1iJqaXba8FFFKswBkWnLbP3y0O3Qsel4ls6r+Nc0um95o54XN0L7BAX+IOciQl8QCccvdsQbOxKF00Bk6w7zqPtmwFjeHUH2fr7xKsP4WtPYc3Sz+lI.Og7THFg2DWoOl2kEvIz9Q8UYQyngt3xUHKWaIgrSByX4shaf+fJiV1PPZwF5xnPiJKNdPKtLYr+iMBS9J9hwS4dLmVHGmigaiUDKSQ26RvN1wcJ78Uh0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I8UZef5PHInDXAHmVURNIImjjSRxoK.4zpRxII4jjbRRNcohbZsKGjSu9ARxooibR7qXOGXzbuGAixBFjZnuUJo2wuZbIwzmLho0jDSRhIIwjjX5REwTcIwjjXRRLIIlJ.wTcIwjjXRRLIIltTQL0PRLIIljDSRhoBPL0PRLIIljDSRhoKUDSqKIljDSRhIIwTAHlVWRLIIljDSRho+CSLUHUpbVpT8MT4PjkG6YVQ+U5Jz5bgV.URC++Zh40ZKZqO9uPYMMiULTFB0pdlkk3AgpvN7j8Y0B3yZEvm5EvmFEvm0KfO2s.978moOBLgMC3rgQIIACc1I5hk5NiuXUR4eA.erEXN
-
RE: Switching stereo field.
@d-healey damn, my brain hurts a little bit..
-
RE: Factory vs. User Presets
@d-healey If we can't do it dynamically with Content.setPropertiesFromJSON, then you can always put a panel over it (Save Preset) and play with "visible" true/false to hide the panel. It's a bit sketchy. But it's an idea.
Latest posts made by marcLab
-
RE: The world of HISE
Marc-André Labelle, 30, Canada.
Musician, Composer, Creative coder. -
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
EX:
const masterIRReverb = Synth.getAudioSampleProcessor("masterIRReverb"); inline function loadIR(filename) { masterIRReverb.setFile("{PROJECT_FOLDER}" + "ir/" + filename + ".wav"); }
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
@d-healey Array.sortNatural();
Array.sort() doesn't sort strings if I'm not mistaking.
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
@d-healey Yep, i'm testing right now.
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
Technically, .setFile is a path. So I could bypass
cmbIR.set("items", irs.join("\n")); // Populate dropdown
and add items by hand in the Combobox.
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
@d-healey Yeah! But the problem is that they also change place when compiling...very strange. I don't get the same result in Hise and in Reaper let's say..so I think something is happening when compiling
-
RE: Order of IR in Combobox not in the same order after export. Am I the only one?
@Christoph-Hart So it's a problem with JUCE then? I'm not crazy?
-
Order of IR in Combobox not in the same order after export. Am I the only one?
Here's in the audio file folder :
Here's in Hise (right order):
Here's the exported Vsti (strange order)
The order is also different on MAC.
Any thoughts?
This is how the combobox is populated with the names :
// Pool audio files const audioFiles = Engine.loadAudioFilesIntoPool();
// Get a list of irs const var irs = []; for (a in audioFiles) { if (a.indexOf("ir/")) //Impulse responses will be in ir folder { var ir = a.substring(a.indexOf("ir/") + 3, a.lastIndexOf(".")); irs.push(ir); } }
// cmbIR const var cmbIR = Content.getComponent("cmbIR"); cmbIR.set("items", irs.join("\n")); // Populate dropdown inline function oncmbIRControl(component, value) { local filename = component.getItemText(); loadIR(filename); }; Content.getComponent("cmbIR").setControlCallback(oncmbIRControl);
inline function loadIR(filename) { masterIRReverb.setFile("{PROJECT_FOLDER}" + "ir/" + filename + ".wav"); }
Maybe Engine.loadAudioFilesIntoPool(); is loading the files in a different order, because it's more desorganized on mac?