int64ToInt in ctrlr 5.3.201

Home Forums General Panels, Components, Macros int64ToInt in ctrlr 5.3.201

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #116256
    msepsis
    Participant
      • Topics: 219
      • Replies: 732
      • Total: 951
      • ★★★

      There’s a demo panel that demonstrates the functionality of importing a waveform from an audio file into a hex string that’s been included with ctrlr since rev 15xx called “DEMO – Waveform conversion”

      This demo panel is included with the “most recent” stable version of ctrlr – 5.3.201.

      In 5.3.201, after right clicking and loading an audiofile into the uiWaveform component and pressing the “Convert file loaded in component” button I get a callback error that essentially says the global “int64ToInt” is a nil value:

      At line [10]: [string “convert”]
      What: Lua
      Namewhat: global
      Name: convert
      Error message: [string “convert”]:10: attempt to call global ‘int64ToInt’ (a nil value)

      The script that gets disabled is convertFromResource(), line 14 of that script calls:
      convert (audioFormat)

      Line 10 of the convert() script contains:
      samples = int64ToInt(audioFormat.lengthInSamples)

      So was int64ToInt depreciated in ctrlr at some point along the way?
      Is there an alternative way to get this functionality to work with 5.3.201?

      Any assistance on this would be deeply appreciated.

      Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

      #116273
      atom
      Keymaster
        • Topics: 159
        • Replies: 2945
        • Total: 3104
        • ★★★★★

        i’ll have a look asap and see if i missed something here

        #116274
        atom
        Keymaster
          • Topics: 159
          • Replies: 2945
          • Total: 3104
          • ★★★★★

          I uploaded 6.0.25 can you tell me if that fixes the issue, and if that can be used for your purposes ?

          #116284
          msepsis
          Participant
            • Topics: 219
            • Replies: 732
            • Total: 951
            • ★★★

            Hi thank you for checking and addressing that so quickly. Yes that fixed the issue. I’m wondering if that fix could be applied to the most recent stable release for both mac and windows? I’ve been reading of bugs in the revs of ctrlr since 5.3.201 (win) and 5.3.198 (mac) but at least for me those latest stable releases do seem solid.

            Thanks again,
            Rob

            Monstrum Media | Music, Sound & Software Design, Chicago / San Francisco listen

            #116293
            atom
            Keymaster
              • Topics: 159
              • Replies: 2945
              • Total: 3104
              • ★★★★★

              i’ll have a look if i can build ctrlr at those versions

              #118686
              goodweather
              Participant
                • Topics: 45
                • Replies: 550
                • Total: 595
                • ★★★

                I saw that this panel has not been replaced in 5.3.201 and the int64ToInt function is still not working.
                What is this function supposed to do?
                If we know that then we can re-code it ourselves.
                Is the issue coming from the int64ToInt function or from the data it gets as argument?

              Viewing 6 posts - 1 through 6 (of 6 total)
              • The forum ‘Panels, Components, Macros’ is closed to new topics and replies.
              There is currently 0 users and 61 guests online
              No users are currently active
              Forum Statistics
              Threads: 2,495, Posts: 17,374, Members: 77,605
              Most users ever online was 12 on January 22, 2019 3:47 pm
              Ctrlr