|
@@ -79,7 +79,7 @@ const formatTimes = () => {
|
|
|
const rate = runtime.speed / detailState.baseSpeed //1
|
|
|
const start = difftime + (item.sourceRelativeTime || item.relativeTime) - starTime
|
|
|
const end = difftime + (item.sourceRelaEndtime || item.relaEndtime) - starTime
|
|
|
- console.log(start, end, starTime)
|
|
|
+ // console.log(start, end, starTime)
|
|
|
const isStaccato =
|
|
|
typeof note.voiceEntry.isStaccato === 'function' ? note.voiceEntry.isStaccato() : note.voiceEntry.isStaccato
|
|
|
const noteRate = isStaccato ? 0.5 : 1
|
|
@@ -148,8 +148,10 @@ const connect = async () => {
|
|
|
reactionTimeMs: parseFloat('' + SettingState.eva.reactionTimeMs) || 0,
|
|
|
speed: runtime.speed,
|
|
|
heardLevel: SettingState.eva.difficulty,
|
|
|
- beatLength: Math.round((RuntimeUtils.getFixTime(detailState.times[0].beatSpeed) * 1000) / rate),
|
|
|
+ // beatLength: Math.round((RuntimeUtils.getFixTime(detailState.times[0].beatSpeed) * 1000) / rate),
|
|
|
+ beatLength: Math.round(detailState.times[0].fixtime * 1000 / rate),
|
|
|
}
|
|
|
+ // console.log("🚀 ~ content:", content, rate)
|
|
|
const clientType = useClientType()
|
|
|
if (clientType === 'student') {
|
|
|
content.clientId = 'STUDENT'
|