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.