我正在学习星号。在那里我开始了解 BackgroundDetect() 应用程序。
有三个选项。
BackgroundDetect(文件名[|sil][|min|max]])
sil - 如果我们在 sil 选项中指定 1000,它会在我们对电话说些什么后等待 1 秒。
我工作了 sil 选项,它工作正常。
但我不明白 min 和 max 选项的用途。
谁能用一个例子来解释我,最小值和最大值的目的?
提前致谢。
我正在学习星号。在那里我开始了解 BackgroundDetect() 应用程序。
有三个选项。
BackgroundDetect(文件名[|sil][|min|max]])
sil - 如果我们在 sil 选项中指定 1000,它会在我们对电话说些什么后等待 1 秒。
我工作了 sil 选项,它工作正常。
但我不明白 min 和 max 选项的用途。
谁能用一个例子来解释我,最小值和最大值的目的?
提前致谢。
BackgroundDetect(filename[,sil[,min[,max[,analysistime]]]])
Plays back filename, waiting for interruption from a given digit (the digit must start the beginning of a valid extension, or it will be ignored). During the playback of the file, audio is monitored in the receive direction, and if a period of non-silence which is greater than min ms yet less than max ms is followed by silence for at least sil ms, which occurs during the first analysistime ms, then the audio playback is aborted and processing jumps to the talk extension, if available. Parameters: filename: (no description) sil:
If not specified, defaults to 1000. min:
If not specified, defaults to 100. max:
If not specified, defaults to infinity. analysistime:
If not specified, defaults to infinity.