Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
S
SmartBox
Project
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
苗权威
SmartBox
Commits
fdc76310
Commit
fdc76310
authored
Nov 04, 2020
by
苗权威
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
11.04
parent
8eea4ec4
Show whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
398 additions
and
200 deletions
+398
-200
workspace.xml
.idea/workspace.xml
+220
-188
CallPython.java
.../main/java/ai/qiwu/com/tts_service/common/CallPython.java
+37
-0
TTSConstants.java
...ain/java/ai/qiwu/com/tts_service/common/TTSConstants.java
+3
-2
Pcm2Wav.java
...main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java
+16
-2
TTSController.java
...ava/ai/qiwu/com/tts_service/controller/TTSController.java
+40
-2
ChangeRecordVolume.java
...i/qiwu/com/tts_service/pojo/third/ChangeRecordVolume.java
+21
-0
AudioConfigInfo.java
.../ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java
+1
-0
Initialize.java
...main/java/ai/qiwu/com/tts_service/service/Initialize.java
+3
-1
LieHuSchedule.java
...n/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java
+2
-2
TTService.java
.../main/java/ai/qiwu/com/tts_service/service/TTService.java
+45
-1
ThirdPartyService.java
...qiwu/com/tts_service/service/baidu/ThirdPartyService.java
+10
-2
No files found.
.idea/workspace.xml
View file @
fdc76310
<?xml version="1.0" encoding="UTF-8"?>
<project
version=
"4"
>
<component
name=
"BookmarkManager"
>
<bookmark
url=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
line=
"2
683
"
/>
<bookmark
url=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
line=
"2
727
"
/>
</component>
<component
name=
"ChangeListManager"
>
<list
default=
"true"
id=
"63e156df-08bf-4b44-b5d3-f7e9200a2cef"
name=
"Default Changelist"
comment=
""
>
<change
beforePath=
"$PROJECT_DIR$/.idea/workspace.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/.idea/workspace.xml"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/
pom.xml"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/pom.xml
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/
src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java
"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
Edition2.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTServiceEdition2
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService
.java"
afterDir=
"false"
/>
<change
beforePath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java"
beforeDir=
"false"
afterPath=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java"
afterDir=
"false"
/>
</list>
<ignored
path=
"$PROJECT_DIR$/target/"
/>
...
...
@@ -53,23 +54,29 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1012"
>
<caret
line=
"70"
column=
"16"
selection-start-line=
"70"
selection-start-column=
"16"
selection-end-line=
"70"
selection-end-column=
"16"
/>
<state
relative-caret-position=
"594"
>
<caret
line=
"263"
column=
"62"
selection-start-line=
"263"
selection-start-column=
"62"
selection-end-line=
"263"
selection-end-column=
"62"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"447"
>
<caret
line=
"1502"
column=
"71"
lean-forward=
"true"
selection-start-line=
"1502"
selection-start-column=
"71"
selection-end-line=
"1502"
selection-end-column=
"71"
/>
<folding>
<element
signature=
"e#15613#15614#0"
expanded=
"true"
/>
<element
signature=
"e#15690#15691#0"
expanded=
"true"
/>
<element
signature=
"e#15783#15784#0"
expanded=
"true"
/>
<element
signature=
"e#15838#15839#0"
expanded=
"true"
/>
<element
signature=
"e#104460#104494#0"
/>
</folding>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
service/Initializ
e.java"
>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
pojo/third/ChangeRecordVolum
e.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
234
"
>
<caret
line=
"2
39"
column=
"58"
selection-start-line=
"239"
selection-start-column=
"58"
selection-end-line=
"239"
selection-end-column=
"58
"
/>
<state
relative-caret-position=
"
440
"
>
<caret
line=
"2
0"
column=
"1"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"1"
selection-end-line=
"20"
selection-end-column=
"1
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
...
...
@@ -78,10 +85,37 @@
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/nio/file/Path.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"631"
>
<caret
line=
"305"
column=
"12"
selection-start-line=
"305"
selection-start-column=
"12"
selection-end-line=
"305"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-161"
>
<caret
line=
"169"
column=
"25"
selection-start-line=
"169"
selection-start-column=
"25"
selection-end-line=
"169"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2158"
>
<caret
line=
"670"
column=
"41"
lean-forward=
"true"
selection-start-line=
"670"
selection-start-column=
"41"
selection-end-line=
"670"
selection-end-column=
"41"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
667
"
>
<caret
line=
"50"
column=
"
107"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"107"
selection-end-line=
"50"
selection-end-column=
"107
"
/>
<state
relative-caret-position=
"
352
"
>
<caret
line=
"50"
column=
"
74"
selection-start-line=
"50"
selection-start-column=
"74"
selection-end-line=
"50"
selection-end-column=
"74
"
/>
</state>
</provider>
</entry>
...
...
@@ -89,30 +123,29 @@
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTServiceEdition2.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
18964
"
>
<caret
line=
"
891"
column=
"112"
selection-start-line=
"891"
selection-start-column=
"112"
selection-end-line=
"891"
selection-end-column=
"112
"
/>
<state
relative-caret-position=
"
322
"
>
<caret
line=
"
607"
column=
"29"
lean-forward=
"true"
selection-start-line=
"607"
selection-start-column=
"29"
selection-end-line=
"607"
selection-end-column=
"29
"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"
tru
e"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
service/baidu/ThirdPartyService
.java"
>
<file
pinned=
"false"
current-in-tab=
"
fals
e"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
common/pcm/Pcm2Wav
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"601"
>
<caret
line=
"248"
column=
"42"
selection-start-line=
"248"
selection-start-column=
"21"
selection-end-line=
"248"
selection-end-column=
"42"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#4001#4040#0"
/>
</folding>
<state
relative-caret-position=
"667"
>
<caret
line=
"67"
column=
"53"
selection-start-line=
"67"
selection-start-column=
"53"
selection-end-line=
"67"
selection-end-column=
"53"
/>
</state>
</provider>
</entry>
</file>
<file
pinned=
"false"
current-in-tab=
"false"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
common/pcm/Pcm2Wav
.java"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/
service/baidu/ThirdPartyService
.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"587"
>
<caret
line=
"53"
column=
"58"
selection-start-line=
"53"
selection-start-column=
"58"
selection-end-line=
"53"
selection-end-column=
"58"
/>
<state
relative-caret-position=
"266"
>
<caret
line=
"215"
column=
"25"
lean-forward=
"true"
selection-start-line=
"215"
selection-start-column=
"25"
selection-end-line=
"215"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
...
...
@@ -129,14 +162,6 @@
</component>
<component
name=
"FindInProjectRecents"
>
<findStrings>
<find>
TextToVoiceRequest
</find>
<find>
respbody
</find>
<find>
tencentProEnglishPerson
</find>
<find>
speakerInfoRepository
</find>
<find>
createUtility
</find>
<find>
json
</find>
<find>
frame
</find>
<find>
os
</find>
<find>
okhttp
</find>
<find>
getOnline
</find>
<find>
xunfeiUseSSMLPerson
</find>
...
...
@@ -159,6 +184,14 @@
<find>
nld
</find>
<find>
nls
</find>
<find>
token
</find>
<find>
AUDIO_DIR
</find>
<find>
successUpLoadFileIds
</find>
<find>
record_callback_url
</find>
<find>
data
</find>
<find>
b64
</find>
<find>
sox
</find>
<find>
api/upload
</find>
<find>
/api/upload/record/one_sen
</find>
</findStrings>
<replaceStrings>
<replace>
!CollectionUtils.isEmpty
</replace>
...
...
@@ -177,8 +210,6 @@
<component
name=
"IdeDocumentHistory"
>
<option
name=
"CHANGED_PATHS"
>
<list>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/UploadPlotImgResponse.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/dpl2/model/ProjectDetailData.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/LoadBySMS.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/Oauth2Controller.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/resources/static/dpl2/collectHistory.json"
/>
...
...
@@ -192,14 +223,12 @@
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/ApachHttpUtils.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/GeneralMP3Data.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/DeployController.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/DplBotServiceBoth.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/service/ScheduleServiceNew.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/XiaoDuHomeController.java"
/>
<option
value=
"$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/xiaoai/service/XiaoAiServiceRedis.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/TecentTTSResponseData.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/TecentTTSResponse.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/tencent/sdk/http/base/TtsPcmRequester.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/tencent/sdk/http/base/TtsOpusRequester.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/tencent/TencentTTSRequest.java"
/>
...
...
@@ -219,15 +248,19 @@
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/XunFeiResponseData.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/XunFeiData.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/XunFeiRequestDataBusiness.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTServiceEdition2.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/pom.xml"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/ChangeRecordVolume.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
/>
<option
value=
"$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
/>
</list>
</option>
</component>
...
...
@@ -259,8 +292,8 @@
<option
name=
"skipTests"
value=
"true"
/>
</component>
<component
name=
"ProjectFrameBounds"
>
<option
name=
"x"
value=
"
354
"
/>
<option
name=
"y"
value=
"
32
"
/>
<option
name=
"x"
value=
"
161
"
/>
<option
name=
"y"
value=
"
76
"
/>
<option
name=
"width"
value=
"1395"
/>
<option
name=
"height"
value=
"1004"
/>
</component>
...
...
@@ -272,6 +305,7 @@
<foldersAlwaysOnTop
value=
"true"
/>
</navigator>
<panes>
<pane
id=
"PackagesPane"
/>
<pane
id=
"ProjectPane"
>
<subPane>
<expand>
...
...
@@ -322,16 +356,6 @@
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"java"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tts_service"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"common"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
<item
name=
"smartbox"
type=
"b2602c69:ProjectViewProjectNode"
/>
<item
name=
"smartbox"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tts_service"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"src"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"main"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"java"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"tts_service"
type=
"462c0819:PsiDirectoryNode"
/>
<item
name=
"pojo"
type=
"462c0819:PsiDirectoryNode"
/>
</path>
<path>
...
...
@@ -358,7 +382,6 @@
</subPane>
</pane>
<pane
id=
"Scope"
/>
<pane
id=
"PackagesPane"
/>
</panes>
</component>
<component
name=
"PropertiesComponent"
>
...
...
@@ -369,7 +392,7 @@
<property
name=
"RequestMappingsPanelWidth1"
value=
"75"
/>
<property
name=
"WebServerToolWindowFactoryState"
value=
"false"
/>
<property
name=
"aspect.path.notification.shown"
value=
"true"
/>
<property
name=
"com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp"
value=
"16044
08781535
"
/>
<property
name=
"com.android.tools.idea.instantapp.provision.ProvisionBeforeRunTaskProvider.myTimeStamp"
value=
"16044
97082040
"
/>
<property
name=
"last_opened_file_path"
value=
"$PROJECT_DIR$/tts_service/src/main/resources/lib/Msc.jar!/"
/>
<property
name=
"nodejs_package_manager_path"
value=
"npm"
/>
<property
name=
"project.structure.last.edited"
value=
"Modules"
/>
...
...
@@ -518,13 +541,13 @@
<item
itemvalue=
"Application.TTService"
/>
<item
itemvalue=
"Application.TTServiceEdition2"
/>
<item
itemvalue=
"Application.ThirdPartyService"
/>
<item
itemvalue=
"Application.Pcm2Wav"
/>
<item
itemvalue=
"Spring Boot.XiaoaiApplication"
/>
<item
itemvalue=
"Spring Boot.XiaoduhomeApplication"
/>
<item
itemvalue=
"Spring Boot.XiaoduApplication"
/>
<item
itemvalue=
"Spring Boot.DingdongApplication"
/>
<item
itemvalue=
"Spring Boot.TtsServiceApplication"
/>
<item
itemvalue=
"Spring Boot.SpiritApplication"
/>
<item
itemvalue=
"Application.Pcm2Wav"
/>
</list>
<recent_temporary>
<list>
...
...
@@ -762,29 +785,30 @@
<workItem
from=
"1603963763155"
duration=
"6113000"
/>
<workItem
from=
"1604021010598"
duration=
"36409000"
/>
<workItem
from=
"1604281641386"
duration=
"26528000"
/>
<workItem
from=
"1604368728384"
duration=
"33551000"
/>
<workItem
from=
"1604368728384"
duration=
"33853000"
/>
<workItem
from=
"1604453789494"
duration=
"19544000"
/>
</task>
<servers
/>
</component>
<component
name=
"TimeTrackingManager"
>
<option
name=
"totallyTimeSpent"
value=
"10
57358
000"
/>
<option
name=
"totallyTimeSpent"
value=
"10
77204
000"
/>
</component>
<component
name=
"ToolWindowManager"
>
<frame
x=
"
354"
y=
"32"
width=
"1395"
height=
"1004"
extended-state=
"0
"
/>
<frame
x=
"
65"
y=
"-4"
width=
"1855"
height=
"1084"
extended-state=
"6
"
/>
<editor
active=
"true"
/>
<layout>
<window_info
id=
"Designer"
order=
"0"
/>
<window_info
id=
"Web"
order=
"1"
sideWeight=
"0.50236404"
side_tool=
"true"
weight=
"0.2847633"
/>
<window_info
id=
"UI Designer"
order=
"2"
/>
<window_info
id=
"Favorites"
order=
"3"
sideWeight=
"0.501182"
side_tool=
"true"
weight=
"0.17381656"
/>
<window_info
id=
"Structure"
order=
"4"
sideWeight=
"0.49763593"
weight=
"0.223
45954
"
/>
<window_info
id=
"Structure"
order=
"4"
sideWeight=
"0.49763593"
weight=
"0.223
02158
"
/>
<window_info
id=
"Image Layers"
order=
"5"
/>
<window_info
id=
"Capture Tool"
order=
"6"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"7"
sideWeight=
"0.49881798"
weight=
"0.2
576095
2"
/>
<window_info
content_ui=
"combo"
id=
"Project"
order=
"7"
sideWeight=
"0.49881798"
weight=
"0.2
296624
2"
/>
<window_info
id=
"Alibaba Cloud Explorer"
order=
"8"
weight=
"0.32988167"
/>
<window_info
anchor=
"bottom"
id=
"Message"
order=
"0"
/>
<window_info
anchor=
"bottom"
id=
"Find"
order=
"1"
weight=
"0.3404941"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.3
3372504
"
/>
<window_info
anchor=
"bottom"
id=
"Run"
order=
"2"
weight=
"0.3
039742
"
/>
<window_info
anchor=
"bottom"
id=
"Debug"
order=
"3"
weight=
"0.4"
/>
<window_info
anchor=
"bottom"
id=
"Cvs"
order=
"4"
weight=
"0.25"
/>
<window_info
anchor=
"bottom"
id=
"Inspection"
order=
"5"
weight=
"0.4"
/>
...
...
@@ -792,7 +816,7 @@
<window_info
anchor=
"bottom"
id=
"Version Control"
order=
"7"
/>
<window_info
anchor=
"bottom"
id=
"Run Dashboard"
order=
"8"
weight=
"0.32876712"
/>
<window_info
anchor=
"bottom"
id=
"Spring"
order=
"9"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"10"
weight=
"0.48
4136
3"
/>
<window_info
anchor=
"bottom"
id=
"Messages"
order=
"10"
weight=
"0.48
33512
3"
/>
<window_info
anchor=
"bottom"
id=
"Terminal"
order=
"11"
weight=
"0.5957697"
/>
<window_info
anchor=
"bottom"
id=
"Event Log"
order=
"12"
side_tool=
"true"
/>
<window_info
anchor=
"bottom"
id=
"Java Enterprise"
order=
"13"
weight=
"0.32941177"
/>
...
...
@@ -861,59 +885,6 @@
<option
name=
"version"
value=
"1"
/>
</component>
<component
name=
"editorHistoryManager"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TempPersonInfo.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"15"
column=
"27"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15"
selection-end-column=
"27"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/SpeakersApiRes.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"286"
>
<caret
line=
"17"
column=
"44"
selection-start-line=
"16"
selection-start-column=
"4"
selection-end-line=
"17"
selection-end-column=
"44"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TempSpeakersApi.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"15"
column=
"13"
selection-start-line=
"15"
selection-start-column=
"13"
selection-end-line=
"15"
selection-end-column=
"13"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/PersonInfo.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"242"
>
<caret
line=
"17"
column=
"52"
selection-start-line=
"17"
selection-start-column=
"52"
selection-end-line=
"17"
selection-end-column=
"52"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/repository/SpeakerInfoRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"330"
>
<caret
line=
"21"
column=
"9"
selection-start-line=
"21"
selection-start-column=
"9"
selection-end-line=
"21"
selection-end-column=
"9"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/repository/primary/AppUserTBRepository.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"308"
>
<caret
line=
"19"
column=
"78"
selection-start-line=
"19"
selection-start-column=
"76"
selection-end-line=
"19"
selection-end-column=
"78"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/tts_service/src/main/resources/lib/Msc.jar!/com/iflytek/cloud/speech/SpeechConstant.class"
/>
<entry
file=
"jar://$PROJECT_DIR$/tts_service/src/main/resources/lib/Msc.jar!/com/iflytek/cloud/speech/SpeechUtility.class"
/>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/ApachHttpUtils.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"134"
>
...
...
@@ -1002,20 +973,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-130"
>
<caret
line=
"206"
column=
"25"
selection-start-line=
"206"
selection-start-column=
"25"
selection-end-line=
"206"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"301"
>
<caret
line=
"54"
column=
"43"
selection-start-line=
"54"
selection-start-column=
"43"
selection-end-line=
"54"
selection-end-column=
"43"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/util/concurrent/CountDownLatch.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"293"
>
...
...
@@ -1109,19 +1066,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-1012"
>
<caret
line=
"70"
column=
"16"
selection-start-line=
"70"
selection-start-column=
"16"
selection-end-line=
"70"
selection-end-column=
"16"
/>
<folding>
<element
signature=
"e#15613#15614#0"
expanded=
"true"
/>
<element
signature=
"e#15690#15691#0"
expanded=
"true"
/>
<element
signature=
"e#15783#15784#0"
expanded=
"true"
/>
<element
signature=
"e#15838#15839#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/lang/String.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"293"
>
...
...
@@ -1163,30 +1107,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"234"
>
<caret
line=
"239"
column=
"58"
selection-start-line=
"239"
selection-start-column=
"58"
selection-end-line=
"239"
selection-end-column=
"58"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"13332"
>
<caret
line=
"696"
column=
"23"
selection-start-line=
"696"
selection-start-column=
"23"
selection-end-line=
"696"
selection-end-column=
"23"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"582"
>
<caret
line=
"61"
column=
"21"
selection-start-line=
"61"
selection-start-column=
"14"
selection-end-line=
"61"
selection-end-column=
"21"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-common/2.1.9/nls-sdk-common-2.1.9.jar!/com/alibaba/nls/client/AccessToken.class"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"388"
>
...
...
@@ -1211,13 +1131,6 @@
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"587"
>
<caret
line=
"53"
column=
"58"
selection-start-line=
"53"
selection-start-column=
"58"
selection-end-line=
"53"
selection-end-column=
"58"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-common/2.1.9/nls-sdk-common-2.1.9-sources.jar!/com/alibaba/nls/client/transport/netty4/NettyWebSocketClient.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"274"
>
...
...
@@ -1250,34 +1163,153 @@
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-tts/2.1.9/nls-sdk-tts-2.1.9.jar!/com/alibaba/nls/client/protocol/tts/SpeechSynthesizerListener.class"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
<caret
line=
"20"
column=
"11"
selection-start-line=
"20"
selection-start-column=
"11"
selection-end-line=
"20"
selection-end-column=
"11"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-common/2.1.9/nls-sdk-common-2.1.9-sources.jar!/com/alibaba/nls/client/transport/Connection.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"220"
>
<caret
line=
"24"
column=
"16"
selection-start-line=
"24"
selection-start-column=
"16"
selection-end-line=
"24"
selection-end-column=
"16"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-tts/2.1.9/nls-sdk-tts-2.1.9.jar!/com/alibaba/nls/client/protocol/tts/SpeechSynthesizer.class"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"480"
>
<caret
line=
"110"
column=
"21"
lean-forward=
"true"
selection-start-line=
"110"
selection-start-column=
"21"
selection-end-line=
"110"
selection-end-column=
"21"
/>
<folding>
<element
signature=
"e#3697#3698#0"
expanded=
"true"
/>
<element
signature=
"e#3730#3731#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/xiaoduhome/src/main/java/ai/qiwu/com/xiaoduhome/controller/UpLoadImgController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"220"
>
<caret
line=
"20"
column=
"13"
selection-start-line=
"20"
selection-start-column=
"13"
selection-end-line=
"20"
selection-end-column=
"13"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"93"
>
<caret
line=
"237"
column=
"71"
lean-forward=
"true"
selection-start-line=
"237"
selection-start-column=
"71"
selection-end-line=
"237"
selection-end-column=
"71"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#20013#20014#0"
expanded=
"true"
/>
<element
signature=
"e#20055#20056#0"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"469"
>
<caret
line=
"62"
column=
"22"
selection-start-line=
"62"
selection-start-column=
"15"
selection-end-line=
"62"
selection-end-column=
"22"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"667"
>
<caret
line=
"50"
column=
"107"
lean-forward=
"true"
selection-start-line=
"50"
selection-start-column=
"107"
selection-end-line=
"50"
selection-end-column=
"107"
/>
<state
relative-caret-position=
"352"
>
<caret
line=
"50"
column=
"74"
selection-start-line=
"50"
selection-start-column=
"74"
selection-end-line=
"50"
selection-end-column=
"74"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"266"
>
<caret
line=
"215"
column=
"25"
lean-forward=
"true"
selection-start-line=
"215"
selection-start-column=
"25"
selection-end-line=
"215"
selection-end-column=
"25"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTServiceEdition2.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
18964
"
>
<caret
line=
"
891"
column=
"112"
selection-start-line=
"891"
selection-start-column=
"112"
selection-end-line=
"891"
selection-end-column=
"112
"
/>
<state
relative-caret-position=
"
322
"
>
<caret
line=
"
607"
column=
"29"
lean-forward=
"true"
selection-start-line=
"607"
selection-start-column=
"29"
selection-end-line=
"607"
selection-end-column=
"29
"
/>
</state>
</provider>
</entry>
<entry
file=
"jar://$PROJECT_DIR$/../../../../maven/myRepository/com/alibaba/nls/nls-sdk-tts/2.1.9/nls-sdk-tts-2.1.9.jar!/com/alibaba/nls/client/protocol/tts/SpeechSynthesizerListener.class"
>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSUtils.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"2158"
>
<caret
line=
"670"
column=
"41"
lean-forward=
"true"
selection-start-line=
"670"
selection-start-column=
"41"
selection-end-line=
"670"
selection-end-column=
"41"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/DeployController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"308"
>
<caret
line=
"60"
lean-forward=
"true"
selection-start-line=
"60"
selection-end-line=
"60"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"220"
>
<caret
line=
"11"
column=
"28"
selection-start-line=
"11"
selection-start-column=
"13"
selection-end-line=
"11"
selection-end-column=
"28"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/UploadOneSenData.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"264"
>
<caret
line=
"
20"
column=
"11"
selection-start-line=
"20"
selection-start-column=
"11"
selection-end-line=
"20"
selection-end-column=
"11
"
/>
<caret
line=
"
16"
column=
"13"
selection-start-line=
"16"
selection-start-column=
"13"
selection-end-line=
"16"
selection-end-column=
"13
"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java"
>
<entry
file=
"jar://$PROJECT_DIR$/../../../../java/jdk1.8.0_211/src.zip!/java/nio/file/Path.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"631"
>
<caret
line=
"305"
column=
"12"
selection-start-line=
"305"
selection-start-column=
"12"
selection-end-line=
"305"
selection-end-column=
"12"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"447"
>
<caret
line=
"1502"
column=
"71"
lean-forward=
"true"
selection-start-line=
"1502"
selection-start-column=
"71"
selection-end-line=
"1502"
selection-end-column=
"71"
/>
<folding>
<element
signature=
"e#104460#104494#0"
/>
</folding>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"-161"
>
<caret
line=
"169"
column=
"25"
selection-start-line=
"169"
selection-start-column=
"25"
selection-end-line=
"169"
selection-end-column=
"25"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"667"
>
<caret
line=
"67"
column=
"53"
selection-start-line=
"67"
selection-start-column=
"53"
selection-end-line=
"67"
selection-end-column=
"53"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"594"
>
<caret
line=
"263"
column=
"62"
selection-start-line=
"263"
selection-start-column=
"62"
selection-end-line=
"263"
selection-end-column=
"62"
/>
</state>
</provider>
</entry>
<entry
file=
"file://$PROJECT_DIR$/tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/ChangeRecordVolume.java"
>
<provider
selected=
"true"
editor-type-id=
"text-editor"
>
<state
relative-caret-position=
"
601
"
>
<caret
line=
"2
48"
column=
"42"
selection-start-line=
"248"
selection-start-column=
"21"
selection-end-line=
"248"
selection-end-column=
"42
"
/>
<state
relative-caret-position=
"
440
"
>
<caret
line=
"2
0"
column=
"1"
lean-forward=
"true"
selection-start-line=
"20"
selection-start-column=
"1"
selection-end-line=
"20"
selection-end-column=
"1
"
/>
<folding>
<element
signature=
"imports"
expanded=
"true"
/>
<element
signature=
"e#4001#4040#0"
/>
</folding>
</state>
</provider>
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/common/CallPython.java
View file @
fdc76310
...
...
@@ -204,6 +204,43 @@ public class CallPython {
return
null
;
}
public
static
String
ffmpegExecuteGetResponse
(
String
arg
)
{
ProcessBuilder
processBuilder
=
new
ProcessBuilder
(
arg
.
split
(
" "
));
processBuilder
.
redirectErrorStream
(
true
);
//错误输出流合并到标准输出流中
StringBuilder
builder
=
new
StringBuilder
();
Process
process
=
null
;
try
{
//long startTime = System.currentTimeMillis();
process
=
processBuilder
.
start
();
process
.
waitFor
();
BufferedReader
reader
=
new
BufferedReader
(
new
InputStreamReader
(
process
.
getInputStream
()));
String
line
;
if
(
process
.
exitValue
()
!=
0
)
{
while
((
line
=
reader
.
readLine
())
!=
null
)
{
builder
.
append
(
line
);
}
if
(
builder
.
length
()
>
0
)
{
log
.
error
(
"ffmpegExecuteGetResponse 执行出错:{}"
,
builder
.
toString
());
return
null
;
}
}
else
{
while
((
line
=
reader
.
readLine
())
!=
null
)
{
builder
.
append
(
line
);
}
if
(
builder
.
length
()
!=
0
){
return
builder
.
toString
();
}
}
//log.info(Thread.currentThread().getName()+"耗时:"+(System.currentTimeMillis()-startTime));
}
catch
(
IOException
|
InterruptedException
e
)
{
log
.
info
(
"Error while running ffmpegExecuteGetResponse. {}"
,
e
.
getMessage
());
return
null
;
}
finally
{
if
(
process
!=
null
)
process
.
destroy
();
}
return
null
;
}
public
static
String
ffmpegExecute
(
String
arg
)
{
// log.warn("ffmpegExecute: "+arg);
ProcessBuilder
processBuilder
=
new
ProcessBuilder
(
arg
.
split
(
" "
));
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/common/TTSConstants.java
View file @
fdc76310
...
...
@@ -60,8 +60,9 @@ public interface TTSConstants {
}
interface
ALI_TTS
{
String
ACCESS_KEY_ID
=
""
;
String
ACCESS_KEY_SECRET
=
""
;
String
APP_KEY
=
"icp3h7cg9bmZ9jeL"
;
String
ACCESS_KEY_ID
=
"LTAI4G1dvpMi65PwN3WKCjVj"
;
String
ACCESS_KEY_SECRET
=
"R0J13fEPe1CYyC6pQTOLeiO1nO3pqN"
;
}
interface
Audio
{
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/common/pcm/Pcm2Wav.java
View file @
fdc76310
package
ai
.
qiwu
.
com
.
tts_service
.
common
.
pcm
;
import
ai.qiwu.com.tts_service.common.CallPython
;
import
ai.qiwu.com.tts_service.service.baidu.ThirdPartyService
;
import
lombok.extern.slf4j.Slf4j
;
import
org.apache.commons.lang3.StringUtils
;
import
javax.sound.sampled.AudioFileFormat
;
import
javax.sound.sampled.AudioFormat
;
...
...
@@ -50,7 +52,19 @@ public class Pcm2Wav {
// text = text.substring(7, text.length()-8);
// System.out.println(ThirdPartyService.proTencentTextSlice(text, 6));
String
expireDate
=
new
SimpleDateFormat
(
"yyyy-MM-dd HH:mm:ss"
).
format
(
new
Date
(
LocalDateTime
.
now
().
toEpochSecond
(
ZoneOffset
.
of
(
"+8"
))
*
1000L
));
System
.
out
.
println
(
"Token有效期的北京时间:"
+
expireDate
);
// String expireDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date(LocalDateTime.now().toEpochSecond(ZoneOffset.of("+8")) * 1000L));
// String expireDate = new SimpleDateFormat("yyyy-MM-dd HH:mm:ss").format(new Date(1604573187*1000L));
// System.out.println("Token有效期的北京时间:" + expireDate);
// String s = CallPython.ffmpegExecuteGetResponse("ffmpeg -i /home/yf01/下载/audioCut/changeVolumn.mp3 -filter_complex volumedetect -c:v copy -f null /dev/null");
// if (StringUtils.isNotBlank(s)) {
// int i = s.lastIndexOf("mean_volume");
// if (i != -1) {
// s = s.substring(i+12, s.indexOf("dB",i+12)+2);
// System.out.println("="+s);
// }
// }
System
.
out
.
println
(
String
.
format
(
"%.1f"
,
0.23
));;
}
}
tts_service/src/main/java/ai/qiwu/com/tts_service/controller/TTSController.java
View file @
fdc76310
...
...
@@ -2,6 +2,7 @@ package ai.qiwu.com.tts_service.controller;
import
ai.qiwu.com.tts_service.common.*
;
import
ai.qiwu.com.tts_service.pojo.*
;
import
ai.qiwu.com.tts_service.pojo.third.ChangeRecordVolume
;
import
ai.qiwu.com.tts_service.pojo.upload.UploadOneSenData
;
import
ai.qiwu.com.tts_service.repository.SpeakerInfoRepository
;
import
ai.qiwu.com.tts_service.service.*
;
...
...
@@ -238,6 +239,10 @@ public class TTSController {
String
tid
=
mulRequest
.
getParameter
(
"tid"
);
String
sampleRate
=
mulRequest
.
getParameter
(
"sampleRate"
);
String
bitRate
=
mulRequest
.
getParameter
(
"bitRate"
);
Boolean
customText
=
StringUtils
.
isBlank
(
mulRequest
.
getParameter
(
"customText"
))
?
false
:
Boolean
.
valueOf
(
mulRequest
.
getParameter
(
"customText"
));
if
(
Boolean
.
TRUE
.
equals
(
customText
))
{
tid
=
"-"
+
tid
;
}
UploadOneSenData
data
=
new
UploadOneSenData
(
Integer
.
valueOf
(
tid
),
botName
,
npcName
,
text
,
file
);
data
.
setBitRate
(
bitRate
);
data
.
setSampleRate
(
StringUtils
.
isBlank
(
sampleRate
)
?
44100
:
Integer
.
parseInt
(
sampleRate
));
...
...
@@ -251,8 +256,13 @@ public class TTSController {
}
@GetMapping
(
"/api/upload/record/one_sen"
)
public
ServerResponse
getAudioConfig
(
String
botName
,
String
npcName
,
String
text
)
{
return
ttService
.
getOneSenAudioConfig
(
botName
,
npcName
,
text
);
public
ServerResponse
getAudioConfig
(
String
botName
,
String
npcName
,
String
text
,
@RequestParam
(
required
=
false
)
String
onlyCheckExist
)
{
return
ttService
.
getOneSenAudioConfig
(
botName
,
npcName
,
text
,
onlyCheckExist
);
}
@PutMapping
(
"/api/record/volume"
)
public
ServerResponse
changeRecordVolume
(
@RequestBody
ChangeRecordVolume
volume
)
{
return
ttService
.
changeRecoedVolume
(
volume
);
}
// @GetMapping("/api/del/all/up")
...
...
@@ -374,6 +384,34 @@ public class TTSController {
ttService
.
delOneSen
(
data
,
response
,
head
);
}
@DeleteMapping
(
"/api/delete/one/audio"
)
public
void
delOneParticularAudio
(
String
text
,
String
npcName
,
String
mood
,
String
person
,
String
botAccount
,
String
secret
)
{
if
(
StringUtils
.
startsWith
(
secret
,
"qiwu"
)
&&
secret
.
length
()
==
8
)
{
String
fileName
=
TTSUtils
.
buildMP3Filename
(
text
);
if
(
StringUtils
.
isBlank
(
mood
))
{
String
path
=
Initialize
.
AUDIO_DIR
+
File
.
separator
+
botAccount
+
File
.
separator
+
Initialize
.
UPLOADED_DIR
+
File
.
separator
+
npcName
+
File
.
separator
+
fileName
;
try
{
Files
.
deleteIfExists
(
Paths
.
get
(
path
));
Files
.
deleteIfExists
(
Paths
.
get
(
path
+
".b64"
));
}
catch
(
IOException
e
)
{
}
}
else
{
String
pathPrefix
=
Initialize
.
AUDIO_DIR
+
File
.
separator
+
botAccount
+
File
.
separator
+
person
+
File
.
separator
+
mood
+
File
.
separator
;
try
{
Files
.
deleteIfExists
(
Paths
.
get
(
pathPrefix
+
fileName
));
Files
.
deleteIfExists
(
Paths
.
get
(
pathPrefix
+
fileName
.
substring
(
0
,
fileName
.
lastIndexOf
(
"."
))+
".wav"
));
Files
.
deleteIfExists
(
Paths
.
get
(
pathPrefix
+
fileName
+
".b64"
));
}
catch
(
IOException
e
)
{
}
}
}
}
/**
* 合成后的回调
* @param file 文件
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/third/ChangeRecordVolume.java
0 → 100644
View file @
fdc76310
package
ai
.
qiwu
.
com
.
tts_service
.
pojo
.
third
;
import
com.fasterxml.jackson.annotation.JsonIgnoreProperties
;
import
lombok.Getter
;
import
lombok.Setter
;
import
lombok.ToString
;
/**
* painter
* 20-11-4 下午9:13
*/
@Getter
@Setter
@ToString
@JsonIgnoreProperties
(
ignoreUnknown
=
true
)
public
class
ChangeRecordVolume
{
private
String
botName
;
private
String
npcName
;
private
String
text
;
private
Float
volume
;
}
tts_service/src/main/java/ai/qiwu/com/tts_service/pojo/upload/AudioConfigInfo.java
View file @
fdc76310
...
...
@@ -15,4 +15,5 @@ public class AudioConfigInfo {
private
String
duration
;
private
String
fileSize
;
private
String
bitRate
;
private
String
meanVolume
;
}
tts_service/src/main/java/ai/qiwu/com/tts_service/service/Initialize.java
View file @
fdc76310
...
...
@@ -125,7 +125,7 @@ public class Initialize implements InitializingBean {
/**
* 人工上传目录
*/
p
rivate
static
final
String
UPLOADED_DIR
;
p
ublic
static
final
String
UPLOADED_DIR
;
/**
* 删除缓存回调地址
*/
...
...
@@ -257,6 +257,8 @@ public class Initialize implements InitializingBean {
THIRD_PARTY_WITH_ITS_PER
.
put
(
"XunFei4"
,
"aisjinger"
);
//讯飞小婧
THIRD_PARTY_WITH_ITS_PER
.
put
(
"XunFei5"
,
"aisbabyxu"
);
//讯飞许小宝
THIRD_PARTY_WITH_ITS_PER
.
put
(
"Alyun1"
,
"Xiaoyun"
);
//阿里小云
xunfeiUseSSMLPerson
.
add
(
"XunFei1"
);
tencentProEnglishPerson
.
add
(
"101050"
);
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/service/LieHuSchedule.java
View file @
fdc76310
...
...
@@ -45,13 +45,13 @@ public class LieHuSchedule {
// LIE_HU_TOKEN_HEADER.put("Content-Type", "application/json");
}
@Scheduled
(
fixedDelay
=
18
00000
)
@Scheduled
(
fixedDelay
=
36
00000
)
public
void
scheduleALiTTSToken
()
{
if
(
accessToken
==
null
)
{
accessToken
=
new
AccessToken
(
TTSConstants
.
ALI_TTS
.
ACCESS_KEY_ID
,
TTSConstants
.
ALI_TTS
.
ACCESS_KEY_SECRET
);
try
{
accessToken
.
apply
();
log
.
warn
(
"阿里TTS token 超时时间:
"
+
accessToken
.
getExpireTime
());
log
.
warn
(
"阿里TTS token 超时时间:
{}, token:{}"
,
accessToken
.
getExpireTime
(),
accessToken
.
getToken
());
nlsClient
=
new
NlsClient
(
accessToken
.
getToken
());
}
catch
(
IOException
e
)
{
log
.
error
(
ExceptionUtils
.
getStackTrace
(
e
));
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/service/TTService.java
View file @
fdc76310
...
...
@@ -2,6 +2,7 @@ package ai.qiwu.com.tts_service.service;
import
ai.qiwu.com.tts_service.common.*
;
import
ai.qiwu.com.tts_service.pojo.*
;
import
ai.qiwu.com.tts_service.pojo.third.ChangeRecordVolume
;
import
ai.qiwu.com.tts_service.pojo.upload.AudioConfigInfo
;
import
ai.qiwu.com.tts_service.pojo.upload.UploadCallbackResponse
;
import
ai.qiwu.com.tts_service.pojo.upload.UploadOneSenData
;
...
...
@@ -1492,7 +1493,39 @@ public class TTService {
initialize
.
updateCache
();
}
public
ServerResponse
getOneSenAudioConfig
(
String
botName
,
String
npcName
,
String
text
)
{
public
ServerResponse
changeRecoedVolume
(
ChangeRecordVolume
recordVolume
)
{
if
(
StringUtils
.
isAnyBlank
(
recordVolume
.
getBotName
(),
recordVolume
.
getNpcName
())
||
recordVolume
.
getVolume
()
==
null
||
recordVolume
.
getVolume
()
<=
0
)
{
return
ServerResponse
.
createByErrorEnum
(
ResponseCode
.
DATA_IS_WRONG
);
}
if
(
recordVolume
.
getVolume
()
>
5
)
{
recordVolume
.
setVolume
(
5
f
);
}
String
volume
=
String
.
format
(
"%.1f"
,
recordVolume
.
getVolume
());
String
command
=
"sox -v "
+
volume
+
" "
;
if
(
StringUtils
.
isBlank
(
recordVolume
.
getText
()))
{
String
dir
=
StringUtils
.
join
(
new
String
[]{
Initialize
.
getAudioDir
(),
recordVolume
.
getBotName
(),
Initialize
.
getUploadedDir
(),
recordVolume
.
getNpcName
()},
File
.
separator
);
try
{
Files
.
list
(
Paths
.
get
(
dir
)).
filter
(
path
->
StringUtils
.
endsWith
(
path
.
getFileName
().
toString
(),
".mp3"
))
.
map
(
path
->
path
.
toAbsolutePath
().
toString
())
.
forEach
(
path
->
CallPython
.
soxiGetAudioConfig
(
command
+
path
+
" "
+
path
));
}
catch
(
Exception
e
)
{
log
.
error
(
"changeRecoedVolume error:{}, recordVolume:{}"
,
e
,
recordVolume
);
return
ServerResponse
.
createByErrorEnum
(
ResponseCode
.
ERROR
);
}
}
else
{
String
path
=
StringUtils
.
join
(
new
String
[]{
Initialize
.
getAudioDir
(),
recordVolume
.
getBotName
(),
Initialize
.
getUploadedDir
(),
recordVolume
.
getNpcName
(),
TTSUtils
.
buildMP3Filename
(
recordVolume
.
getText
())},
File
.
separator
);
if
(!
Files
.
exists
(
Paths
.
get
(
path
)))
{
return
ServerResponse
.
createByErrorMessage
(
"没有找到文本的人工语音文件,请确定您已上传过该文件"
);
}
CallPython
.
soxiGetAudioConfig
(
command
+
path
+
" "
+
path
);
}
return
ServerResponse
.
createBySuccess
();
}
public
ServerResponse
getOneSenAudioConfig
(
String
botName
,
String
npcName
,
String
text
,
String
onlyCheckExist
)
{
if
(
StringUtils
.
isAnyBlank
(
botName
,
npcName
,
text
))
{
return
ServerResponse
.
createByErrorEnum
(
ResponseCode
.
DATA_IS_WRONG
);
}
...
...
@@ -1501,6 +1534,9 @@ public class TTService {
if
(!
Files
.
exists
(
Paths
.
get
(
path
)))
{
return
ServerResponse
.
createByErrorMessage
(
"没有找到文本的人工语音文件,请确定您已上传过该文件"
);
}
if
(
StringUtils
.
isNotBlank
(
onlyCheckExist
))
{
return
ServerResponse
.
createBySuccess
();
}
String
command
=
"soxi "
+
path
;
String
response
=
CallPython
.
soxiGetAudioConfig
(
command
);
if
(
StringUtils
.
isNotBlank
(
response
))
{
...
...
@@ -1521,6 +1557,14 @@ public class TTService {
config
.
setDuration
(
duration
);
config
.
setFileSize
(
fileSize
);
config
.
setSampleRate
(
sampleRate
);
String
s
=
CallPython
.
ffmpegExecuteGetResponse
(
"ffmpeg -i "
+
path
+
" -filter_complex volumedetect -c:v copy -f null /dev/null"
);
if
(
StringUtils
.
isNotBlank
(
s
))
{
int
i
=
s
.
lastIndexOf
(
"mean_volume"
);
if
(
i
!=
-
1
)
{
s
=
s
.
substring
(
i
+
12
,
s
.
indexOf
(
"dB"
,
i
+
12
)+
2
);
config
.
setMeanVolume
(
s
);
}
}
return
ServerResponse
.
createBySuccess
(
config
);
}
return
ServerResponse
.
createBySuccess
(
response
);
...
...
tts_service/src/main/java/ai/qiwu/com/tts_service/service/baidu/ThirdPartyService.java
View file @
fdc76310
...
...
@@ -152,6 +152,9 @@ public class ThirdPartyService {
}
return
tecentTTS
(
per
,
text
,
filepath
);
}
case
"Alyun"
:
{
return
aliTTS
(
per
,
text
,
filepath
);
}
// 最大长度需小于8000字节,约2000汉字
case
"XunFe"
:
{
try
{
...
...
@@ -208,8 +211,8 @@ public class ThirdPartyService {
SpeechSynthesizer
synthesizer
=
null
;
try
{
//创建实例,建立连接。
synthesizer
=
new
SpeechSynthesizer
(
LieHuSchedule
.
nlsClient
,
getSynthesizerListener
());
synthesizer
.
setAppKey
(
TTSConstants
.
ALI_TTS
.
A
CCESS_KEY_ID
);
synthesizer
=
new
SpeechSynthesizer
(
LieHuSchedule
.
nlsClient
,
getSynthesizerListener
(
filepath
));
synthesizer
.
setAppKey
(
TTSConstants
.
ALI_TTS
.
A
PP_KEY
);
//设置返回音频的编码格式
synthesizer
.
setFormat
(
OutputFormatEnum
.
WAV
);
//设置返回音频的采样率
...
...
@@ -231,6 +234,7 @@ public class ThirdPartyService {
//等待语音合成结束
synthesizer
.
waitForComplete
();
log
.
info
(
"tts stop latency "
+
(
System
.
currentTimeMillis
()
-
start
)
+
" ms"
);
return
true
;
}
catch
(
Exception
e
)
{
log
.
error
(
ExceptionUtils
.
getStackTrace
(
e
));
}
finally
{
...
...
@@ -239,6 +243,7 @@ public class ThirdPartyService {
synthesizer
.
close
();
}
}
return
false
;
}
private
static
SpeechSynthesizerListener
getSynthesizerListener
(
String
filePath
)
{
...
...
@@ -279,6 +284,9 @@ public class ThirdPartyService {
try
{
fout
.
close
();
}
catch
(
Exception
e
){}
try
{
Files
.
deleteIfExists
(
Paths
.
get
(
filePath
));
}
catch
(
Exception
e
){}
log
.
error
(
"阿里TTS下载失败,task_id:{}, status:{}, status_text:{}"
,
response
.
getTaskId
(),
response
.
getStatus
(),
response
.
getStatusText
());
}
};
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment