disk.playAudio

From ComputerCraft
Jump to navigation Jump to search

disk.playAudio
Function
Syntax
disk.playAudio(
  • side or network name : string
)

Returns nil
API disk
Source CC:Tweaked (source)

Plays a music disk.

Error creating thumbnail: Unable to save thumbnail to destination
ExamplePlay music
Play the music disk in the top drive.
Code
disk.playAudio("top")