473,406 Members | 2,371 Online
Bytes | Software Development & Data Engineering Community
Post Job

Home Posts Topics Members FAQ

Join Bytes to post your question to a community of 473,406 software developers and data experts.

playing music with .net?

I found the code below but it appears that bgsound is not

supported with XHTML 1.0 Transitional.

So I searched the internet and found many hits for producing sound but can't
figure what is old and what is current.

Can you point me to a way I can accomplish what the code below does but
using ASP.NET?

thanks

<bgsound src="thisone.mid" loop="-1">
<script type="text/javascript">

function stopSound() {

document.all.tags("bgsound")[0].volume = -10000;

}

function restartStop() {

document.all.tags("bgsound")[0].volume = 0;

}

</script>
Jul 21 '08 #1
4 1280
Hi

i found this article on sound in asp.net

http://www.vbdotnetheaven.com/Upload...ndsInASPX.aspx

you might take a look at it...

Best of luck

-------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com
Jul 21 '08 #2
"Munna" <mu******@gmail.comwrote in message
news:8f**********************************@y38g2000 hsy.googlegroups.com...
I found this article on sound in ASP.NET

http://www.vbdotnetheaven.com/Upload...ndsInASPX.aspx
I use this: http://www.wimpyplayer.com/
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 21 '08 #3
thanks, I'll check it out.
"Munna" <mu******@gmail.comwrote in message
news:8f**********************************@y38g2000 hsy.googlegroups.com...
Hi

i found this article on sound in asp.net

http://www.vbdotnetheaven.com/Upload...ndsInASPX.aspx

you might take a look at it...

Best of luck

-------
Munna

www.munna.shatkotha.com/blog
www.munna.shatkotha.com
www.shatkotha.com

Jul 21 '08 #4
thanks, I'll check it out.

"Mark Rae [MVP]" <ma**@markNOSPAMrae.netwrote in message
news:uX**************@TK2MSFTNGP03.phx.gbl...
"Munna" <mu******@gmail.comwrote in message
news:8f**********************************@y38g2000 hsy.googlegroups.com...
>I found this article on sound in ASP.NET

http://www.vbdotnetheaven.com/Upload...ndsInASPX.aspx

I use this: http://www.wimpyplayer.com/
--
Mark Rae
ASP.NET MVP
http://www.markrae.net

Jul 21 '08 #5

This thread has been closed and replies have been disabled. Please start a new discussion.

Similar topics

12
by: Marian Aldenhövel | last post by:
Hi, I am trying to make pygame play music on windows. This simple program: import pygame,time pygame.init() print "Mixer settings", pygame.mixer.get_init() print "Mixer channels",...
4
by: cody | last post by:
Is there a way to play mod-music in .NET? I know in the standardlibraries there is nothing for mod-music but does anybody know of a free third party component that can be used for that? -- cody...
5
by: a.dheeraj.kumar | last post by:
Is there a way to play music(MP3 or Wav) using c or c++?
4
by: Sumaira Ahmad | last post by:
Hi, Is there any way of playing songs and downloading songs from a server onto a client machine. I want to develop an application such as a music portal which allows clients to play songs that...
5
by: Tom W | last post by:
Ok, hi evryon now I swear I put this post up yesterday but I cant find it anywhere so ill put it up again So I'm making a program to play music but the code ive got for the open dialog thing isn't...
3
by: Tommy DN | last post by:
I've made a program that displays the track that's playing on a (internet)radiostation. The name of the "now playing" track comes from the radiostation's website ( from the statusbar using the...
14
by: gnarl | last post by:
Hello all, I'm developing a site in PHP4 for a music artist, who wants music to play across all their pages. I have loaded a simple flash applet to play the music, but every time the visitor to...
4
by: Benzerari | last post by:
Hi All; Please, if any one knows the visual basic code, to be added to a Stop button in order to stop playing some sound of (*.Wav) type. I have achieved to find the code for start playing sound...
11
Death Slaught
by: Death Slaught | last post by:
i need a music player on my site ive tried the embed tag but i cant ever get the music to play also i would like to have script that lets my users download a file but i know nothing about downloading...
2
by: sumaabey | last post by:
Thanks in advance. <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <title>Untitled Document</title> <meta...
0
by: emmanuelkatto | last post by:
Hi All, I am Emmanuel katto from Uganda. I want to ask what challenges you've faced while migrating a website to cloud. Please let me know. Thanks! Emmanuel
0
BarryA
by: BarryA | last post by:
What are the essential steps and strategies outlined in the Data Structures and Algorithms (DSA) roadmap for aspiring data scientists? How can individuals effectively utilize this roadmap to progress...
1
by: nemocccc | last post by:
hello, everyone, I want to develop a software for my android phone for daily needs, any suggestions?
0
marktang
by: marktang | last post by:
ONU (Optical Network Unit) is one of the key components for providing high-speed Internet services. Its primary function is to act as an endpoint device located at the user's premises. However,...
0
by: Hystou | last post by:
Most computers default to English, but sometimes we require a different language, especially when relocating. Forgot to request a specific language before your computer shipped? No problem! You can...
0
Oralloy
by: Oralloy | last post by:
Hello folks, I am unable to find appropriate documentation on the type promotion of bit-fields when using the generalised comparison operator "<=>". The problem is that using the GNU compilers,...
0
by: Hystou | last post by:
Overview: Windows 11 and 10 have less user interface control over operating system update behaviour than previous versions of Windows. In Windows 11 and 10, there is no way to turn off the Windows...
0
agi2029
by: agi2029 | last post by:
Let's talk about the concept of autonomous AI software engineers and no-code agents. These AIs are designed to manage the entire lifecycle of a software development project—planning, coding, testing,...
0
isladogs
by: isladogs | last post by:
The next Access Europe User Group meeting will be on Wednesday 1 May 2024 starting at 18:00 UK time (6PM UTC+1) and finishing by 19:30 (7.30PM). In this session, we are pleased to welcome a new...

By using Bytes.com and it's services, you agree to our Privacy Policy and Terms of Use.

To disable or enable advertisements and analytics tracking please visit the manage ads & tracking page.