• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum

Navigation

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

    [ANSWERED] make Toggle Actor default to 'off' after being triggered 'on'..?

    How To... ?
    5
    16
    717
    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.
    • Notdoc
      Notdoc last edited by DusX

      I'm sure this is a really dumb question, but i can't figure it out, and I can't even describe it very well. Here goes:

      I want to use a peak signal (in this case sound, but that's not important) to trigger an 'on' from the Toggle Actor, and for that to be immediately switched off once that signal has diminished. At the moment the peak signal triggers alternately 'on', then 'off'.

      How can I get the Toggle to revert to an 'off' setting by default, ready to receive the trigger for 'on' once more? 

      Am I using the wrong Actor? I feel like the solution is staring me in the face, but I can't see it.

      Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

      transitioning to:

      Ventura on Macbook Pro 14-in M1 Max 2022

      DusX T 2 Replies Last reply Reply Quote 0
      • jfg
        jfg last edited by

        Depending on what you want to do, there are probably other solutions, but try this one first.

        best

        Jean-François 

        • Izzy 3.2.6, Mac OS 13.2 Ventura:
        - MacBook Pro M1 Max 16" 64GB RAM
        • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
        - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
        - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

        Located in Bremen, Germany

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

          @jfg

          thanks I very much appreciate the fast reply, but i can't make sense of your solution for my problem at the moment, so i will use an invented example to represent it:

          in this simple example a trigger value of 9.7 in the left channel of the Sound Level Watcher triggers the Toggle to 'on', bypassing the Difference Actor. But the next time the trigger level is reached it will trigger an 'off', having the opposite outcome. 

          What I want is for the trig level value 9.7 value to trigger 'on' every time, and for the bypass to return to 'off' by default when there is no trigger arriving at the Toggle Actor.

          Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

          transitioning to:

          Ventura on Macbook Pro 14-in M1 Max 2022

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

            @notdoc

            Try this:

            • Izzy 3.2.6, Mac OS 13.2 Ventura:
            - MacBook Pro M1 Max 16" 64GB RAM
            • Izzy 3.2.6, Mac OS 10.14.6 (Mojave):
            - Mac Pro 5.1 middle 2012 (3,33 GHz 6-Core Intel Xeon, 32GB RAM, Radeon RX 580 8 GB )
            - MacBook Pro 2015 (16GB RAM) 2,8 GHz Intel Core i7;

            Located in Bremen, Germany

            Notdoc 1 Reply Last reply Reply Quote 2
            • Notdoc
              Notdoc @jfg last edited by Notdoc

              @jfg

              great. thanks very much. I have never used that Actor before! It provides exactly the kind of one-hit timed switch that I'm looking for. And it's a very simple solution too, which i like :-)

              Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

              transitioning to:

              Ventura on Macbook Pro 14-in M1 Max 2022

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

                @notdoc

                Maybe I am wrong, but it seems to me you want to use the either the Sound Level Watcher or the Sound Frequency bands actors, so that you can see the output readings.

                Once you have these reading you can use a Comparator to check if the value is Greater Than a threshold value.
                That gets you what you asked for, I believe.

                I also added using my Value Decay actor as a way to slow the decay. It may provide an extra level of control for you.
                Available at: https://troikatronix.com/add-o...

                But really the Comparator will give you the within range (above/below a threshold) that you asked for.

                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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

                Notdoc 1 Reply Last reply Reply Quote 0
                • Notdoc
                  Notdoc @DusX last edited by

                  @dusx

                  thanks! at the moment the quick-and-dirty way with the Pulse Value actor suits my way of working, but when i want a more precise audio response this will be useful.

                  Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

                  transitioning to:

                  Ventura on Macbook Pro 14-in M1 Max 2022

                  1 Reply Last reply Reply Quote 0
                  • W
                    Wolle West @Notdoc last edited by

                    @notdoc this is exactly the actor I'm looking for ,too. But I don't understand, how to change the type of property from "float" to "boolean" - I can't find no tutorials for this - Could You give me a tip ? _best wishes wolfgang

                    MacBookPro 9,2 (2012)- Intel Core i5 - 16 GB

                    Notdoc 1 Reply Last reply Reply Quote 0
                    • Notdoc
                      Notdoc @Wolle West last edited by Notdoc

                      @wolle-west i think you might be asking @DusX ? if it is about the example in the pic above

                      Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

                      transitioning to:

                      Ventura on Macbook Pro 14-in M1 Max 2022

                      W 1 Reply Last reply Reply Quote 0
                      • W
                        Wolle West @Notdoc last edited by

                        @notdoc - sorry - i hope that's not a misunderstanding - I thought the idea with the Pulse Values actor  came from You - like in the pic below - because this actor in my preset has only the type float for value 1 and 2

                        https://community.troikatronix.com/assets/uploads/files/1632480115330-bildschirmfoto-2021-09-24-um-12.40.51.jpg

                        MacBookPro 9,2 (2012)- Intel Core i5 - 16 GB

                        Notdoc 1 Reply Last reply Reply Quote 0
                        • Notdoc
                          Notdoc @Wolle West last edited by

                          @wolle-west ah yes sorry. i understand! if you attach any actor that spits out boolean, then it will change. 

                          Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

                          transitioning to:

                          Ventura on Macbook Pro 14-in M1 Max 2022

                          W 1 Reply Last reply Reply Quote 0
                          • W
                            Wolle West @Notdoc last edited by

                            @notdoc - oh man - sometimes you can't see the wood for the trees. you are my heroe of the day - and I learned a lot ! - Thanks a lot 😎

                            MacBookPro 9,2 (2012)- Intel Core i5 - 16 GB

                            DusX 1 Reply Last reply Reply Quote 1
                            • DusX
                              DusX Tech Staff @Wolle West last edited by

                              @wolle-west said:

                              sometimes you can't see the wood for the trees

                               Take note of Inputs and Outputs that are a Green Color. These inputs/outputs can change to match the type of the IO being attached.

                              example: the Javascript actor can mutate its inputs to Float, Integer, Text, boolean (all numeric and text options). Each will be seen with a green ball until the type is set/connected.

                              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 10 64bit, i7-8750H, M.2 PCIe SSD's, 16gb DDR4-2666, nVidia GTX 1070 | located in Ontario Canada.

                              W 1 Reply Last reply Reply Quote 1
                              • W
                                Wolle West @DusX last edited by

                                @dusx - ok - this is the lesson I learned today - absolutely useful for all coming ideas ! - thanks a lot

                                MacBookPro 9,2 (2012)- Intel Core i5 - 16 GB

                                1 Reply Last reply Reply Quote 0
                                • T
                                  thatmattrogers @Notdoc last edited by

                                  @notdoc

                                  This might be oversimplifying it but...

                                  You have a trigger going to either a "toggle actor" or an on/off input; is there any reason why you can't have a secondary connection going out of the same trigger that leads to a "trigger delay" that you at for a really short time period (0.1seconds or something) that will then flip the same switch.

                                  That way you have your brief toggle all ready to go.

                                  Just make sure the value's "init." State is set to "off" so that you don't get any weird behaviour.


                                  I'm running Isadora 3 on Win10
                                  Machine 1- AMD 1700x 8 core CPU, 32GB RAM, and an AMD Radeon RX580 GPU
                                  Machine 2 -AMD 5900HX , 8 Core APU, 16GB Ram and an integrated GPU

                                  Notdoc 1 Reply Last reply Reply Quote 0
                                  • Notdoc
                                    Notdoc @thatmattrogers last edited by

                                    @thatmattrogers that would also do it. Thanks for that. There are multivarious means for exuviating a feline in Isadora, but I do like the single-actor simplicity of the 'Pulse Values' solution proposed by @jfg 

                                    Catalina on Macbook Pro 15in 2018, 2.8 GHz 6-core Intel Core i7, with 16GB 2400MHz DDR4, Graphics: Radeon Pro 560X 4 GB Intel UHD Graphics 630 1536 MB

                                    transitioning to:

                                    Ventura on Macbook Pro 14-in M1 Max 2022

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