473,657 Members | 2,711 Online
Bytes | Software Development & Data Engineering Community
+ Post

Home Posts Topics Members FAQ

Background Sound

I've embedded a midi file as background sound in my "index.html " which links
to other pages on the site and I want the the same background sound to play
on all pages "without interruption (and restarting)" when going to the other
pages.

Can anyone give me some insight as to how this can be done?
Appreciate any help offered.

TIA
Peter
Jul 20 '05 #1
4 9599
Hmmm...do you really have to?
Why not give users the option of whether or not they want to listen?
see http://aitech.ac.jp/~ckelly/midi/loops/
http://phoenix.liunet.edu/~jmeschi/audweb/3.htm

If you are dead set on the idea then I guess you could probably have the
midi file playing in one window - and spawn another window which leads to
the main site..

OR - much as I would strongly advise against it - you *could* in theory have
a frames based website - put the MIDI in one of the framed pages.. people
should be able to navigate the site while the MIDI plays in the background -
not tried it but should work.

Id keep it simple - give them the choice ;-)
--
Keith

People who complain about top-posting should read the message thread in
order ;-)

*************** *************** *************** ***************
"Peter" <koke@?no-spam?ragingbull .com> wrote in message
news:fv******** ************@co mcast.com...
I've embedded a midi file as background sound in my "index.html " which links to other pages on the site and I want the the same background sound to play on all pages "without interruption (and restarting)" when going to the other pages.

Can anyone give me some insight as to how this can be done?
Appreciate any help offered.

TIA
Peter

Jul 20 '05 #2
Keith, 8-9-3 & Stan,

Sincere thanks for the advice and info about using frames (Darren). The
site is a private one (a memorial to someone) and will not have heavy
traffic. I don't think anyone will object to the sound - in fact, I think it
will set a nice tone.

I'll experiment with the "choice" and "frames" tips and see which one feels
best...

Thanks again to all,
Peter
"Keith Duncan" <k.********@blu eyonder.co.uk> wrote in message
news:Kl******** *****@news-binary.blueyond er.co.uk...
Hmmm...do you really have to?
Why not give users the option of whether or not they want to listen?
see http://aitech.ac.jp/~ckelly/midi/loops/
http://phoenix.liunet.edu/~jmeschi/audweb/3.htm

If you are dead set on the idea then I guess you could probably have the
midi file playing in one window - and spawn another window which leads to
the main site..

OR - much as I would strongly advise against it - you *could* in theory have a frames based website - put the MIDI in one of the framed pages.. people
should be able to navigate the site while the MIDI plays in the background - not tried it but should work.

Id keep it simple - give them the choice ;-)
--
Keith

People who complain about top-posting should read the message thread in
order ;-)

*************** *************** *************** ***************
"Peter" <koke@?no-spam?ragingbull .com> wrote in message
news:fv******** ************@co mcast.com...
I've embedded a midi file as background sound in my "index.html " which

links
to other pages on the site and I want the the same background sound to

play
on all pages "without interruption (and restarting)" when going to the

other
pages.

Can anyone give me some insight as to how this can be done?
Appreciate any help offered.

TIA
Peter


Jul 20 '05 #3
In article <6n************ ********@comcas t.com> in
comp.infosystem s.www.authoring.html, Peter <koke@?no-
spam?ragingbull .com> wrote:
I don't think anyone will object to the sound - in fact, I think it
will set a nice tone.


Sigh.

You asked for advice on how to do something, three out of three
responses told you why it's a bad idea, and you just brush it aside.

So you are utterly convinced that no one visiting your site will
already be playing their own music, will be at work, will be in an
area where they should be quiet, or will just not like your choice
of music? Then I guess there's nothing more to say.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/
Jul 20 '05 #4
Stan,

Nothing was "brushed aside". If you'll re-read my response, I did say that
I'd experiment with frames and having the visitor make the "choice" as to
whether they wanted to listen to background music.

Thanks again for your comments/valued advice.
Peter
"Stan Brown" <th************ @fastmail.fm> wrote in message
news:MP******** *************** *@news.odyssey. net...
In article <6n************ ********@comcas t.com> in
comp.infosystem s.www.authoring.html, Peter <koke@?no-
spam?ragingbull .com> wrote:
I don't think anyone will object to the sound - in fact, I think it
will set a nice tone.


Sigh.

You asked for advice on how to do something, three out of three
responses told you why it's a bad idea, and you just brush it aside.

So you are utterly convinced that no one visiting your site will
already be playing their own music, will be at work, will be in an
area where they should be quiet, or will just not like your choice
of music? Then I guess there's nothing more to say.

--
Stan Brown, Oak Road Systems, Cortland County, New York, USA
http://OakRoadSystems.com/
HTML 4.01 spec: http://www.w3.org/TR/html401/
validator: http://validator.w3.org/
CSS 2 spec: http://www.w3.org/TR/REC-CSS2/
validator: http://jigsaw.w3.org/css-validator/

Jul 20 '05 #5

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

Similar topics

