Haha the easter bunny has delivered.
-
Hi guys, I finally have some time to try loris but when loading the test project, HISE crashes and I get this error in Xcode :
// Yes, I know it's legal for a unix pathname to contain a backslash, but this assertion is here // to catch anyone who's trying to run code that was written on Windows with hard-coded path names. // If that's why you've ended up here, use File::getChildFile() to build your paths instead. jassert ((! p.containsChar ('\\')) || (p.indexOfChar ('/') >= 0 && p.indexOfChar ('/') < p.indexOfChar ('\\')));
Ok I understant whant that means but I have no clue about how to solve it...
It happens on PC tooI'm on the commit from July 18th
-
@Christoph-Hart I'm attempting to compile the loris toolbox project but I'm getting some errors about
snex::jit::String
.In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:95, from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9: /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:143:63: error: ‘snex::jit::String’ has not been declared 143 | juce::var ScriptLorisManager::createEnvelopes(juce::var file, snex::jit::String parameter, int harmonicIndex) | ^~~~ /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:143:11: error: no declaration matches ‘juce::var hise::ScriptLorisManager::createEnvelopes(juce::var, int, int)’ 143 | juce::var ScriptLorisManager::createEnvelopes(juce::var file, snex::jit::String parameter, int harmonicIndex) | ^~~~~~~~~~~~~~~~~~ In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:64, from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9: /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.h:76:9: note: candidate is: ‘juce::var hise::ScriptLorisManager::createEnvelopes(juce::var, juce::String, int)’ 76 | var createEnvelopes(var file, String parameter, int harmonicIndex); | ^~~~~~~~~~~~~~~ /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.h:38:7: note: ‘class hise::ScriptLorisManager’ defined here 38 | class ScriptLorisManager: public ConstScriptingObject, | ^~~~~~~~~~~~~~~~~~ In file included from /media/dave/Work/Tools/HISE/hi_scripting/hi_scripting_01.cpp:95, from ../../JuceLibraryCode/include_hi_scripting_01.cpp:9: /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:156:67: error: ‘snex::jit::String’ has not been declared 156 | juce::var ScriptLorisManager::createEnvelopePaths(juce::var file, snex::jit::String parameter, int harmonicIndex) | ^~~~ /media/dave/Work/Tools/HISE/hi_scripting/scripting/api/ScriptLorisManager.cpp:156:11: error: no declaration matches ‘juce::var hise::ScriptLorisManager::createEnvelopePaths(juce::var, int, int)’ 156 | juce::var ScriptLorisManager::createEnvelopePaths(juce::var file, snex::jit::String parameter, int harmonicIndex)
Also I notice that the latest version of tool box doesn't work in the latest version of HISE. It always synthesises 0 partials, and the preview playback doesn't work with the short samples (cymbals for instance), but does with the longer ones.
-
@Christoph-Hart Loris toolbox is still broken
-
what happened to Loris? if i uncheck Preserve Noise it just synthesizes nothing now
i haven't touched HISE in 6 months so I'm not sure which commit(s) to rollback to get everything playing nice
-
@iamlamprey yeah it's broken, see my post above
-
@d-healey reverting to the 2.0 version of Loris fixed it for me, thankfully i had that backed up
let me know if you need the dll
-
@iamlamprey Do you have the link?
-
@d-healey I think I will have to include loris with a preprocessor flag into HISE directly. This entire DLL thing is not working, it‘s a pain for Faust and the DSP networks but necessary, however here it‘s just annoying.
-
https://github.com/christophhart/loris-tools/releases
version 2.0 is the one that worked for me -- if you get the error about declaring const in an inline function, change it to a regular function and everything should work afterwards
-
@iamlamprey Just got around to testing this, 2.0 worked for me too.
-
@d-healey sweet. have you figured out what the createEnvelopes() method is for? like can we attach that to an adsr or something
https://docs.hise.audio/scripting/scripting-api/lorismanager/index.html#createenvelopes
-
@iamlamprey I haven't used it, but if you search this page for the word envelope I think it may give some explanation - http://www.cerlsoundgroup.org/Loris/LorisModelingInC.html
-
@d-healey said in Haha the easter bunny has delivered.:
@iamlamprey Just got around to testing this, 2.0 worked for me too.
@Christoph-Hart 0.2.0 works for the Loris Toolkit but 0.2.2 is needed for the wavetable converter.
-
What does
enablecache
do? -
@d-healey It skips the reanalysis for files that have been analyses once (per runtime, there is no persistent cache). This improves some workflows a bit where you want to analyse once and then apply different functions on the analysed data.
Btw I‘ve changed the Loris integration to be included in the HISE build so you don‘t have to do this dynamic library hassle anymore (it‘s painful enough with Faust but I think here it is not really required). Does it work on Linux? I‘ve just tested Win and macOS.
-
@Christoph-Hart The latest develop isn't compiling on Linux or MacOS - https://forum.hise.audio/topic/9036/hise-build-error
-
@d-healey oops didn‘t see that, but weird HISE builds here (but maybe I haven‘t pulled the latest changes). Will sort it out today.
-
I'm seeing a strange thing when I try to set the window width.
Interface: Set option windowwidth with value "0.5" sample_processor:! Invalid option: windowwidth
So it's setting the window width and then complaining that it's not a valid option.
I'm also seeing this when trying to set any option other than
timedomain
orfreqdrift
analyzer_configure must be called before any other analyzer function.