|
@@ -36,12 +36,13 @@ export default defineComponent({
|
|
|
() => speed.value,
|
|
|
() => {
|
|
|
// handleSetSpeed(speed.value);
|
|
|
- state.speed = Math.floor(speed.value);
|
|
|
+ state.speed = speed.value
|
|
|
// handleSetSpeed(speed.value);
|
|
|
if (state.playState === 'paused') {
|
|
|
// const currentItem: any = (state.sectionStatus && state.section.length === 2) ? state.sectionFirst || state.section[0] : state.times[state.activeNoteIndex];
|
|
|
const currentItem: any = state.times[state.activeNoteIndex];
|
|
|
state.basePlayRate = currentItem?.measureSpeed ? state.speed / currentItem.measureSpeed : state.speed / state.originSpeed;
|
|
|
+ // console.log('播放倍率2',state.basePlayRate)
|
|
|
}
|
|
|
}
|
|
|
);
|