Open arthur109 opened 7 years ago
Please implement 3d sound for headphones, stereo speakers..., preferably as simple as possible like:
playSound(soundFile,300,20);
with also a way to position where the ears are like:
camera.rightEar.position.x = 400; camera.rightEar.position.y = 410;
camera.leftEar.position.x = 300; camera.leftEar.position.y = 410;
(maybe even in relative pixels to the camera? so when the camera rotates the ears move with it?)
camera.relativeEars = true;
this would be greatly appreciated
Wouldn't you also need to specify the z-coordinate, even in a 2D sketch? (Since in a 2D sketch, you might want the user's ears to sit 100px back from the screen, say.)
Please implement 3d sound for headphones, stereo speakers..., preferably as simple as possible like:
playSound(soundFile,300,20);
with also a way to position where the ears are like:
camera.rightEar.position.x = 400; camera.rightEar.position.y = 410;
camera.leftEar.position.x = 300; camera.leftEar.position.y = 410;
(maybe even in relative pixels to the camera? so when the camera rotates the ears move with it?)
camera.relativeEars = true;
this would be greatly appreciated