MCPcopy Create free account
hub / github.com/OpenEndedGroup/Field2 / setRoomMaterial

Method setRoomMaterial

src/main/java/trace/graphics/remote/Space.kt:113–127  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

111 r.execute("Omnitone.createBufferList(audioContext, $urlList).then(function(v){ " +
112 "contentBuffer = Omnitone.mergeBufferListByChannel(audioContext, v)\n " +
113 "inputGain = audioContext.createGain()\n" +
114 "currentBufferSource = audioContext.createBufferSource();\n" +
115 "currentBufferSource.loop = true\n" +
116 "currentBufferSource.buffer = contentBuffer\n" +
117 "currentBufferSource.connect(inputGain)\n" +
118 "inputGain.connect(songbird.ambisonicInput)\n" +
119 "console.log(\'starting SoA source\')\n" +
120 "currentBufferSource.start()\n" +
121 " })")
122
123
124 }
125
126
127}

Callers

nothing calls this directly

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected