How Long is a Sound [Without Using Quicktime]?

Ray Horsley ray at linkit.com
Mon Jun 3 15:39:26 EDT 2013


Thanks Phil but I usually need everything to run at least on both Windows and Mac.

On May 31, 2013, at 12:14 PM, Phil Davis wrote:

> On 5/31/13 2:16 AM, Ray Horsley wrote:
>> You might be right Jackie.  I'm not sure how to guess how many desktop systems there are without Quicktime installed so it might not be an issue.
>> 
>> The overall goal is to display a progress circle like the one Fetch uses while a sound is playing.  The idea is the circle will make one complete trip for the duration of the sound.
>> 
>> Dar, nice ideas and very interesting but the user will be supplying the audio files so I'm not sure how that would work out.  I'm currently looking into the link Warren supplied to Media Info although I'm not sure how I'll tie it into my standalone.
> 
> Hi Ray,
> 
> I maintain one app that has mediaInfo in the app bundle, and the app uses shell() to run it as needed. So that's one option on the Mac at least.
> 
> Phil Davis
>> 
>> On May 30, 2013, at 5:37 PM, J. Landman Gay wrote:
>> 
>>> On 5/30/13 2:36 PM, Ray Horsley wrote:
>>>> I know this is available with QuickTime using the CurrentTime and
>>>> TimeScale properties but if the user doesn't have QuickTime installed
>>>> I'd hate to be stuck.  Are there any other ways to get the duration
>>>> of an audio file?
>>> Can you say what the goal is? Maybe there's another way to do it.
>>> 
>>> All Macs have QT. If a Windows user doesn't, Media Player should run and the same functions should be available as long as you're using player objects. I'm not sure about Linux, I hear there are some issues with players there.
>>> 
>>> -- 
>>> Jacqueline Landman Gay         |     jacque at hyperactivesw.com
>>> HyperActive Software           |     http://www.hyperactivesw.com
>>> 
>>> _______________________________________________
>>> use-livecode mailing list
>>> use-livecode at lists.runrev.com
>>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
>> _______________________________________________
>> use-livecode mailing list
>> use-livecode at lists.runrev.com
>> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
>> http://lists.runrev.com/mailman/listinfo/use-livecode
>> 
> 
> -- 
> Phil Davis
> 
> 
> _______________________________________________
> use-livecode mailing list
> use-livecode at lists.runrev.com
> Please visit this url to subscribe, unsubscribe and manage your subscription preferences:
> http://lists.runrev.com/mailman/listinfo/use-livecode





More information about the use-livecode mailing list