• 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
FORUM

Navigation

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

    [ANSWERED] Load text from a ascii file

    How To... ?
    ascii data array files isadora 2 text
    3
    9
    3430
    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.
    • S
      sommerdi last edited by Woland

      hi,

      i have the topic, that i like to bring text from an ascii file into isadora, like data into the data array actor.

      Is there a simple way to do it?

      Thanks for support in advance

      diether

      OSX 14.7 / MBP 16 2.3 GHz i9 32GB / Radeon 5500 8GB
      OSX 15.2 / MBP 16 M4 Max 64GB
      Motu Ultralite MKIII & M4 / BM Intensity USB3 & UltraStudio Recorder 3G
      located in Munich/Germany

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

        concerning the data array actor, you can open a .txt (formatted like a .csv) but containing only floats.

        Rows are the items, lines are the records. Best way is to record a data array in a file (write) and observe how the file is formatted.
        You can also find a "ReadTextFromFile" plugin who can open a text and parse it according to paragraphs and using "text parser" you can do some interesting things (like read .srt subtitles)
        Jacques

        Jacques Hoepffner http://hoepffner.info
        GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
        MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
        MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
        MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

        1 Reply Last reply Reply Quote 0
        • S
          sommerdi last edited by

          thanks ....
          my system is MBP OSX 10.10.4 & Izzy 2.0.5

          i found a discussion in 2013 and a dll plugin for windows, but not for mac.
          I don't know nothing about trancoding to xcode, maybe there is a link to a transcoded one

          Diether

          OSX 14.7 / MBP 16 2.3 GHz i9 32GB / Radeon 5500 8GB
          OSX 15.2 / MBP 16 M4 Max 64GB
          Motu Ultralite MKIII & M4 / BM Intensity USB3 & UltraStudio Recorder 3G
          located in Munich/Germany

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

            Hello,

            it works on mac
            here the file, put it in Isadora/Content/MacOs/Isadora Plugins
            restart Isadora and voilà…

            26b5b2-readtextfromfile.izzyplug.zip

            Jacques Hoepffner http://hoepffner.info
            GigaByte 550b / Ryzen 7 3800X / Ram 64 Go / RTX 3090 24 Go / SSD 2 To / raid0 32 To
            MBP 13' i5 2.6 Ghz 16 Go / Intel Iris / macOs 10.11.6 / izzy 2.6.1 + 3.0.3b2
            MBP 15' i7 2.6 Ghz 16 Go / GTX 650M 1Go/ MacOs10.13.3 / Izzy 2.6.1
            MSI GS65 i7 3.6 Ghz 32 Go / GTX 1070 8 Go / Windows 10 / Izzy 3.0.3b2

            1 Reply Last reply Reply Quote 0
            • S
              sommerdi last edited by

              Thanks ...... Diether

              OSX 14.7 / MBP 16 2.3 GHz i9 32GB / Radeon 5500 8GB
              OSX 15.2 / MBP 16 M4 Max 64GB
              Motu Ultralite MKIII & M4 / BM Intensity USB3 & UltraStudio Recorder 3G
              located in Munich/Germany

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

                I have been using this plugin, on windows for some time.. but have recently found that its is acting incorrectly with Isadora V2.

                Another option, is to load data into the Javascript actor.
                You can use "include ('filename.txt');"
                as your first line in a javascript actor to include an external text file.. it will be parsed as Javascript, so I find it easiest to format it as a variable declaration. Setting a var like:

                Var1 = YourJSON data

                Learn about JSON here: http://www.w3schools.com/js/js_json.asp

                This method can give you access to many forms of data.. !

                The external file should be loaded everytime the scene is activated, so it should be possible to reload data as it is updated. (untested ;)

                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
                • S
                  sommerdi last edited by

                  i am working on OSX 10.10 and i had in first simple basic test no problem and i continue to use ... i will give you a feedback, thanks for your warning

                  The idea to use the javascript actor looks very interesting, but i am failing in java programming...
                  and it will take some time .... Is w3schools the simplest way to jump in?

                  Diether

                  OSX 14.7 / MBP 16 2.3 GHz i9 32GB / Radeon 5500 8GB
                  OSX 15.2 / MBP 16 M4 Max 64GB
                  Motu Ultralite MKIII & M4 / BM Intensity USB3 & UltraStudio Recorder 3G
                  located in Munich/Germany

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

                    If you are just starting out you may want to go thru the beginner course here:
                    http://www.codecademy.com/tracks/javascript

                    w3schools is just a convenient reference at times.

                    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
                    • S
                      sommerdi last edited by

                      merci,

                      this course has the right level for me ......

                      Diether

                      OSX 14.7 / MBP 16 2.3 GHz i9 32GB / Radeon 5500 8GB
                      OSX 15.2 / MBP 16 M4 Max 64GB
                      Motu Ultralite MKIII & M4 / BM Intensity USB3 & UltraStudio Recorder 3G
                      located in Munich/Germany

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