Hello, I want to know if it would be possible to use sound in a console app? Such as using like FMOD or maybe OpenAL to produce sounds. If anyone knows if this is possible, tell me. :cool:
Printable View
Hello, I want to know if it would be possible to use sound in a console app? Such as using like FMOD or maybe OpenAL to produce sounds. If anyone knows if this is possible, tell me. :cool:
you can make *BEEP* sounds.. with '\a' i believe.. im not sure what it was but you can look it up
if you have console mode sound drivers ( not likely with windows boxes or macos ) then yup.
linux, irix, and the bsds have console mode cd playing software.
( yes, listen to your cds while working in bash )
Nevermind. I found out how to make little beeps and stuff from a site. Thats all I really wanted anyway. Just use the Beep() function in <windows.h>, pretty cool.
"\a" doesnt work for you? or its just not the right beep, lol
What is "\a"? I didn't know what you were talking about, so I disregarded it, sorry. I am very sensitive about my beeps, lol.
'\a' is suppsed to be an 'audible bell'... doesn't work on my system, but there are alot of things that don't work on my system ATM :pescape sequencesCode:#include<iostream>
int main()
{
std::cout<<"\a\a\a\a\a\a"<<std::endl;
return 0;
}
Some terminals do not play the sound. Some give the option of brightening an icon whenever the bell character gets printed.
actually, now that I think of it... it does kinda work... it shows a little bell in the tab it's in (using Konsole)... I forgot about that :DQuote:
Originally Posted by Rashakil Fol
one of the joys of linux major small?
getting everything tweaked so it works. :)
[ lfs user here ]
edited for spelling
I would rather the bell not be audible... IIRC, I set that a while ago, but forgot I set it... but now that I remember, everytime I see that little bell I remember how happy I am that I can't hear it :p
I hear ya.
I unplugged the speaker inside my case.
and disable the sound system so it doesn't use sound card unless I specifically start the sound server and add the kernel module first.
visual cues are as effective for notification.