Plateforme Level Extreme
Abonnement
Profil corporatif
Produits & Services
Support
Légal
English
Chr(7) and the PC Speaker
Message
 
À
Tous
Information générale
Forum:
Visual FoxPro
Catégorie:
Autre
Titre:
Chr(7) and the PC Speaker
Divers
Thread ID:
00742016
Message ID:
00742016
Vues:
69
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
Suivant
Répondre
Fil
Voir

Click here to load this message in the networking platform