Skip to content

Commit 7d5357d

Browse files
committed
fixing audio etc
1 parent 2049ce0 commit 7d5357d

File tree

1 file changed

+1
-4
lines changed

1 file changed

+1
-4
lines changed

objectEditMenu.js

Lines changed: 1 addition & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -300,10 +300,7 @@ export function initializeObjectEditMenu(scene, camera, renderer, animationManag
300300
hideContextMenu();
301301
//add paper crumpling sound
302302
const audio = new Audio('./paper-crumple.mp3');
303-
audio.volume = 0.5; // Set volume to 50%
304-
//start audio .2 seconds in
305-
audio.currentTime = 0.2; // Start audio at 0.2 seconds
306-
audio.playbackRate = 1.5; // Set playback speed to 1.5x
303+
audio.volume = 0.85; // Set volume to 50%
307304
audio.play();
308305
});
309306

0 commit comments

Comments
 (0)