Skip to content
Snippets Groups Projects
Commit 4bceb23e authored by netpro2k's avatar netpro2k
Browse files

Add audio spatialization

parent 1b0e2528
No related branches found
No related tags found
No related merge requests found
......@@ -9,7 +9,7 @@
</head>
<body>
<a-scene networked-scene="adapter: webrtc; audio: true;">
<a-scene networked-scene="adapter: easyrtc; audio: true; debug: true;">
<a-assets>
<img id="grid" src="https://img.gs/bbdkhfbzkk/stretch/https://i.imgur.com/25P1geh.png" crossorigin="anonymous">
<img id="sky" src="http://i.imgur.com/WqlqEkq.jpg" crossorigin="anonymous" />
......@@ -20,7 +20,7 @@
</script>
<script id="head-template" type="text/html">
<a-sphere color="#EF2D5E" position="0 1 0"></a-sphere>
<a-sphere color="#EF2D5E" position="0 1 0" networked-audio-source></a-sphere>
</script>
<script id="hand-template" type="text/html">
......
......@@ -1716,9 +1716,9 @@ negotiator@0.6.1:
version "0.6.1"
resolved "https://registry.yarnpkg.com/negotiator/-/negotiator-0.6.1.tgz#2b327184e8992101177b28563fb5e7102acd0ca9"
"networked-aframe@https://github.com/netpro2k/networked-aframe#02cc9b7a154f861e3ff96272823de4a8133bc2e4":
"networked-aframe@https://github.com/netpro2k/networked-aframe#feature/positional-audio":
version "0.3.0"
resolved "https://github.com/netpro2k/networked-aframe#02cc9b7a154f861e3ff96272823de4a8133bc2e4"
resolved "https://github.com/netpro2k/networked-aframe#48d4855b8b5043aaea3d67dfcb4ef8b79bfb82cd"
dependencies:
aframe-lerp-component "^1.1.0"
aframe-template-component "3.2.1"
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment