Check out and contribute to CodePedia, the wiki for developers.

View \SOUND.PAS

Full Source Code To Vision Bbs System

Submitted By: WEBMASTER
Rating: (Not rated) (Rate It)


Program Sound_Test;
Uses Crt;
Var Frequency:Integer;
    tone:Integer;
Begin
  While Not Keypressed Do Begin
    TextAttr:=9;
    Write('Whoop');
    Textattr:=10;
    Write('...');
    For Frequency:=3000 to 20 Do
    Begin
      Delay(1);
      Sound(Frequency);
    End;
    For Tone:=1000 to 200 do Begin
      Delay(1);
      Sound(Tone);
      End;
    Delay(100);
  End;
  NoSound;
End.
 
corner
© 1996-2008. All rights reserved. Reproduction in whole or in part, in any form or medium without express written permission is prohibited.
Violators of this policy may be subject to legal action. Please read our Terms Of Use and Privacy Statement for more information.
Publisher: Lars Hagelin.
bootstrapLabs Logo A bootstrapLabs project.