• Dark Theme
    • Categories
    • Register
    • Login
    HISE Logo Forum
    • Categories
    • Register
    • Login

    Faust Effect Delay Time Sync

    Scheduled Pinned Locked Moved General Questions
    24 Posts 7 Posters 1.1k 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.
    • F
      FatMitchell
      last edited by 26 Sept 2023, 13:39

      Hello all!

      I have taken the Greyhole example from the faust library and incorporated it into a HISE project.

      Successfully.

      The delay time seems to be on a scale of seconds, with 1.0 being one second.

      Id love to add a button to switch between DAW synced subdivisions (1/8th etc.) and the current Time based option.

      Is there a way to potentially achieve this? maybe I could have some math that can convert seconds to subdivisions?

      I messed with the Tempo Sync Scriptnode node but Im sure im doing it incorrectly.

      I just took the code from the Faust IDE website and created a dll network, im not sure how to edit the actual Faust code.

      Thanks!
      Mitchell

      Screen Shot 2023-09-26 at 9.35.53 AM.png

      1 Reply Last reply Reply Quote 0
      • H
        HISEnberg
        last edited by 26 Sept 2023, 16:12

        The tempo Sync Scriptnode should work fine for this so long as the faust macro is already calculated in seconds. Best practice I found is to link a minmax node between the two (and make sure your minimum values, and skew factor are the same). You can create separate macros on your ScriptFX network for the tempo free, tempo sync, and the button to the TempoSync Scriptnode.

        Then you will have to do some separate scripting on your user interface to change the mode of the button for timefree to time sync with a button.

        Hope that is clear!

        C D 2 Replies Last reply 26 Sept 2023, 16:53 Reply Quote 1
        • C
          Christoph Hart @HISEnberg
          last edited by 26 Sept 2023, 16:53

          I always end up using two different knobs for synced and unsynced time and hide the one that isnβ€˜t used.

          1 Reply Last reply Reply Quote 1
          • D
            DabDab @HISEnberg
            last edited by 26 Sept 2023, 18:32

            @HISEnberg said in Faust Effect Delay Time Sync:

            The tempo Sync Scriptnode should work fine for this so long as the faust macro is already calculated in seconds.

            @FatMitchell I guess you have connected Tempo_sync node correctly . I have also tried the FAUST Example

            process = dm.greyhole_demo;
            

            It is not working with the HISE tempo_sync. I have also tried MinMax but don't have any idea how to connect with tempo sync.

            Bollywood Music Producer and Trance Producer.

            H 1 Reply Last reply 26 Sept 2023, 20:11 Reply Quote 0
            • H
              HISEnberg @DabDab
              last edited by 26 Sept 2023, 20:11

              @DabDab A couple of things I try in these occasions is resetting the stepsize on the Faust scriptnode, using a smooth node to control the Faust node, or resetting the step size in the Faust code and "rebuilding parameters for Faust file" and refresh the node.

              Also it seems to me that the issue you might be having is that the dm.greyhole_demo is in seconds whereas you need it in milliseconds to control with the tempo_sync? You can convert this using a cable_expr and multiplying by 0.001, then connecting to a minmax, then to the faust node. I did this and it works for me. Conversely, you could try writing your own version of the faust code from the reverbs.lib where you can set the scaling size: https://faustlibraries.grame.fr/libs/reverbs/

              Also the license on that code is GPL2, just fyi.

              F D 2 Replies Last reply 26 Sept 2023, 23:01 Reply Quote 0
              • F
                FatMitchell @HISEnberg
                last edited by 26 Sept 2023, 23:01

                @HISEnberg this is what I was looking for...some math!

                RE: the license comment, I just find that the Faust effects are cool, just hard to use. I plan on porting some and just putting them in VST format for free for people to fool around with. Not really interested in profiting from and/or selling them.

                1 Reply Last reply Reply Quote 1
                • D
                  DabDab @HISEnberg
                  last edited by 27 Sept 2023, 07:07

                  @HISEnberg said in Faust Effect Delay Time Sync:

                  cable_expr

                  Can you please correct my script nodes? I am unable connect with tempo sync.
                  What I am doing wrong ?
                  35246386-d4a8-4c0a-9366-b93be44bc3d0-image.png

                  Bollywood Music Producer and Trance Producer.

                  ? 1 Reply Last reply 27 Sept 2023, 13:25 Reply Quote 1
                  • ?
                    A Former User @DabDab
                    last edited by 27 Sept 2023, 13:25

                    @DabDab c4a6fc08-c985-49be-b020-f203bfc2de33-image.png

                    F D 3 Replies Last reply 27 Sept 2023, 16:08 Reply Quote 3
                    • F
                      FatMitchell @A Former User
                      last edited by 27 Sept 2023, 16:08

                      @Hisenberb the absolute lad!!! thank you πŸ™πŸ»

                      1 Reply Last reply Reply Quote 0
                      • D
                        DabDab @A Former User
                        last edited by 27 Sept 2023, 18:34

                        @Hisenberb Excellent. Thank you dear. :beaming_face_with_smiling_eyes:

                        Bollywood Music Producer and Trance Producer.

                        H 1 Reply Last reply 29 Sept 2023, 13:26 Reply Quote 1
                        • D
                          DabDab @A Former User
                          last edited by 28 Sept 2023, 08:43

                          Faust.gif
                          @HISEnberg Unfortunately not working. I have connected what you have shown. But Faust Time is not being changed.

                          Bollywood Music Producer and Trance Producer.

                          F 1 Reply Last reply 30 Sept 2023, 05:24 Reply Quote 0
                          • H
                            HISEnberg @DabDab
                            last edited by 29 Sept 2023, 13:26

                            @DabDab Strange it seems to be something to do with your cable_expr node, did you press "enter" after writing "input*0.001"? Will the minmax node control the faust delay?

                            D 1 Reply Last reply 29 Sept 2023, 18:24 Reply Quote 0
                            • D
                              DabDab @HISEnberg
                              last edited by 29 Sept 2023, 18:24

                              @HISEnberg Yes.. I pressed Enter after the code.

                              Cable_expr value is not controlling minmax value. But Minimum value is controlling faust node DelayTime correctly (upto 1.0 value).

                              I don't know what am I doing wrong !!

                              Bollywood Music Producer and Trance Producer.

                              H 1 Reply Last reply 6 Oct 2023, 00:09 Reply Quote 0
                              • F
                                FatMitchell @DabDab
                                last edited by 30 Sept 2023, 05:24

                                @DabDab try putting the min max to 1-1.45

                                D 1 Reply Last reply 30 Sept 2023, 06:45 Reply Quote 0
                                • D
                                  DabDab @FatMitchell
                                  last edited by 30 Sept 2023, 06:45

                                  @FatMitchell ok, I tried but the problem is tempo sync is not controlling the faust delay time.

                                  Bollywood Music Producer and Trance Producer.

                                  1 Reply Last reply Reply Quote 0
                                  • H
                                    HISEnberg @DabDab
                                    last edited by 6 Oct 2023, 00:09

                                    @DabDab Did you change the minimum and maximum values of the cable_expr node? I typically don't do this. Let me know if this works for ya, it works fine for me:

                                    HiseSnippet 1866.3oc2Y07aabbEeVQMTlxeTmBm1hdhGxA4.WARYW2BzClVe4HjPIBuxx9TMFs6PwAZ2Y1t6rRhos.9POj+BBfu0iIWx8byG6AenH+E31yAHN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WGJN3.d9CmFmBcWsFOmdHkq059bONKJ2AfejPxYgsStP7LYKl9OHzX8W+FZJbqiEDp++teXgJ+e8GVXxy9f5g+71K9qoPc4Upm3Jq+1wW9l36Q7lPF9LmP0iyZ3ElzegDJfdKS9.3X+Ofw0aRNJ6Ir32hf3CGW7XGGLd82Am9L90rxLrlaNCq4VyvZ98yvZt8Lrl+vLrl+XoqAOoN6M6XLOPnyFI2fzxZv8Kw139i.LEPYI
                                    
                                    D 1 Reply Last reply 6 Oct 2023, 06:31 Reply Quote 1
                                    • D
                                      DabDab @HISEnberg
                                      last edited by 6 Oct 2023, 06:31

                                      @HISEnberg Thank you so very much. πŸ‘
                                      Your snippet is working fine. I have also got the step what I was missing.

                                      Bollywood Music Producer and Trance Producer.

                                      J 1 Reply Last reply 15 Jul 2024, 03:18 Reply Quote 0
                                      • J
                                        jeffd @DabDab
                                        last edited by 15 Jul 2024, 03:18

                                        @DabDab

                                        Ive tried this same setup in my project,
                                        but when i compile it to a dll network and use as a hardcoded masterfx...
                                        I get a predelay sound, before the delay sound. Hard to explain.

                                        Its as if there is another dry signal being thrown in the path before the effect.

                                        did you have this problem after you compiled it?

                                        I have tried every routing matrix path i can think of at this point to see if that was the problem but to no avail

                                        D 1 Reply Last reply 15 Jul 2024, 08:06 Reply Quote 0
                                        • D
                                          DabDab @jeffd
                                          last edited by 15 Jul 2024, 08:06

                                          @jeffd I was having same problem. I thought may be I am missing something. Didn't find any workaround.

                                          Bollywood Music Producer and Trance Producer.

                                          J 1 Reply Last reply 15 Jul 2024, 10:55 Reply Quote 0
                                          • J
                                            jeffd @DabDab
                                            last edited by 15 Jul 2024, 10:55

                                            @DabDab
                                            oh damn,
                                            hmmm.. yeah i cant figure it out. maybe has something to do when faust effects are compiled in the network. it works fine as a scriptfx.

                                            I need a decent sounding delay..guess I will look into max/msp rnbo.

                                            LindonL 1 Reply Last reply 15 Jul 2024, 11:14 Reply Quote 0
                                            • First post
                                              Last post

                                            29

                                            Online

                                            1.9k

                                            Users

                                            10.8k

                                            Topics

                                            94.3k

                                            Posts