HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust acting up on Windows

    Scheduled Pinned Locked Moved Bug Reports
    35 Posts 5 Posters 1.6k 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
      aaronventure @Christoph Hart
      last edited by aaronventure

      @Christoph-Hart here's more fun for you: the latest commit

      0b2885d - - fix faust code export with Faust versions > 2.6.0
      

      fails to compile the network even with 2.60

      reverting down to yesterday's

      bb1a664 - - added setFFTSize() to timestretch API - removed dependencies from hi_streaming
      

      works fine.

      A 1 Reply Last reply Reply Quote 0
      • A
        aaronventure @aaronventure
        last edited by aaronventure

        @aaronventure Another kicker.

        On this commit

        bb1a664 - - added setFFTSize() to timestretch API - removed dependencies from hi_streaming
        
        

        compiling a network from HISE fails, but if I close HISE and launch the bat, it goes through and the compiled Faust file is visible as a node in the projects category.

        ef384831-15fe-4cb5-b517-a17390431eb4-image.png

        So:

        • your latest commit messes things up and even 2.60 doesn't work
        • troubles started with 2.68.
        • 2.74 breaks the Faust output entirely on Windows.
        Christoph HartC J 2 Replies Last reply Reply Quote 0
        • Christoph HartC
          Christoph Hart @aaronventure
          last edited by

          @aaronventure Ok I think just messed up epically with the last commit, I‘ll check when I get back.

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

            ae4c69cd-dea2-47e9-9ed9-b152605e4c39-image.png

            That's a new low even for me.

            J A 3 Replies Last reply Reply Quote 1
            • J
              jeffd @Christoph Hart
              last edited by

              @Christoph-Hart

              Should wait and try to export my plugin after an update before I try to delete all these dsp networks and start over?

              J 1 Reply Last reply Reply Quote 0
              • J
                jeffd @aaronventure
                last edited by

                @aaronventure
                I thinks that’s what happen to me..
                And now I have all these dsp Networks with different names that are there in the folders but I thought they didn’t compile.

                1 Reply Last reply Reply Quote 0
                • A
                  aaronventure @Christoph Hart
                  last edited by

                  @Christoph-Hart I was about to screenshot the funky change in the broken commit and post it for laffs but I guess it slipped past hah

                  1 Reply Last reply Reply Quote 0
                  • J
                    jeffd @jeffd
                    last edited by

                    @jeffd
                    ok,
                    I just deleted the hardcoded fx from the project and any files related to additional sourcecode and dsp networks.

                    Plugin compiled and works as audio unit and vst.
                    phew!

                    and ill just create the faust effect again and keep as sxriptFX in the project for now.

                    try the hardcoded effects as a test in another project before I try it on my main one next time.

                    HISEnbergH 1 Reply Last reply Reply Quote 0
                    • HISEnbergH
                      HISEnberg @jeffd
                      last edited by HISEnberg

                      @jeffd Yea this issue crops up every now and agian

                      Link Preview Image
                      Add Module State to User Preset - Help!

                      @HISEnberg Found the solution to this and other odd behaviour I was experiencing after giving up and trying to build out my project. Started experiencing the...

                      favicon

                      Forum (forum.hise.audio)

                      J 1 Reply Last reply Reply Quote 0
                      • J
                        jeffd @HISEnberg
                        last edited by

                        @HISEnberg
                        heard

                        1 Reply Last reply Reply Quote 0
                        • A
                          aaronventure @Christoph Hart
                          last edited by

                          @Christoph-Hart Still no code output from a Faust node on 2.74, but if I compile the network and load the compiled Faust file (not necessarily the network) from the Projects tab in Scriptnode, it works.

                          b3246051-d35c-456c-a3bf-6d6c7072114f-image.png

                          A 1 Reply Last reply Reply Quote 0
                          • A
                            aaronventure @aaronventure
                            last edited by aaronventure

                            @aaronventure Also, no.rnoise doesn't crash HISE anymore, but fails to build as a network Crashes on 2.72 (probably due to arc4random missing).

                            800efaa1-f8df-4753-956e-6be9154fa469-image.png

                            If I change it to no.noise, it goes through fine.

                            The warning on Faust website

                            e28730f9-8aad-4276-90c3-cbe1241c98ef-image.png

                            Again, it works fine on macOS.

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

                              I talked to Stephane yesterday - the API changed from 2.72 to 2.74 so I need to update the HISE wrapper to reflect this.

                              I could get it to work here but it will break using previous Faust versions, so I need to think whether it makes sense to branch it or just tell people to download and use the lateat Faust version.

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

                                @Christoph-Hart said in Faust acting up on Windows:

                                just tell people to download and use the lateat Faust version

                                This - unless it breaks on older OS versions

                                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 I‘m not aware of anything that breaks compatibility with older versions.

                                  Alright then I‘ll move to the latest release and do a check that prints an error message if you use Faust <2.74 - currently it just crashes so that‘s not the world‘s nicest UX.

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

                                    OK, so I've pushed the change that switched to Faust 2.74.6 - all older versions stopped working so you need to reinstall Faust if you want to use it.

                                    @aaronventure that should solve all problems with the most recent Faust version, right? I don't care too much about rnoise something something, that's Faust territory :)

                                    A 1 Reply Last reply Reply Quote 0
                                    • A
                                      aaronventure @Christoph Hart
                                      last edited by aaronventure

                                      @Christoph-Hart said in Faust acting up on Windows:

                                      @aaronventure that should solve all problems with the most recent Faust version, right? I don't care too much about rnoise something something, that's Faust territory :)

                                      Shouldn't you? It works on mac but doesn't on the Windows implementation.

                                      It's a way to get true randomization in Faust because no.noise by default locks to a generated seed, so even if you call it twice or more times, once for each output, you're still getting a mono signal.

                                      If you create two separate Faust files (different files with different names), put them in two different Faust nodes in a multi node, you're still getting a mono output because both are generating from the same seed.

                                      The warning might be a clue but I have no idea what it means.

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

                                        @aaronventure yeah, no idea why it crashes and how to solve it. I'm not the Faust maintainer :)

                                        In order to get a stereo noise signal, just multiply it with a random number and then use fmod to fold it back into 0...1

                                        // Faust Source File: rnoisefunk
                                        // Created with HISE on 2024-07-04
                                        import("stdfaust.lib");
                                        
                                        // booh! mono
                                        //process = no.noise, no.noise;
                                        
                                        // noice stereo noice noice noice
                                        process = fmod(no.noise * 139.2124, 1.0) , no.noise;
                                        
                                        Christoph HartC 1 Reply Last reply Reply Quote 1
                                        • Christoph HartC
                                          Christoph Hart @Christoph Hart
                                          last edited by

                                          even better:

                                           // additional delay by 32 samples. 
                                          process = fmod(no.noise * 139.2124, 1.0) , no.noise @ 32;
                                          
                                          A 1 Reply Last reply Reply Quote 0
                                          • A
                                            aaronventure @Christoph Hart
                                            last edited by

                                            @Christoph-Hart that's still hardcoded and all the node instances of that file will share the seed

                                            but you have me an idea to just link the random node from scriptnode into the faust parameter, so that'll work as the random node gets instanced on startup

                                            1 Reply Last reply Reply Quote 0
                                            • d.healeyD d.healey referenced this topic on
                                            • d.healeyD d.healey referenced this topic on
                                            • First post
                                              Last post

                                            26

                                            Online

                                            1.7k

                                            Users

                                            11.8k

                                            Topics

                                            103.1k

                                            Posts