473,386 Members | 1,830 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,386 software developers and data experts.

PC Speaker Music

How to play wav files through the internal speaker?

Oct 7 '05 #1
5 4030
a.*************@gmail.com wrote:
How to play wav files through the internal speaker?


You need to install a particular driver and then do it as you would with
any other speaker. BTW, do you have a C or a C++ *language* question?

V
Oct 7 '05 #2
a.*************@gmail.com wrote:
How to play wav files through the internal speaker?


Standard C knows nothing about wav files and at most how to make some
systems do some form of beep (by printing a bell to standard output). I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.

Try asking in a group dedicated to your system, but check the FAQ and a
few days postings on the group you select first.
--
Flash Gordon
Living in interesting times.
Although my email address says spam, it is real and I read it.
Oct 7 '05 #3
Flash Gordon wrote:
I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.


I believe it's '\a'.
Oct 7 '05 #4
a.*************@gmail.com wrote in news:1128693336.382472.179890
@g49g2000cwa.googlegroups.com:

How to play wav files through the internal speaker?


Google. Use it.
Oct 7 '05 #5

"Flash Gordon" <sp**@flash-gordon.me.uk> wrote in message
news:o2************@news.flash-gordon.me.uk...
a.*************@gmail.com wrote:
How to play wav files through the internal speaker?


Standard C knows nothing about wav files and at most how to make some
systems do some form of beep (by printing a bell to standard output). I
can't be bothered to look up whether the C standard defines the escape
sequence for the bell character, so even that may not be part of the
standard.


C (and C++) define an escape sequence '\a' which
means 'alert'. Which may or may not manifest itself
as an audible signal. Depends upon the implementation
and platform.

-Mike
Oct 7 '05 #6

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",...
19
by: Anon Email | last post by:
Hi everyone, Let's see, now. This question is about the capabilities of ANSI C++. I want to write and compile code in ANSI C++ that, when compiled, will make the computer speaker beep; or, at...
9
by: jgcrawford | last post by:
G'day, I'm writing a ringtone manager for nokia ringtones and I'd like to be able to play the ringtone on the PC speaker. I've had some success in DOS with turbo C and its sound(), delay() and...
5
by: a.dheeraj.kumar | last post by:
How to play wav files through the internal speaker?
2
by: Just Me | last post by:
If I use the shell32q.NameSpace(k) and the Parent property I can develop, for example, the path to My Music. Actually it ends with Desktop but Desktop can also be traced by using Parent to...
4
by: Doug van Vianen | last post by:
Hi, I am using Visual Basic 6 to generate web pages that can be used by the members of our seniors' computer club to create e-cards that include their own pictures. I wish to include background...
1
by: puttypapyrus | last post by:
I am having trouble designing the tables and establishing relationships for a survey database for the purpose of evaluating speakers for a variety of events. After every event, the attendants are...
2
by: Suresh P | last post by:
Hi All, Is there any way other than frames to play music in the background of the website without restart while navigating to different pages of the website. Because, frames will affect the...
10
by: gentsquash | last post by:
Can javascript (easily) produce a click from the PC-speaker? This is the speaker that is (well, used to be) directly on the CPU-card and was -I believe- intended to give feedback to the typist,...
0
by: taylorcarr | last post by:
A Canon printer is a smart device known for being advanced, efficient, and reliable. It is designed for home, office, and hybrid workspace use and can also be used for a variety of purposes. However,...
0
by: Charles Arthur | last post by:
How do i turn on java script on a villaon, callus and itel keypad mobile phone
0
by: aa123db | last post by:
Variable and constants Use var or let for variables and const fror constants. Var foo ='bar'; Let foo ='bar';const baz ='bar'; Functions function $name$ ($parameters$) { } ...
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?
1
by: Sonnysonu | last post by:
This is the data of csv file 1 2 3 1 2 3 1 2 3 1 2 3 2 3 2 3 3 the lengths should be different i have to store the data by column-wise with in the specific length. suppose the i have to...
0
by: Hystou | last post by:
There are some requirements for setting up RAID: 1. The motherboard and BIOS support RAID configuration. 2. The motherboard has 2 or more available SATA protocol SSD/HDD slots (including MSATA, M.2...
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...

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.