How to preload sound files

Peter T. Evensen pevensen at siboneylg.com
Mon Mar 6 19:05:24 EST 2006


Thanks!  I'm not familiar with SMIL.  I will have to check into this and 
run some tests.

In playing some more, my interleaved players do a better job on a 
network.  With a single player, it took 34 almost 35 seconds to play a 
string of 10 files.  With 2 interleaved players, it took 23 seconds, since 
the one player was loading the next file while the other was playing the 
previous file.

At 05:59 PM 3/6/2006, Trevor DeVore wrote:
>On Mar 6, 2006, at 3:41 PM, Peter T. Evensen wrote:
>
>>Thanks for all your suggestions, unfortunately the sequence of
>>sound files is dynamically generated, so splicing them together
>>ahead of time won't work.
>
>SMIL is plain text so it can be generated in Rev, output as a file to
>a temp directory and loaded into a player object.  Here is a sample
>that displays images on after the other, but like I said before, I'm
>not sure if you will get a seamless loop or not for audio.
>
>SMILtext <smil xmlns:qt="http://www.apple.com/quicktime/resources/ 
>smilextensions" qt:time-slider="true">
><head>
><layout>
><root-layout id="rootlayout" width="1280" height="960" />
><region id="image" width="1280" height="960" />
></layout>
></head>
><body>
><seq>
><img src="file:///Macintosh HD/Users/trevordevore/Pictures/Parkinson
>House/DSC00416.jpg" region="image" duration="3S" />
><img src="file:///Macintosh HD/Users/trevordevore/Pictures/Parkinson
>House/DSC00421.jpg" region="image" duration="3S" />
><img src="file:///Macintosh HD/Users/trevordevore/Pictures/Parkinson
>House/DSC00414.jpg" region="image" duration="3S" />
><img src="file:///Macintosh HD/Users/trevordevore/Pictures/Parkinson
>House/DSC00420.jpg" region="image" duration="3S" />
><img src="file:///Macintosh HD/Users/trevordevore/Pictures/Parkinson
>House/DSC00422.jpg" region="image" duration="3S" />
></seq>
></body>
></smil>
>
>
>--
>Trevor DeVore
>Blue Mango Learning Systems - http://www.bluemangolearning.com
>trevor at bluemangolearning.com
>
>
>_______________________________________________
>use-revolution mailing list
>use-revolution at lists.runrev.com
>Please visit this url to subscribe, unsubscribe and manage your 
>subscription preferences:
>http://lists.runrev.com/mailman/listinfo/use-revolution

Peter T. Evensen
http://www.PetersRoadToHealth.com
314-629-5248 or 888-628-4588 




More information about the use-livecode mailing list