• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login

    How to improve reaction time to audio input?

    Interfacing
    5
    9
    2.4k
    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.
    • vanakaruV
      vanakaru
      last edited by

      I am working on a dance performance where my video should react pretty tight to the noise(footsteps) dancers make. I have 8 quad distort actors controlled by frequencies of incoming audio. So far I have been testing with MBP microphone. The lag to reaction is too eminent - about 1sec.

      How can I modify the patch to improve the timing.

      0a4662-audio-react.izz

      MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

      1 Reply Last reply Reply Quote 0
      • markM
        mark
        last edited by

        Dear Vanakaru,

        What is the resolution and codec of the video you're feeding to the Quad Distorts? I'll need to know that to try it for myself. 
        Best Wishes,
        Mark

        Media Artist & Creator of Isadora
        Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

        1 Reply Last reply Reply Quote 0
        • eightE
          eight
          last edited by

          I noticed in your Smoother actor the smoothing parameter is 0.98 --- is this 1 sec delay you observe?

          --8

          Analysis: http://post.scriptum.ru | Synthesis: http://onewaytheater.us
          Twitter: https://twitter.com/eight_io | Flickr: http://www.flickr.com/photos/eight_io/
          Github: https://github.com/eighteight | MulchCam: https//mulchcam.com
          MulchTune: https://itunes.apple.com/us/app/mulch-tune/id1070973465 | Augmented Theatre: https://augmentedtheatre.com

          1 Reply Last reply Reply Quote 0
          • vanakaruV
            vanakaru
            last edited by

            eight you are the winner. I never thought there would be correlation with smoothing and time. Thanks!

            [mark](http://troikatronix.com/troikatronixforum/profile/2/mark)  PNG 1200x1200 with alpha file size 20-30kb. You may be able to tell me what to do if I need smoothing closer to 1.

            MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

            1 Reply Last reply Reply Quote 0
            • markM
              mark
              last edited by

              Dear Vanakaru,

              Yes, the bigger the smooth, the longer the delay. The effect is very similar to a capacitor in electronics... to smooth the signal, you must let it slowly accumulate. Thus, reaching a the current value will take longer if the smoothing is higher. This photo kind of tells the story:
              http://www.homofaciens.de/bilder/technik/h-bridge_020.jpg
              The yellow line is a low smoothing factor (capacitance in fact for this diagram) and the red line is a high smoothing factor. To get to the high point takes considerably longer because of the higher smoothing/capacitance, thus the delay.
              Hope that helps! (Good call eight!)
              Best Wishes,
              Mark

              Media Artist & Creator of Isadora
              Macintosh SE-30, 32 Mb RAM, MacOS 7.6, Dual Floppy Drives

              1 Reply Last reply Reply Quote 0
              • DusXD
                DusX Tech Staff
                last edited by

                Rather than smoothing, you might want to try Curvature.. You may be able to ramp your values to get an acceptable visual effect this way without a time loss.

                Troikatronix Technical Support

                • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                • Isadora Add-ons: https://troikatronix.com/add-ons/
                • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                1 Reply Last reply Reply Quote 0
                • vanakaruV
                  vanakaru
                  last edited by

                  Thank you for the input. I tried the suggestions. I find the best solution to use Smoother still and mostly with parameter closer to 1. Otherwise the outcome will be too erratic and nervous. But to get the perception of more accurate timing I shall make just one part of the picture reacting rapidly and the rest smooth.

                  I was not able to get satisfactory results using Curvature.

                  MBP 4.1 & MBP (Retina, Mid 2012) MBP Retina 2017

                  1 Reply Last reply Reply Quote 0
                  • DusXD
                    DusX Tech Staff
                    last edited by

                    If you know your destination value at the start of smoothing.. you could dynamically set the smoothing amount based on the difference between the destination value and the current smoother value.
                    I have used this method before.. and it worked great.. basically, starting smoothing at .98 and scaling it down to .65 as the value get closer the destination value. This limits the delay, but provides a smooth start.. with a snappier end.

                    Of course since you are working with audio triggers I don't know if you have the destination value in advance.

                    Troikatronix Technical Support

                    • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
                    • Isadora Add-ons: https://troikatronix.com/add-ons/
                    • My Add-ons: https://troikatronix.com/add-ons/?u=dusx

                    Running: Win 11 64bit, i7, M.2 PCIe SSD's, 32gb DDR4, nVidia GTX 4070 | located in Ontario Canada.

                    1 Reply Last reply Reply Quote 0
                    • ArmandoA
                      Armando Beta Gold
                      last edited by

                      Hi vanakaru

                      you might want to check that http://www.pulsecontroller.com very low latency. if you know pure data or max all is due to an object called bonk. 

                      Armando Menicacci

                      www.studiosit.ca
                      www.armandomenicacci.net

                      Macbook pro 16 inches 2022 64 GB RAM, M1 MAX. OS 14 Sonoma

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