Skip to content
CÄRE
DEVELOPER DOCUMENTATION
CREATIVE TAGLINE HERE?
SPLASH TEXT
HERE MAYBE?

care.temp.audio.newSource

Creates an audio source. (This is temporary and just here to test the API docs.)

Syntax

source = care.temp.audio.newSource(path)

Arguments

Name Type Description
path string Path to an audio file.

Returns

Name Type Description
source care.temp.audio.Source new audio source.

Example

local music = care.temp.audio.newSource('music.mp3')