Main Menu

Synced Audioplayer

Started by GroupXyz, Dec 12, 2024, 08:20 PM

Previous topic - Next topic

GroupXyz

Hello, as i came back to Computercraft, i made a new version of my original audioplayer script, which syncronizes between different computers with their speakers (if you only need a single, please use my old version, as it is more polished: single speaker):

You will require a computer and a speaker placed next to it, as well as a modem if you want to network, then run this command on each computer you want to use:
pastebin get https://pastebin.com/qb7qj169 synced_audioplayer
Now run synced_audioplayer and it will generate a folder called "sounds/" where you place your audiofiles.
After you added audiofiles (see below), audioplayer will list them and give you the option to play them.
The script needs to run on every computer.

Important:
To add new audiofiles, you have to convert them into DFPWM format which these websites do for example (please note, these websites are not mine and i am not responsible for changes with them):

https://music.madefor.cc/
https://remote.craftos-pc.cc/music/

Now copy the output link and do:
wget (link) (filename)
You can just move it into the sounds/ folder and it will be detected by the script when you start it.