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

Method setRoomDimensions

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

Source from the content-addressed store, hash-verified

101
102
103 fun playSoASet(prefix: String) {
104
105 var urlList = "["
106 for (i in 1 until 10) {
107 urlList += "'" + r.declareResource(prefix + "_$i.wav") + "', "
108 }
109 urlList += "]"
110
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" +

Callers

nothing calls this directly

Calls 1

executeMethod · 0.65

Tested by

no test coverage detected