Level Extreme platform
Subscription
Corporate profile
Products & Services
Support
Legal
Français
Chr(7) and the PC Speaker
Message
From
15/01/2003 13:01:08
 
 
To
All
General information
Forum:
Visual FoxPro
Category:
Other
Title:
Chr(7) and the PC Speaker
Miscellaneous
Thread ID:
00742016
Message ID:
00742016
Views:
68
I need to have the PC beep a set of tones (The PC has no audio card/speakers).
In the DOS version of the program I'm converting, I had this routine that worked well:
procedure Tone
parameters nFrequency,nDuration
@ 0,0 say ""
if empty(parameters())
    set bell to 512,2    && no parameters - reset
else
    set bell to nFrequency,nDuration
    ?? chr(7)
endif
Is there a way to force the output to the PC's internal speaker?

TIA
Next
Reply
Map
View

Click here to load this message in the networking platform