@ustk said in Making standalone app with offline/batch features?:
... I don't think it is possible to batch or treat offline using a scriptnode graph. But I reckon SNEX can use the nodes in code so there might be a possibility to use them offline too.
Thanks, yes I dug a bit into the api on docs.hise.audio and found a few things perhaps able to take care of some of it.
Standard Hise API:
File.createDirectory, File.getChildFile, File.getParentDirectory, File.show -- link -- check, check, check & check. AudioFile.loadFile -- link Engine.loadAudioFileIntoBufferArray -- link -- "Loads a file and returns its content as array of Buffers." -- perhaps able to do the data store.In the Scriptnode List of Nodes I found control.file_analyser, (link 📖), which surely must do it's job offline. Perhaps there is a way to cue samples (blocks of samples) to be run through any module or chain? Then there's the core.file_player, (link 📖), which also handles audio files possibly offline. Both of these though are farily simple modules with no extras in the docs. The docs are void of any descriptions of the Scriptnode list of nodes, at least on the committed docs.
Perhaps it is something one has to code yourself in SNEX as you say, but then perhaps the real idea is to have a processor handle all things hise in offline mode. Not even beginner in C or C++ so would not know where to start. The method could be to pipeline all audio blocks in an array of files through the code. Haha. Just stuff it in there, nice and thick. 😬