• Products
    • Isadora
    • Get It
    • ADD-ONS
    • IzzyCast
    • Get It
  • Forum
  • Help
  • Werkstatt
  • Newsletter
  • Impressum
  • Dsgvo
  • Press
  • Isadora
  • Get It
  • ADD-ONS
  • IzzyCast
  • Get It
  • Press
  • Dsgvo
  • Impressum

Navigation

    • Register
    • Login
    • Search
    • Categories
    • Recent
    • Popular
    • Tags

    [ANSWERED] Scaling & Set/Get Global Values

    How To... ?
    4
    6
    625
    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.
    • DanielPineiro
      DanielPineiro last edited by Woland

      Hello!

       I'm trying to use "Get Value" (to create a user actor that fades the sound), and I'm encountering an issue where when I connect "Get Volume" to the volume of the player, it divides the value it receives by two. Why does it do this? If I use the broadcaster/listener pair, it works correctly. What is the reason for this behavior? Thanks in advance for your help.


       

      MacBook Pro Retina (2013) 2,4 GHz Intel Core i5, 8 GB 1600 MHz DDR3, Intel Iris 1536 MB.
      Big Sur 11.7.6
      Located in Pontevedra, Spain.

      jfg 1 Reply Last reply Reply Quote 0
      • jfg
        jfg @DanielPineiro last edited by

        @danielpineiro

        I think it is because you change the maximal value of the volume input in the Movie player to 100 after you had connected the get value actor. the standard volume input is 0 to 200 and by connecting the get value actor this one take the value of the volume input and you get something like this:

        If you change the "Scale max" back to 200 in the Movie Player actor or the Scale Max to 100 in the Get global actor you will get the correct value because the value won't be scaled any more from 0-200 to 0-100.

        You can also use a Absolute Value actor between both.

        Best regards, 

        Jean-François 

        • Izzy 3.2.6
        - MacBook Pro M1 Max 16" 64GB RAM, Mac OS 15.3.2 Sequoia
        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB ),
        Mac OS 10.14.6 (Mojave)
        - Mac mini Pro M4, Mac OS 15.3.2 Sequoia

        • A range of deployable older Macs
          Located in Bremen, Germany
        DanielPineiro 1 Reply Last reply Reply Quote 1
        • DanielPineiro
          DanielPineiro @jfg last edited by

          @jfg said:

          Jean-François 

           Hi Jean-François,

          It works!  Both solutions are fine! (changing scale max to 100 in the Get global actor or putting an absolute value actor between)

          Thanks a lot!

          MacBook Pro Retina (2013) 2,4 GHz Intel Core i5, 8 GB 1600 MHz DDR3, Intel Iris 1536 MB.
          Big Sur 11.7.6
          Located in Pontevedra, Spain.

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

            @danielpineiro

            It is worth noting that the scaling changes when you connect the value 1 output of the Get Global Values actor to the volume in put of the Sound Player, because the value 1 output is mutable (it will be a green dot), this means it will convert to the data type and scale of the input you connect it to.

            The volume input of the Sound Player has a little bit of a unique default setup. It has a minimum value of 0 and a maximum value of 200, but has a Scale Min of 0 and a Scale Max of 100. So the input is being limited to a input range of 0-100, and when the value 1 output is connected to the volume input the range of 0-200 is adopted as the expected range for this output, so for example, a value 1 = 50 (expected range 0-200) will be scaled to fit the Scale range of 0-100 in this case, resulting in 1/2, so 25.

            Watch for these green dots, mutable IO is very helpful, but being aware of how it works, can help in cases like this.

            Troikatronix Technical Support

            • New Support Ticket Link: https://support.troikatronix.com/support/tickets/new
            • My Add-ons: https://troikatronix.com/add-ons/?u=dusx
            • Profession Services: https://support.troikatronix.com/support/solutions/articles/13000109444-professional-services

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

            DanielPineiro Armando 2 Replies Last reply Reply Quote 1
            • DanielPineiro
              DanielPineiro @DusX last edited by

              @dusx

              Thanks for the explanation! What confused me was that it does not work in the same way with Broadcast/Listener actors

              Regards!

              MacBook Pro Retina (2013) 2,4 GHz Intel Core i5, 8 GB 1600 MHz DDR3, Intel Iris 1536 MB.
              Big Sur 11.7.6
              Located in Pontevedra, Spain.

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

                @dusx Thanks ! I never noticed the gree dots (I am ashamed....)

                Armando Menicacci
                www.studiosit.ca
                MacBook Pro 16-inch, 2021 Apple M1 Max, RAM 64 GB, 4TB SSD, Mac OS Sonoma 14.4.1 (23E224)

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