\TencentAI\TestsAudioTest

Summary

Methods
Properties
Constants
ai()
testAsr()
testasrs()
testWxasrs()
testWxAsrLong()
testDetectKeyword()
testTts()
testTta()
put()
tearDown()
No public properties found
AUDIO
OUTPUT
No protected methods found
No protected properties found
N/A
audio()
$ai
$name
$array
N/A

Constants

AUDIO

AUDIO = __DIR__ . '/../resource/audio/'

OUTPUT

OUTPUT = __DIR__ . '/../output/audio/'

Properties

$ai

$ai : \TencentAI\TencentAI

Type

\TencentAI\TencentAI

$name

$name : 

Type

$array

$array : 

Type

Methods

ai()

ai() 

testAsr()

testAsr() 

语音识别.

Throws

\TencentAI\Error\TencentAIError

testasrs()

testasrs() 

语音识别 流式版 AILAB.

Throws

\TencentAI\Error\TencentAIError

testWxasrs()

testWxasrs() 

语音识别 流式版 微信

Throws

\TencentAI\Error\TencentAIError

testWxAsrLong()

testWxAsrLong() 

长语音识别.

Throws

\TencentAI\Error\TencentAIError

testDetectKeyword()

testDetectKeyword() 

testTts()

testTts() 

语音合成 AILAB.

Throws

\TencentAI\Error\TencentAIError

testTta()

testTta() 

语音合成 优图.

Throws

\TencentAI\Error\TencentAIError

put()

put(\TencentAI\Tests\string  $name, \TencentAI\Tests\string  $content) 

Parameters

\TencentAI\Tests\string $name
\TencentAI\Tests\string $content

tearDown()

tearDown() 

audio()

audio()