![]() |
|
![]() |
|
|
Thread Tools | Display Modes |
|
|
#1 |
|
Newbie
Join Date: Sep 2005
Location: Adelaide, Australia
Posts: 3
Rep Power: 0
![]() |
Hello,
I have absoloutely no idea if this is the right area to post this request in but I was wondering if anyone could help me out with a bit of programming. I want to be able to play a audio file through on board speaker (motherboard) like the sounds that play when sticky keys are pressed etc. So I am thinking the audio file will have to be hardcoded into the audio file or something to make it play through that speaker channel instead of the normal audio channel. I then want to use the audio file to play on log in to windows. I don't know if this is even possible. =S I would be really greatful if someone would be kind enough to help me out though. Thanks a heap. |
|
|
|
|
|
#2 |
|
Expert Programmer
|
I'm not to sure how you would do it, but it is possible.
I wrote a program in Python one time that played a little tune through the on board speaker =)
__________________
Join us at #programmingforums @ irc.freenode.net! My software never has bugs. It just develops random features.
|
|
|
|
|
|
#3 |
|
Newbie
Join Date: Sep 2005
Location: Adelaide, Australia
Posts: 3
Rep Power: 0
![]() |
Cool =D Is there anyone that can help me? =(
|
|
|
|
|
|
#4 | |
|
Programming Guru
![]() ![]() ![]() |
Quote:
__________________
http://jasonpowers.net "There are a thousand hacking at the branches of evil to one who is striking at the root." |
|
|
|
|
|
|
#5 |
|
Programmer
|
You can generate sounds using C/C++. Its been a long time for me, but I remember there was a specific library that contains that stuff...mmsystem.h? maybe. I will look into some of my old code.
Chi |
|
|
|
|
|
#6 |
|
Resident Grouch
![]() ![]() ![]() ![]() ![]() ![]() Join Date: Jun 2005
Posts: 6,453
Rep Power: 10
![]() |
One possibility.
__________________
Abstraction doesn't make it impossible to write bad code; it makes it possible to write superior code. Contributor's Corner: Grumpy on C++ Exceptions DaWei on Pointers |
|
|
|
|
|
#7 |
|
Newbie
Join Date: Sep 2005
Location: Adelaide, Australia
Posts: 3
Rep Power: 0
![]() |
Holy carp you guys are awesome. You don't have to go to a tonne of trouble for me. =D
|
|
|
|
|
|
#8 |
|
Newbie
Join Date: Sep 2005
Posts: 3
Rep Power: 0
![]() |
|
|
|
|
![]() |
| Bookmarks |
| Currently Active Users Viewing This Thread: 1 (0 members and 1 guests) | |
| Thread Tools | |
| Display Modes | |
|
|