int64ToInt in ctrlr 5.3.201

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #116256
    msepsismsepsis
    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
    atomatom
    Participant
    • Topics: 157
    • Replies: 2943
    • Total: 3100
    • ★★★★★

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

    #116274
    atomatom
    Participant
    • Topics: 157
    • Replies: 2943
    • Total: 3100
    • ★★★★★

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

    #116284
    msepsismsepsis
    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
    atomatom
    Participant
    • Topics: 157
    • Replies: 2943
    • Total: 3100
    • ★★★★★

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

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.
There is currently 0 users and 24 guests online
No users are currently active
Forum Statistics
Threads: 2,265, Posts: 15,871, Members: 56,699
Most users ever online was 12 on January 22, 2019 3:47 pm
Do NOT follow this link or you will be banned from the site!