HISE Logo Forum
    • Categories
    • Register
    • Login

    Linux build of HISE

    Scheduled Pinned Locked Moved General Questions
    125 Posts 14 Posters 40.3k 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
      davephillips
      last edited by

      I've got a bit further with exporting a native Linux VSTi from the standalone. I'm failing now with this error :

      Export Error

      HISE image directory not found

      Any suggestions ?

      Best,

      dp

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

        You'll need to specify the path of the HISE source code folder.

        But I am afraid you won't get satisfying results before I explicitely added the compile exporter for Linux (it involves creating a bash script and calling the system compilers xcodebuild and msbuild on the other OS (I think I'll be using clang on linux).

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

          Okay, thanks Christoph. I got even a little further but wound up with this message :

          Export Error

          Compilation error

          The CLI reported this :

          Creating /home/dlphilp/MyFirstHISE/Binaries/Source/PresetData.h and /home/dlphilp/MyFirstHISE/Binaries/Source/PresetData.cpp from files in /home/dlphilp/MyFirstHISE/Binaries/temp...

          Adding preset: 4748 bytes
          Adding impulses: 22 bytes
          Adding externalFiles: 58 bytes
          Adding userPresets: 121 bytes
          Adding images: 10 bytes

          Total size of binary data: 4959 bytes
          JUCE Assertion failure in SettingsWindows.cpp:375
          ... (lots more of the same failure message)
          Couldn't get a file descriptor referring to the console

          Best,

          dp

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

            Btw, I just compiled and tested the VST. I ran a very simple test in Bitwig with one instance of the HISE plugin set up for the wavetable synthesizer with the Simple Reverb and the default EG (adjusted for slower attack and release times). I'm looping a MIDI track through it, sound is clean and clear. On to try a more complicated instrument.

            Edit: Tested the sampler, works fine.

            Also btw: Very nice work !!

            Best,

            dp

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

              Someone on the Reaper forum directed me to a program called Carla, it's a plugin host for Linux and I was able to successfully load the HISE Linux VST into it - now all I need to do is link Carla to Reaper :)

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

              1 Reply Last reply Reply Quote 0
              • N
                nilshi
                last edited by

                Greetings,

                I just read about HISE in the LinuxMusicians Forum and decided to join. In fact much more than that. For some years now me and a few other people worked on an open source sampler (based on sfz but more) ourselves but progression was slow because there were more pressing audio development software issues.
                I did not try HISE out yet but the fact that it exists and its license is GPLv3 pushes me in the direction to give up my own project, which would be a really good development so I can focus more on my sequencer.

                I am exited that there finally seems to be a serious sampler project that works on Linux. The Linux Audio stack sadly doesn't have this yet.

                Looking forward to it,
                Nils, Cologne (Germany)

                P.S.
                Cristoph, are you the film composer from Berlin?

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

                  Hi Nils and welcome to the forum.

                  It's funny how much feedback I am getting from you Linux guys - I thought audio on Linux was pretty much non existent, but it seems that was rather ignorant. I really need to step up my Linux game (right now I have just a crappy VM through VirtualBox which doesn't allow any kind of half-decent performance), but then I think I'll be further improving Linux support (it's pretty untested right now, I am just happy that it compiles :)

                  And yupp it's me from Berlin - but right now I am in Munich for a theatre production :) Have we met somewhere (I was attending the Soundtrack Cologne a few years back)?

                  1 Reply Last reply Reply Quote 0
                  • R
                    rghvdberg
                    last edited by

                    Just dropping in to say I'm gonna give it a try too.
                    Will keep you posted of my progress.

                    1 Reply Last reply Reply Quote 0
                    • N
                      nilshi
                      last edited by

                      It is true that in absolute number of users linux audio is relatively small compared to win and osx. But the linux people are in general very tech-savvy, enthusiastic and know of the importance of feedback, especially in open source projects. You say "GPL" and the Linux people will come.

                      @Christoph-Hart
                      No, we haven't met. I just googled your name (found your page from ~2013) to see if you are German, because your name sounds like you are. I think it is important to connect and network, especially when it comes to open source audio (linux or not). I am organizing an "Open Source Audio Meeting Cologne" every month http://cologne.linuxaudio.org and it would be fantastic to have you there as a talking guest one day. In our January meeting I will present to them HISE, or rather what I have learned until then.

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

                        Alright. I can't attend the next meeting on January, but I could revisit Cologne next year (I was living there for a few months during my studies) and I'll try to align it with one of your meet up dates.

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

                          BTW, @davephillips, while the compiling is not working, the error message you posted shows that you are using the Debug version (which the autogenerated JUCE makefile is using as default for some weird reason).

                          To turn on compiler optimizations, change these lines in the makefile:

                          ifndef CONFIG
                            CONFIG=Debug
                          endif
                          

                          to

                          ifndef CONFIG
                            CONFIG=Release
                          endif
                          
                          1 Reply Last reply Reply Quote 0
                          • N
                            nilshi
                            last edited by

                            Just tried to compile in Linux. I get the following error:

                            ../../../../../HISE/hi_core/hi_core/UtilityClasses.cpp:215:47: error: ‘COMPLEX_SPLIT’ does not name a type
                            void convolveComplex(float* signal, const COMPLEX_SPLIT &ir, int N)

                            Full output log: http://pastebin.com/JWVDqfNM

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

                              Should be fixed now. I was tinkering around with the vDSP library on OSX to get a fast convolution reverb on iOS where IPP is not available and this messed up the other operating systems.

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

                                I have HISE working in Carla and have this playing back via virtual MIDI ports from both the Linux native version of Reaper and Windows Reaper running in Wine :)

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

                                1 Reply Last reply Reply Quote 0
                                • N
                                  nilshi
                                  last edited by

                                  It is working here now as well. I'm running the plugin and I can hear sound from the sine wave synth.

                                  I have tried to import an .sfz piano but apparently I have to edit something myself to make sound. At first I am not interested in designing instruments, however simple, myself.

                                  Is there a real sampled instrument somewhere (something 'acoustic' like strings would be fine) that you can load and just play?

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

                                    Actually, you should be able to import this SFZ into a sampler module and start playing:

                                    Link Preview Image
                                    Page not found – PatchArena

                                    favicon

                                    (patcharena.com)

                                    I'd recommend to switch to "One Shot" mode (Sampler Settings => Playback) so that decay naturally.

                                    1 Reply Last reply Reply Quote 0
                                    • X
                                      xeling
                                      last edited by xeling

                                      I haven't tried sfz files yet in HISE (just about to do that now), but here are a lot of sfz files that might be worth looking at: http://www.bandshed.net/sounds/sfz/ I got the link from a post by J_e_f_f_g at linuxmusicians.com

                                      1 Reply Last reply Reply Quote 0
                                      • N
                                        nilshi
                                        last edited by nilshi

                                        I already tried sfz import but the sampler remained silent. The plugin opened 64 audio outputs so I am not sure if it sent on the first two ones, like expected. How can I check or change in HISE which of these outputs are used? Or wait... actually there wasn't even anything on the volume indicator in HISE itself when I played with the built-in onscreen keyboard. Even if I didn't connect the right audio outputs to my system speakers I should still see something visually in HISE itself, right?

                                        But besides that? What would be the native HISE instrument format? If I want to make an instrument for other people and share it. Are there existing instruments of this kind out there?

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

                                          Hi Christoph, Am I correct assuming that the Export function still doesn't work for Linux ? IIRC you mentioned that that process is handled by a shell script. If so, where is that script ? I can try to debug it for Linux.

                                          The export process fails with this error :

                                          [dlphilp@The6300 build]$ ./HISE\ Standalone
                                          Creating /home/dlphilp/HISE-MusicBox/Binaries/Source/PresetData.h and /home/dlphilp/HISE-MusicBox/Binaries/Source/PresetData.cpp from files in /home/dlphilp/HISE-MusicBox/Binaries/temp...

                                          Adding preset: 10528 bytes
                                          Adding impulses: 14 bytes
                                          Adding externalFiles: 58 bytes
                                          Adding userPresets: 14 bytes
                                          Adding images: 10 bytes

                                          Total size of binary data: 10624 bytes
                                          Couldn't get a file descriptor referring to the console

                                          What's happening there ? I see a batchCompileOSX file in my project Binaries directory, it's set up for Xcode, not Linux. I presume a similar file is needed for successful export to a native Linux VST/VSTi plugin.

                                          Best,

                                          dp

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

                                            Hi Christoph,

                                            I loaded and played the PatchArena Marimba SFZ on the HISE sampler. I'll try a few more SFZ files today.

                                            Best,

                                            dp

                                            1 Reply Last reply Reply Quote 0
                                            • First post
                                              Last post

                                            51

                                            Online

                                            1.7k

                                            Users

                                            11.7k

                                            Topics

                                            101.8k

                                            Posts