http://hp.vector.co.jp/authors/VA007219/ :LANG=EN SYNOPSIS beep [Frequency_in_hertz [Duration_in_milliseconds]] DESCRIPTION The Beep generates simple tones on the speaker. Frequency_in_hertz Frequency of the sound, in hertz. This parameter must be in the range 37 through 32,767. Duration_in_milliseconds Duration of the sound, in milliseconds. Windows Me/98/95: Beep ignores those parameters. REMARKS Muting and volume control have no effect on Beep; you will still hear the tone. To silence the tone, use the following commands: net stop beep sc config beep start=disabled Terminal Services: The beep is redirected to the client. Windows Me/98/95: On computers with a sound card, the command plays the default sound event. On computers without a sound card, the command plays the standard system beep. EXAMPLES beep 440 400 SYNOPSIS messagebeep [Sound_type] DESCRIPTION The MessageBeep plays a waveform sound. Sound_type Sound type, as identified by an entry in the registry. This parameter can be one of the following values. Value; Meaning -1; Simple beep. If the sound card is not available, the sound is generated using the speaker. 64 Asterisk SystemAsterisk MB_ICONASTERISK ICONASTERISK; SystemAsterisk 48 Exclamation SystemExclamation MB_ICONEXCLAMATION ICONEXCLAMATION; SystemExclamation 16 Hand SystemHand MB_ICONHAND ICONHAND; SystemHand 32 Question SystemQuestion MB_ICONQUESTION ICONQUESTION; SystemQuestion 0 Default SystemDefault MB_OK OK; SystemDefault REMARKS After queuing the sound, the MessageBeep function returns control to the calling function and plays the sound asynchronously. If it cannot play the specified alert sound, MessageBeep attempts to play the system default sound. If it cannot play the system default sound, the function produces a standard beep sound through the computer speaker. The user can disable the warning beep by using the Sound control panel application. Terminal Services: To send a beep to a client, use the Beep function. The Beep function is redirected to the client, whereas MessageBeep is not, except on Windows NT 4.0 where MessageBeep(-1) calls Beep function. EXAMPLES messagebeep OK :LANG=JA 構文 beep [Frequency_in_hertz [Duration_in_milliseconds]] 記述 Beepはスピーカー上で単純音を発生させます。 Frequency_in_hertz 音の周波数をヘルツ単位で指定します。 37から32,767までの値が指定できます。 Duration_in_milliseconds 音の継続時間をミリ秒(mS)単位で指定します。 Windows Me/98/95: Beepは各パラメータを無視します。 注意 ミュートとボリューム・コントロールはBeepで効き目がありません; あなたはまだトーンを聞いているでしょう。 トーンを黙らせるには、以下のコマンドを使用してください: net stop beep sc config beep start=disabled ターミナルサービス: ビープ音はクライアントに向け直されます。 Windows Me/98/95: サウンドカードがあるコンピュータでは、デフォルト音のイベントを鳴らせます。 サウンドカードのないコンピュータでは、標準のシステムビープ音を鳴らせます。 例 beep 440 400 構文 messagebeep [Sound_type] 記述 MessageBeepはwave形式の音を鳴らせます。 Sound_type 音の形式、レジストリのエントリーによって特定されます。 このパラメータは以下の値のどれかです。 値; 意味 -1; 簡単なビープ音。 サウンドカードが利用可能でないなら、音は、スピーカーを使用して発生します。 64 Asterisk SystemAsterisk MB_ICONASTERISK ICONASTERISK; SystemAsterisk メッセージ(情報) 48 Exclamation SystemExclamation MB_ICONEXCLAMATION ICONEXCLAMATION; SystemExclamation メッセージ(警告) 16 Hand SystemHand MB_ICONHAND ICONHAND; SystemHand システムエラー 32 Question SystemQuestion MB_ICONQUESTION ICONQUESTION; SystemQuestion メッセージ(問い合わせ) 0 Default SystemDefault MB_OK OK; SystemDefault 一般の警告音 注意 MessageBeepは、サウンドをキューに置いた後、呼び出し側へ制御を返し、非同期的にサウンドを再生します。 指定された警告音を再生できない場合、MessageBeepは一般の警告音を再生しようとします。 一般の警告音を再生できない場合、コンピュータのスピーカから発生する標準的なビープ音を鳴らします。 ユーザーは、コントロールパネルの[サウンド]を使って、警告のビープ音を無効にできます。 ターミナルサービス: ビープ音をクライアントに送るには、Beepを使用してください。 Beep機能はクライアントに向け直されますが、MessageBeepはそうではありません。(Windows NT4.0でMessageBeep(-1)がBeepファンクションを呼びだす点を除きます。) 例 messagebeep OK