I wrote a while ago a subtitling/player software in livecode 6.1.2 for creating karaoke versions of famous speeches. (here is a link to the project: http://www.speechkaraoke.org )
I rewrote the software with LC 6.5. but wanted now to update the software to LC 7.1. to work with the new Unicode features and leave QuickTime behind. Originally I used the Enhanced QuickTime External, but have now disabled it.
I noticed a massive performance drop going from LC 6.5. to LC 7.1. It's hard to describe it so I made a screen recording: https://vimeo.com/147021976
In the Karaoke software each word of the speech has a timecode-start and a timecode-end. When the playhead reaches the timecode-start of a word the program is coloring the first letter of that word, waits a short while, colors the next letter and so on. The wait time is calculated in a way that the word is completely colored when the playhead reaches the timecode-end. Now in LC 6.5. this works pretty well as you can see in the video. In LC 7.1 (I also tested with LC 6.7) the same routine is extremely much slower, so that everything goes out of sync. I have no explanation for this. It is the same code, on the same system. Some enlightenment would be appreciated.
Out of curiosity I made a short test running following code in a stack:
Code: Select all
on mouseUp
put the milliseconds into tcstart
repeat with i=1 to the number of words of field "subtitle"
repeat with k=1 to the number of chars of word i of field "subtitle"
set the foregroundcolor of char k of word i of field "subtitle" to 200,0,0
end repeat
end repeat
put the milliseconds - tcstart into field "time"
end mouseUp
Thanks for any insights! Oliver