Re: How to preload sound files

2006-03-07 Thread Klaus Major
Hi Peter, Thanks! I'm not familiar with SMIL. I will have to check into this and run some tests. then you should download my little mk_libsmil1 stack, that will create a SMIL file on the fly for you and then check if the performance is better... Get it from my homepage

How to preload sound files

2006-03-06 Thread Peter T. Evensen
I know I've seen this, but I can't remember where to find it. Is there a command to buffer a sound file so the player can play it more quickly? I'm trying to string together a bunch of mp3's and minimize the delays between one and the next one. Any tips on this would be appreciated. I have

Re: How to preload sound files

2006-03-06 Thread Scott Rossi
Recently, Peter T. Evensen wrote: I'm trying to string together a bunch of mp3's and minimize the delays between one and the next one. Any tips on this would be appreciated. I have a player with a list of files in a custom property. On a stopPlaying, I set the filename to the next one and

Re: How to preload sound files

2006-03-06 Thread Trevor DeVore
On Mar 6, 2006, at 3:19 PM, Scott Rossi wrote: Recently, Peter T. Evensen wrote: I'm trying to string together a bunch of mp3's and minimize the delays between one and the next one. Any tips on this would be appreciated. I have a player with a list of files in a custom property. On a

Re: How to preload sound files

2006-03-06 Thread Peter T. Evensen
Thanks for all your suggestions, unfortunately the sequence of sound files is dynamically generated, so splicing them together ahead of time won't work. I did just try a test where instead of using one player to sequentially play through the files, I tried interleaving the list between two

Re: How to preload sound files

2006-03-06 Thread Peter T. Evensen
Actually, I take this back. The interleaving doesn't seem to buy me much (not sure why it did on the one test), but after restarting Rev and trying my test again, the interleaved and non-interleaved players come out almost identical :(. At 05:41 PM 3/6/2006, you wrote: Thanks for all your

Re: How to preload sound files

2006-03-06 Thread Trevor DeVore
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

Re: How to preload sound files

2006-03-06 Thread Peter T. Evensen
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

Re: How to preload sound files

2006-03-06 Thread Phil Davis
Hi Peter, Another approach is to load the files as URLs with the 'load' command, then set the player filename to each loaded url in succession. I don't know how the transition speed would be, but at least the player would be dealing with preloaded files. It might be fast enough. I would