Feature request > music/sound
BEEP
Cliff3D:
Is there a simple "Beep" or "Bleep" command? Nothing complicated like playing an orhestral-quality symphony, just a simple "Beep - I'm done!" noise that can be called from a single command?
If not - could we maybe have one?
MrTAToad:
Unfortunately no - and using CHR$(7) wont work...
The only way around it is to either use C and interface with the Windows sound system or load & play a beep sample...
Cliff3D:
That would explain why I can't find it. I'm starting to think we could save everyone a lot of reading if I just PM'd you an incessant series of questions ;)
Thanks again - I think playing a .wav sound is where it's going to have to be at :) Just seems more hassle then a "Beep" type command would be. Or even something more complex (like BBC BASIC has)
Neurox:
Under Windows the answer is easy :
Import the DLL "kernel32.dll" for using Beep function :
public static extern bool Beep(Int32 freq, Int32 duration)
but in other platforms/ maybe our Gernot will make a new function using a similar SDL library : :whistle:
http://www.dgames.org/beep-sound-with-sdl
Bye bye,
Neurox
Cliff3D:
That would be nice :)
Navigation
[0] Message Index
[#] Next page
Go to full version