I made a screen recording that shows what this custom sample map contains. It is for different sample folders, allowing users to import samples and create a custom sample map for their samples.
Posts made by deniskorg
-
RE: Question About Sample Map Preloading...
-
RE: Question About Sample Map Preloading...
@d-healey the purpose of my proj is the user to use vst in live performance ,
for keyboard or midi accordion(very popular in my country),
i wanted to know if exist a solution to change sample map without kill audio engine,
because in our music style the samples sound it changes very often,
and that time of preloading is a problem, I thought I could somehow do the preloading in another sampler without killing the current sampler. -
RE: Question About Sample Map Preloading...
@d-healey said in Question About Sample Map Preloading...:
Is the purpose to switch between articulations?
no, not for articulationsi put a video with project,
and I've been stuck for a while, because I relied on that lazyload, but I didn't test on large samples, and I continued to work without thinking about this problem that I won't be able to quickly change samplemaps, and I thought that I would could somehow in the background task do preloading in another sampler, while the other modules don't stop
-
RE: Question About Sample Map Preloading...
@d-healey my project is a samples player... in my country , Romania, is very used that samples module Juzi Sound, and i want to create same with hise...for live keyboard players, and it needs to change quickly that preset without affect live playing... and i not use hlac compression, because, users can modify samples from a sample map, combine them, modify name, import new Samples, Create new Sample map, etc...like JuziSound.
-
RE: Question About Sample Map Preloading...
@d-healey I understand, thank you! so the solution for me is to use it lazyload and small samples( because with lazyload , for large sample , is sound weird), to change that samplesmap almost instantly
-
Question About Sample Map Preloading...
i have 2 samplers, i change samplemap for sampler1, sampler 2 stops playing, and after preloading from sampler1 is finished, both of them is playing! I want to know if exist a method to make that preloading without affect others samplers...
-
RE: How to ignore file.loadAsObjec(), if file is not a valid json
And David...maybe I'm wrong somewhere but if i use this
const ARR_TEST = [1, 2, 3];
if(ARR_TEST.length !== 3)
Console.print("test");but if i use this it work
if(parseInt(ARR_TEST.length) !== 3)
Console.print("test"); -
RE: How to ignore file.loadAsObjec(), if file is not a valid json
i use return -1 :)) because this check func is used in other func and and i get numbers for diff errors, and other things
/// This if statement isn't needed
if (typeof file !== "object" || file == undefined || file == null) return -1;I thought it was a problem for that file and that's why I was getting an error at loadAsObject,
but your version is a working method ... with loadAsString , and after parseAsJson,THANK YOU
-
RE: How to ignore file.loadAsObjec(), if file is not a valid json
thank you David ,
local s = file.loadAsString();
local obj = s.parseAsJSON();if i use this it work
-
RE: How to ignore file.loadAsObjec(), if file is not a valid json
and for more context this is in the invalid file :
{
"bankCC": [
-1
-1
]
}that comma is missing
-
RE: How to ignore file.loadAsObjec(), if file is not a valid json
parseInt(objFile.bankCC.length) == 0 for this... i need to use parse int, only in that way is work
is a bug or ? -
RE: How to ignore file.loadAsObjec(), if file is not a valid json
inline function checkFileAssignBankCC(file) { if(!file.isFile()) return -1; if(typeof file !== "object" || file == undefined || file == null) return -1; local objFile = file.loadAsObject(); if (!isDefined(objFile)) objFile = ""; if(!isDefined(objFile.bankCC)) return -1; if(parseInt(objFile.bankCC.length) == 0 || parseInt(objFile.bankCC.length) !== 14) return -1; for(i = 0; i < objFile.bankCC.length; i++) { if(typeof i !== "number") return -1; }; return true; };
-
RE: How to ignore file.loadAsObjec(), if file is not a valid json
not working
... I also tried this option, and I get the same error on the line where loadAsObject is -
How to ignore file.loadAsObjec(), if file is not a valid json
local objFile = file.loadAsObject() == null ? "" : file.loadAsObject();
in this example, if user use a file is not valid json, my code can't ignore that file...
i get a syntax error "settingsGlobBankAssignCC.js (26): 11:5: error: Expected ',' or ']'
and i want if file is not a valid json , get a empty string...and recreate that file...
Hope I made myself understood. -
copy a directory folder
Is it possible to copy a directory folder? With that file API, I can only copy individual files.
-
RE: Note Release - randomly gets stuck
@deniskorg said in Note Release - randomly gets stuck:
@Adam_G I had a similar problem with stuck notes in flstudio, my solution, in options-audio settings , check allign tick length...for me it worked
by checking that option you will also avoid the problem with some notes that were skipped when a midi is played
-
RE: Note Release - randomly gets stuck
@Adam_G I had a similar problem with stuck notes in flstudio, my solution, in options-audio settings , check allign tick length...for me it worked