HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust synth instant crash

    Scheduled Pinned Locked Moved Faust Development
    14 Posts 3 Posters 575 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
      last edited by

      On Linux. Added a scriptnode synth, added a faust node, created a file, kaboom.

      This is all I get in my console output. No stack trace unfortunately.

      Faust: Resizing buffers: nChannels=0, blockSize=0
      Combobox changed, new text: testFile
      Faust DSP file to load:/home/dave/Desktop/faustTest/DspNetworks/CodeLibrary/faust/testFile.dsp
      Faust jit compilation successful
      Segmentation fault
      

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

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

        @d-healey Works on macOS, please debug.

        the hello world synth would be this:

        // Faust Source File: dudel
        // Created with HISE on 2023-03-19
        import("stdfaust.lib");
        
        freq = hslider("freq", 220.0, 20.0, 20000.0, 0.01);
        
        
        process = os.oscsin(freq) , _;
        
        1 Reply Last reply Reply Quote 0
        • DabDabD
          DabDab
          last edited by

          Good to see @d-healey is working on FAUST synth. Hope we will learn some new FAUST technics from him. (y)

          Bollywood Music Producer and Trance Producer.

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

            I think I'm getting somewhere...

            This is the line where the failure occurs: https://github.com/christophhart/HISE/blob/develop/hi_faust_jit/FaustWrapper.h#L137

            549215f7-7d96-40f3-b829-56396e4a733f-image.png

            Do I need to be using a particular version of faust or clang?

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

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

              @d-healey Did you try the FAUST version on Windows ?

              What is your FAUST synth code ?

              Bollywood Music Producer and Trance Producer.

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

                @DabDab

                Did you try the FAUST version on Windows ?

                Nope, I don't care if it works on Windows or Mac :)

                What is your FAUST synth code ?

                Nothing, it crashes as soon as I create a file.

                Here's a video:
                https://e.pcloud.link/publink/show?code=XZfIAhZ3m989lgYTbVFCt2Mjbt2MSiH4VE7

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

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

                  @d-healey OK.. Got it... did you try to create FAUST as ScriptFX ? Did it work ?

                  Your video shows this is a bug of HISE, unable to create DSPnetworks Files.

                  Bollywood Music Producer and Trance Producer.

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

                    @DabDab

                    did you try to create FAUST as ScriptFX ? Did it work ?

                    Same issue.

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

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

                      @d-healey What FAUST version are you using ? please use 2.50.6

                      Bollywood Music Producer and Trance Producer.

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

                        @DabDab 2.54.9

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

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

                          @d-healey I tried 2.54 on my mac. It didn't work. 2.50.6 has no issue so far (This kind of crashing)

                          Bollywood Music Producer and Trance Producer.

                          d.healeyD 2 Replies Last reply Reply Quote 0
                          • d.healeyD
                            d.healey @DabDab
                            last edited by

                            @DabDab Building now, I'll report back

                            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 @DabDab
                              last edited by

                              @DabDab Thanks, that solved it. @Christoph-Hart Faust version was the issue. I had to compile it manually because the version in my distro is too new.

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

                              DabDabD 1 Reply Last reply Reply Quote 2
                              • DabDabD
                                DabDab @d.healey
                                last edited by

                                @d-healey download.jpg

                                Have a happy Synth design.

                                Bollywood Music Producer and Trance Producer.

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

                                54

                                Online

                                1.7k

                                Users

                                11.7k

                                Topics

                                101.8k

                                Posts