Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
W
wukong_finger
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
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
template admin
wukong_finger
Commits
cd37ecdd
Commit
cd37ecdd
authored
Oct 17, 2023
by
limingzhe
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: debug
parent
d8219af0
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
13 additions
and
1 deletion
+13
-1
wukong_finger.js
assets/wukong_finger/scene/wukong_finger.js
+13
-1
No files found.
assets/wukong_finger/scene/wukong_finger.js
View file @
cd37ecdd
...
...
@@ -2216,7 +2216,7 @@ showStartLight() {
this
.
readingEndWordArr
=
[];
this
.
readingWordArr
=
this
.
curReadingItem
.
content
.
split
(
"
"
);
this
.
readingWordArr
=
this
.
curReadingItem
.
content
.
split
(
""
);
const
smallContent
=
this
.
curReadingItem
.
content
.
toLowerCase
();
const
arr
=
smallContent
.
split
(
"
"
);
...
...
@@ -2234,6 +2234,13 @@ showStartLight() {
getRecordData
()
{
const
dataObj
=
{
"
audioUrl
"
:
""
,
"
eof
"
:
0
,
"
file
"
:
"
/storage/emulated/0/Android/data/com.intsig.android.dmeo/cache/shengtong/gradeVoice.mp3
"
,
"
result
"
:{
"
fluency
"
:
0
,
"
integrity
"
:
0
,
"
kernel_version
"
:
"
2.1.7
"
,
"
overall
"
:
0
,
"
pronunciation
"
:
0
,
"
resource_version
"
:
"
2.1.6
"
,
"
rhythm
"
:
0
,
"
speed
"
:
0
,
"
words
"
:[{
"
charType
"
:
0
,
"
scores
"
:{
"
overall
"
:
0
,
"
prominence
"
:
0
,
"
pronunciation
"
:
100
},
"
word
"
:
"
wan3
"
},{
"
charType
"
:
0
,
"
scores
"
:{
"
overall
"
:
0
,
"
prominence
"
:
0
,
"
pronunciation
"
:
100
},
"
word
"
:
"
shang4
"
}]},
"
tokenId
"
:
"
654365b133279375d9000001
"
}
if
(
dataObj
?.
result
?.
words
)
{
this
.
onRecord
(
dataObj
?.
result
?.
words
)
}
// let count = 0;
// const tempId = setInterval(() => {
// const index = Math.floor( Math.random() * this.readingWordArr.length );
...
...
@@ -2325,6 +2332,11 @@ showStartLight() {
startRecordToText
()
{
console
.
log
(
'
in startRecordToText 1
'
)
// this.getRecordData();
// return;
const
startRealtimeRecord
=
window
?.
courseware
?.
startRealtimeRecord
;
// const curContent = this.curReadingItem.content;
const
content_yb
=
this
.
curReadingItem
.
content_yb
;
...
...
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