Partilhar via


Beep Property

  Microsoft Speech Technologies Homepage

Gets or sets whether to play a beep before recording begins. Read/write.

Usage

ASP.NET markup: <speech:RecordSound Beep="..." />
Get value: Boolean = RecordSound.Beep;
Set value: RecordSound.Beep = Boolean;
Data type: System.Boolean
Required: No; Default: True

Remarks

The RecordSound control cannot play a beep when playing a prompt with barge-in enabled, that is, when the BargeIn property of its Prompt object is True. In this case, the RecordSound control ignores the setting of the Beep property.

Example

<speech:RecordSound runat="server"
  ID="RecordSound1"
  Beep="True"
  Type="audio/wav"
  InitialTimeout="2500"
  BabbleTimeout="2500"
  MaxTimeout="5000"
  EndSilence="2000"
  StopOnDtmf=DtmfSquare
  SavePartialRecord="True"
  PlaybackUrlBase="http://www.cpandl.com/playback/"
  SavePath="d:\vdirs\playback"
  Enabled="True">
  <Prompt InlinePrompt="please leave a message" BargeIn="False" >
  </Prompt>
</speech:RecordSound>

See Also

RecordSound Class | RecordSound Constructor | RecordSound Members | RecordSound Properties | RecordSound Methods | RecordSound Events | RecordSound Remarks