I didn't find any solution for this...

Posts
-
RE: Midi Player Clock Sync (problem)
-
RE: Midi Player Clock Sync (problem)
think there's a problem with these functions...
void MainController::handleTransportCallbacks(const AudioPlayHead::CurrentPositionInfo& newInfo, const MasterClock::GridInfo& gi) { if(gi.resync) { DBG("test1"); // t reacts only when I press play from the DAW simulator... // when tempo is changed for(auto tl: tempoListeners) if(tl != nullptr) tl->onResync(newInfo.ppqPosition); } }
-
Midi Player Clock Sync (problem)
Hello guys,
I have a problem,
If I have a MIDI player and try to press play using startInternalClock(0), even though I have checked the "Prefer External" synchronization option, when I change the tempo from that DAW simulator in HISE, a desynchronization occurs. On the other hand, if I press play from that DAW simulator, even if I aggressively change the tempo, everything works perfectly, and there are no desynchronizations of that grid changer.
HiseSnippet 2170.3oc6YstaaibElzNLaj1Kc2hEE8WECB1enzXvnKN9xFzFc2R1x1xlJ9RP.1NhbnzrlZF5gijsxh.z929P0Gf9q9HzGg7Fr8LjTVTNLYy5lTrMaBPh8blyYNemybtMLcEbaRP.Wnoms2Tehl9mYXMkIGVaHlxzZWWS+KLjj.4tTGJrgsV0o93f.hilt9xao3QOyszB+yKebUrGlYSlSRS6HN0lzgNhJmSsa4cnddMwNjdzQI3d0xss4rZbO9X.OKajWyGaeFd.YOrhskLzZgCFpo+GMHtkbWesM2frZd7ltatpylE2rjyZXmhX6h4Ia55rd+hXrql9sa3PkbgkDCVgl9spxclZMjeAKRAGQCn88HpEEzr.MGQtI2yQYhJpZ0FR8b5NyQEnooazctaa4H21Wan7PWQet66KC2.MWhjNP8kVDdKu.7JjDd4S.uTfjdBHcqHH8UFV1Bpub9NJ77oFsYRhvEC2SIgRDuZK8OtsQMNvASZNBeFoo.VbkD4VKe9UPv+buGkM6Cd.xhHQ8DXVfOWHQsvLGOhHKbIFHQxYziIi9SnFrATFwzVP.ys201OGblWWFy.hrACCtfsDTmbRwXxJnh26QfpMMQQmCZDN.fGx1iaelh7Cd..szNIU76tbGRtWYytBhKQDZlLr2qAH+Th23xqDW4a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lJ3Z2TAW+lJ3F+zBpZzUYrjOJJ8WSa2tMB+3B55W8gOzWV6+.oSU.r.
-
RE: Does HISE Support FLAC Files in SampleMaps?
@Christoph-Hart and is hard to add this thing of Api :))? In my application, users import samples which create a temporary sample map that they can modify. After modifications, both the sample map and the WAV samples are copied to a custom folder. I need to know how to compress HLAC files in a temporary folder and then copy the ID.ch file to the custom folder
-
RE: Does HISE Support FLAC Files in SampleMaps?
Is there an API available in HISE for encoding user-created sample maps with HLAC ? I want users to be able to export their sample maps and save the encoded samples in a specific location...
-
Does HISE Support FLAC Files in SampleMaps?
Does HISE Support FLAC Files in SampleMaps?
Hi,
I'm trying to import a SampleMap with FLAC files in HISE, but the audio isn't working. Does HISE support FLAC file format for SampleMaps?
Thanks!
-
RE: Question About Sample Map Preloading...
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.
-
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