• 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] [LOGGED] Letter by Letter Read

    How To... ?
    5
    18
    2281
    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.
    • laurentR
      laurentR @craigw last edited by laurentR

      @craigw

      Hi, I guess you can use the "readtextfromfile" actor ( found in add-ons page ) to read one specific character of a txt file on your hard disk, then dispach each letter in text draw actors with a counter + router actor...

      MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

      craigw 1 Reply Last reply Reply Quote 0
      • craigw
        craigw @laurentR last edited by

        @laurentr

        Thanks, I'll give it a try.

        Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

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

          @craigw said:

          <p>@laurentr</p><p>Thanks, I'll give it a try.</p>

           You can use 'text' with the Data Array actor. So when it outputs the text, you have a number of actors in Isadora that can do different things with text. However, by far the most flexible of these is the Javascript actor, you can do nearly anything you can imagine with text in Javascript.

          Do you want the text draw to first write "H", then "He", then "Hel", then "Hell", then "Hello" ? Or do you want each letter in series?
          The first option can be done in Javascript very easily... with only 1 output feeding to 1 Text Draw actor (this would scale to longer text more easily.)

          If you can provide a clear spec for what the text should do, I am sure you can get help with the Javascript here in the forum :)

          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.

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

            For example, this JavaScript code allows you to split a string. Let's say we have "Hello world", this will give the following output.
            1: H, 2: e, 3: l, 4: l, 5: o, 6: space, 7: w, 8: o, 9: r, 10: l, 11: d

            function main()
            {
                return Array.from(arguments[0]);
            }

            But like DusX said, give us an example on what you wish so that we give you a hand ;)

            Isadora 3.1.1, Dell XPS 17 9710, Windows 10
            Interactive Performance Designer, Freelance Artist, Scenographer, Lighting Designer, TroikaTronix Community moderator
            Always in for chatting about interaction in space / performance design. Drop me an email at hello@juriaan.me

            craigw 1 Reply Last reply Reply Quote 1
            • craigw
              craigw @Juriaan last edited by

              @juriaan

              Thanks so much for the help and offer to help.

              I'll compile my short list.

              I think it's time to sit down an learn JS.

              Thanks

              Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

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

                There's also the Text Chopper actor: https://recordit.co/OJ47qGiClS

                (PS: You may find this User Actor helpful: Javascript String Length)

                TroikaTronix Technical Support
                New Support Ticket: https://support.troikatronix.com/support/tickets/new
                Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                1 Reply Last reply Reply Quote 0
                • craigw
                  craigw last edited by

                  Hi, The "readtextfromfile" actor worked in 3.0.8 but I can't get it to work in 3.1.1.

                  test-read-v1_3-v3.1.1.izz


                  Here's what I'm looking for:

                  My file is named words.txt  6 lines of 5 letter words. Someone will type in words live line by line, so I'll need to be about to update the file read as I go.

                  Next is the wish list:

                  If I make the file 7 lines instead of 6 and line 1 the top word is the secret word that we're trying to match,I would like a letter comparator to compare letters of lines 2-7 to be able to compare letters to line 1.

                  Sorry it's hard to explain a picture is so much easier.

                  Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

                  Woland DusX laurentR 3 Replies Last reply Reply Quote 0
                  • Woland
                    Woland Tech Staff @craigw last edited by Woland

                    @craigw said:

                    If I make the file 7 lines instead of 6 and line 1 the top word is the secret word that we're trying to match,I would like a letter comparator to compare letters of lines 2-7 to be able to compare letters to line 1.

                     How's this? text-comparison.izz

                    (Note: this just handles combining the letter from each line into a single word and then comparing that word to a pre-defined word. I didn't specifically implement what you needed in your file, you'll have to transition over whichever method you like best into your file.) 

                    TroikaTronix Technical Support
                    New Support Ticket: https://support.troikatronix.com/support/tickets/new
                    Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                    Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                    Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                    | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

                    craigw 1 Reply Last reply Reply Quote 0
                    • craigw
                      craigw @Woland last edited by

                      @woland

                      Thanks a lot, I'll try it.

                      Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

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

                        @craigw said:

                        so I'll need to be about to update the file read as I go

                         As you know this can be done with Data Array, and for a simple list of words may be your easiest method of loading the data, although you can also use the Read() function in Javascript. (tutorial)
                        Once you have the text data, Javascript can handle comparing each letter and keeping a count or what ever you need..?
                        I'm still unclear what exactly you need, but it does sounds like something that is much easier to workout using Javascript.

                        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.

                        1 Reply Last reply Reply Quote 0
                        • laurentR
                          laurentR @craigw last edited by

                          @craigw said:

                          Hi, The "readtextfromfile" actor worked in 3.0.8 but I can't get it to work in 3.1.1.

                           Strange cause it works with me on 3.1.1, I am actually working with it on a project right now... ( On Mojave )

                          MBP 15' 2019 & MBP 13' 2015 - OSX10.14 & MP 2.8Ghz QC Xeon + GTX660 - OSX10.12 / Isadora 2.6.1/3.2 - Located France

                          1 Reply Last reply Reply Quote 0
                          • craigw
                            craigw last edited by

                            Data array with the text chopper works great for me.

                            Sorry, One last question, I'm trying to type a file path using the "Edit Text" box. When I try to type a " ." period for the .txt  it doesn't show it.

                            It'll read it though.

                            Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

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

                              @craigw

                              I did a quick test on PC, then on macOS Catalina.
                              Both have no issue displaying the '.' for me with the default font. (I increased the size)

                              Did you perhaps change fonts to something unexpected?

                              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.

                              1 Reply Last reply Reply Quote 0
                              • craigw
                                craigw last edited by

                                Thanks, Looks like the "Show Value of Linked Properties" may have been the culprit.

                                Mac OS Ventura 2017 MacPro, 32g Ram ,AMD FirePro D700 6144 MB. Isadora v3.2.6 Los Angeles CA

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

                                  @craigw said:

                                  Looks like the "Show Value of Linked Properties" may have been the culprit.

                                   How is that? Does the '.' not display for your when 'Show Value of Linked Properties' is selected?

                                  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.

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

                                    @dusx said:

                                     How is that? Does the '.' not display for your when 'Show Value of Linked Properties' is selected?

                                     Yes, this reminded me that I'd seen this before. I searched the database for a report but there wasn't one, so I logged it as a new entry.

                                    TroikaTronix Technical Support
                                    New Support Ticket: https://support.troikatronix.com/support/tickets/new
                                    Support Policy: https://support.troikatronix.com/support/solutions/articles/13000064762
                                    Add-Ons: https://troikatronix.com/add-ons/ & https://troikatronix.com/add-ons/?u=woland
                                    Professional Services: https://support.troikatronix.com/support/solutions/articles/13000109444

                                    | Isadora Version: all of them | Mac Pro (Late 2013), macOS 10.14.6, 3.5GHz 6-core, 1TB SSD, 64GB RAM, Dual AMD FirePro D700s |

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

                                      The issue with 'periods' being blocked from entry is due to File Path input fields having some error checking implemented, and the nature of the 'Show Value of Linked Properties' feature.
                                      It is possible to enter the text indirectly via a trigger text actor (or other text actors). 
                                      We are looking into modifying this behavior for a future version.

                                      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.

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