Skip to content

From StreamCore To WebAudio

Vurv edited this page May 4, 2021 · 8 revisions

This guide will help you convert your Streamcore contraptions / code to WebAudio easily!

Playing a stream parented to a prop

# StreamCore
E:streamStart(1, "<URL>")
# WebAudio
local Stream = webAudio("<URL>")
Stream:setParent(E) # or use parentTo
Stream:play()

Modifying an existing stream (Setting Volume to 50%)

# StreamCore
streamVolume(1, 0.5)
# WebAudio
Stream:setVolume(50)
Clone this wiki locally