ideas

1. Are you sure of the duration?
Variable-bitrate MP3s (VBR-MP3s) can't return accurate duration to Director.

2. MP3-style compression is lossy compression, this means that the 
re-expanded sound contains slightly different data than the source 
file.  This is not really 'rounding error', but more like compression 
artifacts in a JPEG (a FOL).  If your source file was CD-quality 
(44.1 kHz), then the 10 ms that you are talking about is only 4 
samples missing.

3. Usefulness?
You want to play the last 10 ms of the file?  This is a VERY short 
sound (4 samples).  I'm pretty sure that you'd have a hard time 
hearing it.

hth

-Buzz

At 3:27 PM +0100 11/26/01, Natalia Tjelum wrote:
>Very strange, I am playing a soundfile(MP3), but get an error when
>attempting to play it with the startTime a bit shorter than the duration of
>the sound member, it variates depending on which member I am playing. The
>only pattern I have is that the startTime has to be more than 10.000 ms from
>the totalTime of the file.
>
>sound(1).play([#member: a Sound Member, #startTime: a bit shorter than the
>duration of the sound member])
>
>TIA
>Natalia
>
>
>[To remove yourself from this list, or to change to digest mode, go to
>http://www.penworks.com/lingo-l.cgi  To post messages to the list,
>email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
>Lingo-L is for learning and helping with programming Lingo.  Thanks!]


[To remove yourself from this list, or to change to digest mode, go to
http://www.penworks.com/lingo-l.cgi  To post messages to the list,
email [EMAIL PROTECTED]  (Problems, email [EMAIL PROTECTED])
Lingo-L is for learning and helping with programming Lingo.  Thanks!]

Reply via email to