HISE Logo Forum
    • Categories
    • Register
    • Login

    Haha the easter bunny has delivered.

    Scheduled Pinned Locked Moved General Questions
    loris
    99 Posts 10 Posters 7.7k Views
    Loading More Posts
    • Oldest to Newest
    • Newest to Oldest
    • Most Votes
    Reply
    • Reply as topic
    Log in to reply
    This topic has been deleted. Only users with topic management privileges can see it.
    • ?
      A Former User @Christoph Hart
      last edited by

      @Christoph-Hart said in Haha the easter bunny has delivered.:

      @iamlamprey I'm currently extending the Loris API to include the more advanced functions like collate, distill and sift (love the names), they do address the problem of having too many partials, but as David said, if you reduce them to a common denominator the sound gets a bit more static.

      Would these extra functions be hard for me to implement? I know you're busy with the MIR stuff atm

      hisefiloH 1 Reply Last reply Reply Quote 1
      • hisefiloH
        hisefilo @A Former User
        last edited by

        @iamlamprey also waiting for it! Fingers crossed

        1 Reply Last reply Reply Quote 1
        • ?
          A Former User
          last edited by

          New commit does what I was trying to do much better:

          //make a var outside the rebuild function's scope
          var frequencies; // probably use a better name
          
          lorisManager.analyse(CURRENT_FILE, rootFreq); // line 125 in LorisProcessor.js
          		
          frequencies = lorisManager.createSnapshot(CURRENT_FILE, "frequency", 0.1); // new method
          

          the string parameters are "frequency", "gain", "phase" and "bandwidth", the time parameter is in seconds

          The method returns an array you can inspect:

          d6d1b4bf-bbdb-4ca1-b4f5-9b928c405d65-image.png

          Once the dilate stuff is ready (if it's not already, i haven't checked) it should be pretty simple to reconstruct the sound in a SNEX node, I think the real CPU struggle will be polyphony...

          LindonL 1 Reply Last reply Reply Quote 0
          • LindonL
            Lindon @A Former User
            last edited by

            @iamlamprey even monophonic would be good..

            HISE Development for hire.
            www.channelrobot.com

            1 Reply Last reply Reply Quote 0
            • D
              dxmachina
              last edited by

              I haven't been able to get this working lately on my Apple Silicon system (tried native and Rosetta). I did try the latest release dylibs as well as pulling the source and compiling myself. In both cases it's getting caught on:

              a5877873-9875-4995-aa4f-48054f0c9b54-CleanShot 2023-07-11 at 12.03.04@2x.png

              So getting the "Can't open Loris DLL" message ultimately. I even tried signing the dylibs to avoid that quagmire... so the files are accessible anyway.

              I've verified it's trying the correct path on my system, the files are in place.

              I was able to build the toolkit project despite this, but it's complaining about function pointers when trying anything.

              Would love to get Loris working again. Any ideas?

              1 Reply Last reply Reply Quote 0
              • Matt_SFM
                Matt_SF
                last edited by Matt_SF

                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 too

                I'm on the commit from July 18th

                @Christoph-Hart 😉😉

                Develop branch
                Win10 & VS17 / Ventura & Xcode 14. 3

                1 Reply Last reply Reply Quote 0
                • d.healeyD
                  d.healey
                  last edited by d.healey

                  @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.

                  Libre Wave - Freedom respecting instruments and effects
                  My Patreon - HISE tutorials
                  YouTube Channel - Public HISE tutorials

                  1 Reply Last reply Reply Quote 0
                  • d.healeyD
                    d.healey
                    last edited by

                    @Christoph-Hart Loris toolbox is still broken

                    Libre Wave - Freedom respecting instruments and effects
                    My Patreon - HISE tutorials
                    YouTube Channel - Public HISE tutorials

                    1 Reply Last reply Reply Quote 0
                    • ?
                      A Former User
                      last edited by

                      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 😐

                      d.healeyD 1 Reply Last reply Reply Quote 0
                      • d.healeyD
                        d.healey @A Former User
                        last edited by

                        @iamlamprey yeah it's broken, see my post above

                        Libre Wave - Freedom respecting instruments and effects
                        My Patreon - HISE tutorials
                        YouTube Channel - Public HISE tutorials

                        ? 1 Reply Last reply Reply Quote 0
                        • ?
                          A Former User @d.healey
                          last edited by

                          @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

                          d.healeyD 1 Reply Last reply Reply Quote 1
                          • d.healeyD
                            d.healey @A Former User
                            last edited by

                            @iamlamprey Do you have the link?

                            Libre Wave - Freedom respecting instruments and effects
                            My Patreon - HISE tutorials
                            YouTube Channel - Public HISE tutorials

                            Christoph HartC ? 2 Replies Last reply Reply Quote 0
                            • Christoph HartC
                              Christoph Hart @d.healey
                              last edited by Christoph Hart

                              @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.

                              1 Reply Last reply Reply Quote 1
                              • ?
                                A Former User @d.healey
                                last edited by

                                @d-healey

                                Link Preview Image
                                Releases · christophhart/loris-tools

                                A collection of sample analysis tools for HISE based on the Loris library - Releases · christophhart/loris-tools

                                favicon

                                GitHub (github.com)

                                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

                                d.healeyD 1 Reply Last reply Reply Quote 1
                                • d.healeyD
                                  d.healey @A Former User
                                  last edited by

                                  @iamlamprey Just got around to testing this, 2.0 worked for me too.

                                  Libre Wave - Freedom respecting instruments and effects
                                  My Patreon - HISE tutorials
                                  YouTube Channel - Public HISE tutorials

                                  ? d.healeyD 2 Replies Last reply Reply Quote 0
                                  • ?
                                    A Former User @d.healey
                                    last edited by

                                    @d-healey sweet. have you figured out what the createEnvelopes() method is for? like can we attach that to an adsr or something

                                    Link Preview Image
                                    HISE | Docs

                                    favicon

                                    (docs.hise.audio)

                                    d.healeyD 1 Reply Last reply Reply Quote 0
                                    • d.healeyD
                                      d.healey @A Former User
                                      last edited by

                                      @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

                                      Libre Wave - Freedom respecting instruments and effects
                                      My Patreon - HISE tutorials
                                      YouTube Channel - Public HISE tutorials

                                      1 Reply Last reply Reply Quote 0
                                      • d.healeyD
                                        d.healey @d.healey
                                        last edited by

                                        @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.

                                        Libre Wave - Freedom respecting instruments and effects
                                        My Patreon - HISE tutorials
                                        YouTube Channel - Public HISE tutorials

                                        1 Reply Last reply Reply Quote 0
                                        • d.healeyD
                                          d.healey
                                          last edited by

                                          What does enablecache do?

                                          Libre Wave - Freedom respecting instruments and effects
                                          My Patreon - HISE tutorials
                                          YouTube Channel - Public HISE tutorials

                                          Christoph HartC 1 Reply Last reply Reply Quote 0
                                          • Christoph HartC
                                            Christoph Hart @d.healey
                                            last edited by

                                            @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.

                                            d.healeyD 1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            19

                                            Online

                                            1.7k

                                            Users

                                            11.9k

                                            Topics

                                            103.4k

                                            Posts