HISE Logo Forum
    • Categories
    • Register
    • Login

    Haha the easter bunny has delivered.

    Scheduled Pinned Locked Moved General Questions
    loris
    99 Posts 10 Posters 7.4k 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.
    • d.healeyD
      d.healey @ustk
      last edited by

      @ustk said in Haha the easter bunny has delivered.:

      But in the end, I need a Hise-embedded solution for analysing input recordings (non real-time)

      For use in HISE or in your compiled projects?

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

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

        @d-healey Compiled project.
        Since the sampler's sample editor can show the partials already, the analysis might not be far from being ported as an API, or even is already possible and I don't know...

        Can't help pressing F5 in the forum...

        ustkU d.healeyD 2 Replies Last reply Reply Quote 0
        • ustkU
          ustk @ustk
          last edited by ustk

          @ustk In the end I just want a list of partials, let say the first 8th ones, and their level... Like for additive synthesis but it's not what I plan to do.

          Can't help pressing F5 in the forum...

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

            @ustk

            Compiled project

            Since Loris is GPL it can only be embedded in a GPL project so you might be out of luck.

            a7c58864-97c3-495c-a64b-f3ca431a7dba-image.png

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

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

              @d-healey oh I thought it was just the real-time capability that was GPL only, not everything...

              Can't help pressing F5 in the forum...

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

                @ustk The entire library, as far as I know there is no specific real-time stuff and based on what Christoph was saying earlier it wouldn't be fast enough for real-time processing.

                Now you have another great reason to use the GPL for your software :)

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

                ustkU 2 Replies Last reply Reply Quote 0
                • ustkU
                  ustk @d.healey
                  last edited by

                  @d-healey 🤣

                  Can't help pressing F5 in the forum...

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

                    @d-healey Since I just need a partial list it might not be the simpler tool anyway.
                    And if the sampler can draw them it should be possible. I reckon there's a 2DSpectrum thingy in the FFT already so getting a data object should be pretty simple to add for "who is not me" :)

                    EDIT: In fact, I'm sure it's already there because we can get all bins from an FFT, I just have to somehow filter out the one I need...

                    Can't help pressing F5 in the forum...

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

                      @ustk I use audacity and then export the list to csv, open in a spreadsheet, and filter the data. Might be too slow though if you have a lot of samples

                      ac264fce-27a0-494d-933d-54c6740ac435-image.png

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

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

                        @d-healey Yeah but remember it has to be doable in a compiled project in the end ;)

                        Can't help pressing F5 in the forum...

                        LindonL 1 Reply Last reply Reply Quote 1
                        • LindonL
                          Lindon @ustk
                          last edited by

                          @ustk cant you use Loris in HISE to generate the SDIF file and then some other (not open source) process to read the partials from the SDIF?

                          HISE Development for hire.
                          www.channelrobot.com

                          LindonL 1 Reply Last reply Reply Quote 1
                          • LindonL
                            Lindon @Lindon
                            last edited by

                            @Lindon what format is the SDIF file?

                            HISE Development for hire.
                            www.channelrobot.com

                            ustkU 1 Reply Last reply Reply Quote 0
                            • ustkU
                              ustk @Lindon
                              last edited by ustk

                              @Lindon Don't you know what an SDIF file is, Lindon? Because... well... I don't... :)

                              WikiWiki:
                              "SDIF, "Sound Description Interchange Format" is a standard for the well-defined and extensible interchange of a variety of sound descriptions."

                              Can't help pressing F5 in the forum...

                              LindonL hisefiloH 2 Replies Last reply Reply Quote 0
                              • LindonL
                                Lindon @ustk
                                last edited by

                                @ustk its the partials analysis produced by loris analyse - essentially the sines and their envelopes that (when combined) re-generate your original audio...

                                HISE Development for hire.
                                www.channelrobot.com

                                ustkU 1 Reply Last reply Reply Quote 2
                                • ustkU
                                  ustk @Lindon
                                  last edited by

                                  @Lindon A nice idea indeed, if it's authorised by the license

                                  Can't help pressing F5 in the forum...

                                  Christoph HartC 1 Reply Last reply Reply Quote 0
                                  • Christoph HartC
                                    Christoph Hart @ustk
                                    last edited by

                                    @ustk you can also build an open source analyser app that stores the data in a format that you can define yourself so you don‘t have to come up with an SDIF parser.

                                    ustkU 1 Reply Last reply Reply Quote 1
                                    • ustkU
                                      ustk @Christoph Hart
                                      last edited by

                                      @Christoph-Hart I just need to get the harmonics from any FFT solution so let stay simple, especially since Hise probably has everything I need at some modifications away :)

                                      Can't help pressing F5 in the forum...

                                      1 Reply Last reply Reply Quote 0
                                      • hisefiloH
                                        hisefilo @ustk
                                        last edited by

                                        @ustk https://sourceforge.net/projects/sdif/files/sdif/SDIF-3.11.4/SDIF-3.11.4-src.zip/download

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

                                          @ustk said in Haha the easter bunny has delivered.:

                                          It crashes on mac with a mouseUp in the upper previewPanel so I changed this

                                          Engine.playBuffer("", "", 0.0);
                                          

                                          into this

                                          Engine.playBuffer([], "", 0.0);
                                          

                                          I had the same issue on Windows, thanks for the easy fix :)

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

                                            I've written a temporary method for the Save button, for those of you just as impatient as me :) :

                                            const var SuffixLabel = Content.getComponent("SuffixLabel");
                                            
                                            inline function onSaveButtonControl(component, value)
                                            {
                                            	if (value)
                                            	{
                                            		//Grab suffix
                                            
                                            		local suffix = SuffixLabel.get("text");
                                            		local fileName = LorisProcessor.CURRENT_FILE.toString(1);
                                            		local audioFilesDirectory = FileSystem.getFolder(FileSystem.AudioFiles);
                                            
                                            		//Write buffer to audio
                                            
                                            		local bufferToWrite = LorisProcessor.ooo;
                                            
                                            		local fileToExport = audioFilesDirectory.getChildFile(fileName + "_" + suffix + ".wav");
                                            
                                            		local isMultiChannel = isDefined(bufferToWrite[0].length);
                                            
                                            		if (!isMultiChannel)
                                            			fileToExport.writeAudioFile([bufferToWrite], Engine.getSampleRate(), 16);
                                            		else
                                            			fileToExport.writeAudioFile(bufferToWrite, Engine.getSampleRate(), 16);
                                            	}
                                            };
                                            
                                            Content.getComponent("SaveButton").setControlCallback(onSaveButtonControl);
                                            
                                            
                                            
                                            Christoph HartC 1 Reply Last reply Reply Quote 3
                                            • First post
                                              Last post

                                            40

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts