HISE Logo Forum
    • Categories
    • Register
    • Login

    Adding negative time Delay, is this Possible?

    Scheduled Pinned Locked Moved Scripting
    14 Posts 6 Posters 631 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.
    • NatanN
      Natan
      last edited by Natan

      Hey music lovers
      Just an idea came across my mind, to add +30 ms before an effect ( using simple gain ), then after the effect, making the latency back By adding -30 ms of delay, but the value on Simple gain's Delay can go below 0?

      Any idea to done this on scriptnode?
      Or by scripting?

      Thanks for your advice šŸ‘

      1 Reply Last reply Reply Quote 0
      • ?
        A Former User
        last edited by

        Pretty sure negative delay times would violate the laws of the universe itself šŸ˜•

        NatanN ustkU 2 Replies Last reply Reply Quote 2
        • NatanN
          Natan @A Former User
          last edited by

          @iamlamprey said in Adding negative time Delay, is this Possible?:

          ative delay times would violate the laws of the universe itself

          So how this possible to Revert to the time That we added before the Fx?

          1 Reply Last reply Reply Quote 0
          • ?
            A Former User
            last edited by

            Delay works by saving a section of the audio data into memory, then playing that again at a later point in time.

            Negative delay times would require a time-machine. Or offline editing (like printing an audio track, and dragging it around).

            If negative delay existed, latency would be a thing of the past.

            1 Reply Last reply Reply Quote 1
            • ?
              A Former User
              last edited by

              Unless I'm completely out of the loop and Elon's invented some neural net that can see into the future 😵

              ustkU 1 Reply Last reply Reply Quote 1
              • ustkU
                ustk @A Former User
                last edited by

                @iamlamprey said in Adding negative time Delay, is this Possible?:

                Pretty sure negative delay times would violate the laws of the universe itself šŸ˜•

                Not if you own google or spaceX, I’m pretty sure a solution is conceivable šŸ˜›

                Can't help pressing F5 in the forum...

                1 Reply Last reply Reply Quote 0
                • ustkU
                  ustk @A Former User
                  last edited by

                  @iamlamprey said in Adding negative time Delay, is this Possible?:

                  Unless I'm completely out of the loop and Elon's invented some neural net that can see into the future 😵

                  So funny, I replied above without seeing this post 🤣

                  Can't help pressing F5 in the forum...

                  1 Reply Last reply Reply Quote 2
                  • Dan KorneffD
                    Dan Korneff
                    last edited by

                    I think it's possible. Isn't that what Plugin Delay Compensation does?

                    Dan Korneff - Producer / Mixer / Audio Nerd

                    LindonL 1 Reply Last reply Reply Quote 0
                    • LindonL
                      Lindon @Dan Korneff
                      last edited by

                      @dustbro said in Adding negative time Delay, is this Possible?:

                      I think it's possible. Isn't that what Plugin Delay Compensation does?

                      no - it does the exact opposite of this: Plugin delay compensation is a DAW feature.

                      The DAW asks all plugins on all tracks what their delay is, then works out the total delay for each track, then plays each track with an offset delay amount using the least delayed track...as the base line.

                      HISE Development for hire.
                      www.channelrobot.com

                      Dan KorneffD 1 Reply Last reply Reply Quote 0
                      • Dan KorneffD
                        Dan Korneff @Lindon
                        last edited by Dan Korneff

                        @Lindon said in Adding negative time Delay, is this Possible?:

                        then plays each track with an offset delay

                        If you report your PDC value as 30ms, won't that take audio from 30ms in the future and pump it thru your plugin? Then use Simple gain delay set to 30ms to make the plugin playback in time? Any setting lower than 30ms would represent negative delay. but... maybe I'm not understanding what he's trying to do.
                        Of course this would only work in playback mode, not real time.

                        Dan Korneff - Producer / Mixer / Audio Nerd

                        LindonL 1 Reply Last reply Reply Quote 1
                        • LindonL
                          Lindon @Dan Korneff
                          last edited by

                          @dustbro said in Adding negative time Delay, is this Possible?:

                          @Lindon said in Adding negative time Delay, is this Possible?:

                          then plays each track with an offset delay

                          If you report your PDC value as 30ms, won't that take audio from 30ms in the future and pump it thru your plugin? Then use Simple gain delay set to 30ms to make the plugin playback in time? Any setting lower than 30ms would represent negative delay. but... maybe I'm not understanding what he's trying to do.
                          Of course this would only work in playback mode, not real time.

                          no thats not (my understanding of) what it does..

                          if your plugin is on track 1 and reports a PDC of 30ms, and there are (say) only two tracks - track 2 being "just some audio" then when you press play the DAW actually begins to play track 1 from 0:0:0:0 , and 30 ms later start to play track 2 from 0:0:0:0 - the displayed cursor position on your screen is actually a bit of a fib...

                          or at least this was the code I saw when I last worked on a DAW - it may be different now...

                          HISE Development for hire.
                          www.channelrobot.com

                          Dan KorneffD 1 Reply Last reply Reply Quote 1
                          • Dan KorneffD
                            Dan Korneff @Lindon
                            last edited by

                            @Lindon said in Adding negative time Delay, is this Possible?:

                            30 ms later start to play track 2 from 0:0:0:0

                            I think we're saying the same thing? Track 1 still gets a hold of that audio 30ms before track 2. If you over-report your PDC you'll give yourself some extra time to tinker with the audio stream.

                            Dan Korneff - Producer / Mixer / Audio Nerd

                            1 Reply Last reply Reply Quote 0
                            • Dan KorneffD
                              Dan Korneff
                              last edited by

                              tenor.gif
                              Me, trying to figure out space and time šŸ˜„

                              Dan Korneff - Producer / Mixer / Audio Nerd

                              1 Reply Last reply Reply Quote 3
                              • orangeO
                                orange
                                last edited by orange

                                I think delay compensation should work :)

                                alt text

                                Edit: Of course except FL Studio :)

                                develop Branch / XCode 13.1
                                macOS Monterey / M1 Max

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

                                35

                                Online

                                1.8k

                                Users

                                12.1k

                                Topics

                                105.5k

                                Posts