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

      @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

                        14

                        Online

                        1.7k

                        Users

                        11.8k

                        Topics

                        103.1k

                        Posts