Stop Microsoft

Miscellaneous => Programming & Networking => Topic started by: Master of Reality on 27 January 2003, 04:33

Title: Music in HTML
Post by: Master of Reality on 27 January 2003, 04:33
ok i wanna embed a short music clip to have in a web page. Its gonna loop. what is the proper(every browser compatible) way to do this? would it be just using a tag like this?(or is this MSHTML?):
Code: [Select]
...and what program can i use to edit a song to get a short cklip from it? and does it have to be wav to play on most computers through a webpage
Title: Music in HTML
Post by: voidmain on 27 January 2003, 04:55
Autoloading music in web pages suck....
Title: Music in HTML
Post by: Master of Reality on 27 January 2003, 05:20
quote:
Originally posted by void main:
Autoloading music in web pages suck....
your right, but this isnt most pages. You'll never see this page anyway.
Title: Music in HTML
Post by: voidmain on 27 January 2003, 05:53
Code: [Select]

Your example is probably better as you are using both tags in case a browser doesn't support one.

[ January 26, 2003: Message edited by: void main ]

Title: Music in HTML
Post by: Stryker on 27 January 2003, 06:05
quote:
Originally posted by The Master of Reality / Bob:
ok i wanna embed a short music clip to have in a web page. Its gonna loop. what is the proper(every browser compatible) way to do this? would it be just using a tag like this?(or is this MSHTML?):
Code: [Select]
...and what program can i use to edit a song to get a short cklip from it? and does it have to be wav to play on most computers through a webpage[/b]


Your example looks just fine, as for sound editing... i just play the sound with 1 machine and record it with another. using a male to male phono cord connected to the output of one machine and the line in of another. and just start recording when i want that piece.
Title: Music in HTML
Post by: voidmain on 27 January 2003, 08:37
A list of sound/wav editors to suit your pleasure:

http://linux-sound.org/snded.html (http://linux-sound.org/snded.html)
Title: Music in HTML
Post by: voidmain on 27 January 2003, 17:29
Better yet:

# apt-get audacity

after adding the repositories from here (Red Hat only):
http://www-ccrma.stanford.edu/planetccrma/software/ (http://www-ccrma.stanford.edu/planetccrma/software/)

Or download from here:

http://audacity.sourceforge.net/ (http://audacity.sourceforge.net/)

Very nice sound file editor...
Title: Music in HTML
Post by: raptor on 28 January 2003, 06:45
loop=infinite

you should embed it in the <param> tag.