Music/Sounfiles

liunx

Guest
How can I play different sound files in consecutive order?<br />
<br />
Jack<!--content-->How can I play different sound files (.wav, .Mp3) in consecutive order? <br />
<br />
Jack<!--content-->as a background sound, a flash file or just normal?<!--content-->As a background Sound.<br />
<!-- w --><a class="postlink" href="http://www.equipmentpolice.com/Ice.Html">www.equipmentpolice.com/Ice.Html</a><!-- w --><br />
<br />
Jack<!--content-->im presduming that this dont work<br />
<br />
<BGSOUND SRC=http://www.webdeveloper.com/forum/archive/index.php/"Sleepwalk.Wav", "Tsr.Mp3" LOOP=infinite><br />
<br />
try this<br />
<br />
<BGSOUND SRC=http://www.webdeveloper.com/forum/archive/index.php/"Sleepwalk.Wav,Tsr.Mp3" LOOP=infinite><!--content-->Thanks 96!<br />
Thats up now but NG.<br />
What next?<br />
<br />
Jack<!--content-->sorry but what does NG mean?<!--content-->"NG" = No Good<!--content-->You need to set up a playlist that music players can use. Here's how:<br />
<br />
1. Open up a text editor like Notepad or Simpletext.<br />
<br />
2. Type in the exact URL to each sound file in the order you want it played.<br />
<br />
3. After the last URL, place one carriage return. This is to account for a bug in Winamp that chokes on playlists that do not have a blank line after the last song.<br />
<br />
4. Save the file with the extension .m3u.<br />
<br />
5. Upload the sound files and .m3u file to your web server.<br />
<br />
6. Using a standard <a href=http://www.webdeveloper.com/forum/archive/index.php/""> tag, link to the .m3u file.<br />
<br />
Most web servers are set up to automatically buffer and stream content that is requested from a .m3u or playlist file. All the user needs is Winamp, Sonique, Freeamp, Windows Media Player, Quicktime, Real Player, basically any music player supports .m3u playlists.<br />
<br />
If you want the sounds in the background, perhaps include an iframe with it's source the .m3u file or a regular frame at the bottom of the screen with the .m3u file as its source.<br />
<br />
You could even try the bgsound attribute for the body tag or maybe the object tags. Just link to the .m3u file.<!--content-->Is this contingent on the viewer controlling the playback?<!--content-->Yes, the viewer would have control over the playback via their default media player (winamp, windows media player, etc).<br />
<br />
If you do not want the viewer to have control (not recommended because some people might want to stop the music), then you're basically stuck using 1 sound on the web page. You may be able to change the source of the embed tag via JavaScript after a certain number of seconds. Try posting this same question in the JavaScript forum and ask if you can change the src of the embed tag with javascript.<!--content-->I think I found another way to accomplish this.<br />
I used "Cool Edit" and simply cut & pasted one file after another.<br />
Then I converted the >wav files into Mp3.<br />
Thanks,<br />
Jack<!--content-->ok this is what i did what do i need to do to make it work?<br />
<br />
<tr> <EMBED SRC=http://www.webdeveloper.com/forum/archive/index.php/"http://manchild.homeip.net/will/on my own.mp3" "http://manchild.homeip.net/will/piano.mp3" BGCOLOR="#ffffff" WIDTH=322 HEIGHT=258 PLUGINSPAGE="http://www.microsoft.com/windows/windowsmedia/Download <!--more-->/default.asp" AUTOPLAY="False" VOLUME="100"></tr><br />
<br />
<br />
Lets play whats wrong with this tag<!--content-->Is that supposed to accomplish consecutive play?<!--content-->Yes thats what i was lookin for<!--content-->FireBomb,<br />
But you alluded to something being wrong with that script.<br />
One problem with the way I did it is the Download <!--more--> time and the quality.<br />
How would I apply that to:http://www.equipmentpolice.com/Ice.Html ???<br />
<br />
Jack<!--content-->
 
Back
Top