3
4615
by: Gil | last post by:
I'm trying to write a page that allows me to change the background midi that's playing. I've been going crazy consulting Google Groups, and coming up with ingenious solutions, some of which kind of work in some situations. I'm quite prepared to implement a number of solutions simultaneously and browser-distinguish to select the right one, but it's hard even to find the criteria that decide what works in which browser. I'd be grateful...
5
116796
by: Derek Fountain | last post by:
I have a horizontal navigation bar, which is a single row table containing the right images. It "stretches" itself across the screen using a penultimate td like this: <td width="100%" background="images/nav_bar/nb_spacer.gif">&nbsp;</td> which works in all major browsers that I've tried, but doesn't validate. No background attribute to the td tag, apparently. What is the correct way to do this? A stylesheet entry with a
2
1992
by: fuliopen | last post by:
I put background sound with tag <bgsound src=''> in a page, and like to give the visitor an option to unable it. Can this be accomplished? If yes, what's the tag or command? Thanks.
4
2514
by: Scott-ASC | last post by:
I'm looking for some code that will allow me to have a random wav file played every time someone refreshes my home page. I've found some that will allow 5 different wavs (and it wasn't scalable), but I've got 100+ wavs that I'd like to use so I need some code that can scale. Any help would be appreciated.
8
2908
by: Joe2Shoe | last post by:
Is this the correct script to enable background sound on a webpage? It works both in IE and Firefox, but is there a better way? <EMBED src="country.mid" hidden="true" LOOP="TRUE" AUTOSTART="TRUE"> Thank you for your assistance, Joe
2
1137
by: Jeff Dillon | last post by:
Per the client request, I have a background sound that plays on: http://www.christies-catering.com She wants the sound to play continuously as the user goes from page to page, as it does now. Plus the ability to turn the sound off, like now. But it uses frames, which I would prefer not to use. Any other ideas? Jeff
2
3351
by: Mickey Flores | last post by:
I have just tried to attach a background sound with on/off button to my movie clip at frame 1 of the main Timeline. Flash Movie: the movie will keep on replaying until a viewer clicks a button. (frame 1 to 7) Problem: the background sound plays again on top of the ancient one. And as the movie starts again, one more piece will be played, and so on. I've tried to use different approach with action script but no luck, Please help.
3
3440
by: AWW | last post by:
Using XP and VB 2005, it seemed like a good idea to save audio in the clipboard and then play it with backgroundworker. Cannot find a good Clipboard audio example anywhere - just SetAudio and GetAudio. And an example seems to do a SwapAudio which makes no sense. Basically I want to spool or simulate spooling of audio. So is this reasonable for asynchronous audio clip play? or alternate? Any thoughts or pointers to other sources? Thanks.
2
4407
by: ventsislav | last post by:
I want to have a background music to my simple app and a buton which plays another sound, but when I press the button the sound from it interrupts the background sound. I tried with SoundPlayer and the native PlaySound function but the results were the same. Any ideas how to have a background music and a button sound without using DirectSound? Can you provide me some snippets?
0
8407
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, people are often confused as to whether an ONU can Work As a Router. In this blog post, we’ll explore What is ONU, What Is Router, ONU & Router’s main usage, and What is the difference between ONU and Router. Let’s take a closer look ! Part I. Meaning of...
0
8319
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 effortlessly switch the default language on Windows 10 without reinstalling. I'll walk you through it. First, let's disable language synchronization. With a Microsoft account, language settings sync across devices. To prevent any complications,...
0
8739
jinu1996
by: jinu1996 | last post by:
In today's digital age, having a compelling online presence is paramount for businesses aiming to thrive in a competitive landscape. At the heart of this digital strategy lies an intricately woven tapestry of website design and digital marketing. It's not merely about having a website; it's about crafting an immersive digital experience that captivates audiences and drives business growth. The Art of Business Website Design Your website is...
1
8512
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 Update option using the Control Panel or Settings app; it automatically checks for updates and installs any it finds, whether you like it or not. For most users, this new feature is actually very convenient. If you want to control the update process,...
0
8612
tracyyun
by: tracyyun | last post by:
Dear forum friends, With the development of smart home technology, a variety of wireless communication protocols have appeared on the market, such as Zigbee, Z-Wave, Wi-Fi, Bluetooth, etc. Each protocol has its own unique characteristics and advantages, but as a user who is planning to build a smart home system, I am a bit confused by the choice of these technologies. I'm particularly interested in Zigbee because I've heard it does some...
0
7347
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, and deployment—without human intervention. Imagine an AI that can take a project description, break it down, write the code, debug it, and then launch it, all on its own.... Now, this would greatly impact the work of software developers. The idea...
1
6175
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 presenter, Adolph Dupré who will be discussing some powerful techniques for using class modules. He will explain when you may want to use classes instead of User Defined Types (UDT). For example, to manage the data in unbound forms. Adolph will...
0
4171
by: TSSRALBI | last post by:
Hello I'm a network technician in training and I need your help. I am currently learning how to create and manage the different types of VPNs and I have a question about LAN-to-LAN VPNs. The last exercise I practiced was to create a LAN-to-LAN VPN between two Pfsense firewalls, by using IPSEC protocols. I succeeded, with both firewalls in the same network. But I'm wondering if it's possible to do the same thing, with 2 Pfsense firewalls...
2
1969
muto222
by: muto222 | last post by:
How can i add a mobile payment intergratation into php mysql website.

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.