• Isadora
  • Get it
  • Forum
  • Help
  • ADD-ONS
  • Newsletter
  • Impressum
  • Dsgvo
  • Impressum
Forum
    • Categories
    • Recent
    • Popular
    • Tags
    • Register
    • Login
    1. Home
    2. Tags
    3. javascript
    Log in to post
    • All categories
    • B

      [ANSWERED] Possibly Corrupted Patch

      Troubleshooting and Bug Reports
      • javascript saving corrupt startup crash • • blackmoonhowling
      6
      0
      Votes
      6
      Posts
      1.3k
      Views

      DusXD

      @blackmoonhowling
      Did you try my suggestion?
      It could work because you are stopping the execution of the JS before going to edit it.
      It wouldn't remove your code.

    • ikseI

      Sending and receiving video stream via websockets

      How To... ?
      • image stream websockets live feed live stream javascript • • ikse
      8
      0
      Votes
      8
      Posts
      2.1k
      Views

      DusXD

      @mark

      its a fairly new realtime web data socket (any sort of data).
      see: https://www.tutorialspoint.com...
      Many frameworks have support for Websockets now (not just JS as the article totes). Its been a web standard for a number of years.

    • FredF

      [ANSWERED] Naming inputs javascript

      Feature Requests
      • javascript • • Fred
      3
      0
      Votes
      3
      Posts
      539
      Views

      FredF

      @mark

      Yay, I am super happy I missed that!

      Amazing.

    • J

      [ANSWERED] Izzy3 JavaScript Actor - Naming inputs and outputs

      How To... ?
      • javascript isadora 3 input actors • • jtsteph
      9
      0
      Votes
      9
      Posts
      1.8k
      Views

      J

      @woland Yes! I am working on this project again. I was waiting until V3 to dig in. I have a show in a month or so with FFoB and am working through refining and simplifying my patches. Excited about the speed increase and the fact that controls will run on a separate thread so I can use it to monitor audio inputs and routing to effects etc without taking a performance hit to the engine.

    • MaximeM

      Javascript "or" operator [solved]

      Troubleshooting and Bug Reports
      • javascript • • Maxime
      6
      0
      Votes
      6
      Posts
      1.7k
      Views

      MaximeM

      thanks @DusX 

      I indeed did a mistake in my first attempt with if statement and then jump to Juriaan solution with the switch without spending much time on my first attempt.

      So the "or" operator works properly in the "if" statement when properly repeating the condition each time (well explained by Juriaan in his second comment)

      While the switch case like in @Juriaan first comment doesn't work because switch doesn't take "or" operator ( as explained here ) , instead, you must do something called a "fall-through":

      function main() { var step = arguments[0]; switch(step){     case 'seq1A':     case 'seq1B':     case 'seq1C':         return 1;     case 'seq2A':     case 'seq2B':         return 2;     default:         return 100; } }

      I've got it mixed up by trying several solutions in parallel without understanding the specificities of each one, but it's all working now. 

      Thanks for your help, I've learned something today! 🙂

    • videndumV

      Isadora reloading web pages - Caching possibly causing issues?

      Troubleshooting and Bug Reports
      • html javascript backstage graham thorne skulpture • • videndum
      2
      0
      Votes
      2
      Posts
      1.2k
      Views

      DusXD

      @tgtmedia

      This solution looks like a good option, since the url parameters should make it clear that the page data may be changing.

      Do you have control over what caching setting the web server response with?

      You could try to connect to the web-server via the TCP-IP actors, this may give you more control over how the Http request is sent.
      see: http://www.dusxproductions.com...

    • videndumV

      Java into Izzy

      How To... ?
      • javascript google home graham thorne scenes skulpture • • videndum
      4
      0
      Votes
      4
      Posts
      1.6k
      Views

      DusXD

      @tgtmedia
      I am also going to suggest using Nodered to bridge the gap. Isadora doesn't use NodeJS, so some package may not be possible to use a js libs in Isadora (some can, with slight modification).
      NodeRed is a great option to run side by side with Isadora for this purpose.

    • MaximeM

      Javascript comparing values inside array

      How To... ?
      • javascript • • Maxime
      3
      0
      Votes
      3
      Posts
      1.3k
      Views

      MaximeM

      @DusX That worked! thanks a lot!

    • m_theaterM

      decoding input from a pos keyboard

      Hardware
      • pos-keyboard javascript • • m_theater
      1
      3
      Votes
      1
      Posts
      1.2k
      Views

      m_theaterM

      We want to share a small actor, which helped us in our performance  "loopstation". In order to have more haptical control we used keyboards as our input devices.

      To get the x-keys working is pretty simple (using the hid input in communications->stream control). 

      For the programmable keyboard a MCI128 from preh, i choose a column & row approach  (buttons are programmed as keypress a+1,a+2 …till in our case  p+8). The incoming keypresses are decoded with a javascript actor. We had 128 possible keys, but you could extend this with another keyboard (starting with the prefix q till z) or extending the prefix with another modifier.

      Attached is an izzy file and a key table we used for prehs config software "winprogrammer"

      edit: // zip upload hasn't worked out, now a link  preh_decoder//

    • Bill CottmanB

      [ANSWERED] Countdown display clock

      How To... ?
      • clock time actors countdown javascript • • Bill Cottman
      11
      0
      Votes
      11
      Posts
      5.1k
      Views

      MichelM

      @Maximortal

      Yes the difference sure is the time zone. The JavaScript code takes your system time and compares it with the future time, so the result will always be the date and time of your current destination. To compensate you have to add or subtract the offset hours to the country or timezone you want to have.

      Even if you compare different online counters for that election date they often show different values. Some code takes the time of the server location, other take your system time and other have fixed the time for that certain timezone they want the countdown for.

      Best Michel

    • E

      [ANSWERED] Digital Clock??

      How To... ?
      • clock javascript actors time time of day • • Euzhan
      3
      0
      Votes
      3
      Posts
      1.4k
      Views

      DusXD

      My clock uses the code I outline here: http://www.dusxproductions.com/blog/javascript-based-orbits-in-isadora/ To control the orbit/rotation of the hands, and placement of the numbers. You can see a little more creative use of the same 'orbit' code here: https://m.youtube.com/watch?v=usai4ugQwRU