Audio Player for Computercraft

Started by GroupXyz, Feb 04, 2024, 09:46 PM

Previous topic - Next topic

GroupXyz

Hello, here is my audioplayer script!

You will require a computer and a speaker placed next to it, then run this command:
pastebin get https://pastebin.com/q9M7z9nz audioplayer
Now run 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.

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.

Update-history:
2.0: Added repeat option

QuickMuffin8782

Quote from: GroupXyz on Feb 04, 2024, 09:46 PMImportant:
To add new audiofiles, you have to convert them into DFPWM format which this website does for example (please note, this website is not mine and i am not responsible for changes with it):

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

Pretty nice, however there is one website dedicated for converting. (It's open source though I've downloaded it via HTTTrack for offline use) It's located here if you are wondering.
GOTTA GO FAST!!!! - Sunrise Studios now calling testers! Check the post!
Gitlab - Join my official discord! - SS Discord

GroupXyz

Quote from: QuickMuffin8782 on Feb 11, 2024, 04:39 AMPretty nice, however there is one website dedicated for converting. (It's open source though I've downloaded it via HTTTrack for offline use) It's located here if you are wondering.

Thank you, i will include it