This is a read-only snapshot of the ComputerCraft forums, taken in April 2020.
ChaddJackson12's profile picture

Record Importing & Custom Music ".ogg"

Started by ChaddJackson12, 21 December 2012 - 11:34 AM
ChaddJackson12 #1
Posted 21 December 2012 - 12:34 PM
Just so you know, I'm not sure if this has been suggested before!

I think that it would be VERY neat if there was a way implemented into computercraft that allowed someone to "import" or "burn" a disk.

To import a disk the person would simply insert a floppy disk/record, and be able to import it into the computer. This doesn't mean when they insert it, it does it right away, but perhaps there could be a program. The API for it would be in the disk API, and it would be "disk.import("side", "dest.") ". You wouldn't be able to edit the imported song, but when it would be ran it would play the song as if it were a record in the disk drive.

Also, I think you should be able to download custom music and put it onto a computer, like you can with one of the spoutcraft plugins. It would be something related with the "http,get()" thing, But could only be written, not edited. This would be useful for listening to your own music, but the extension would be .ogg. This means that you should also be able to put music onto a floppy disk. Or even an "iPod" or something like that.

To burn a disk you would do the same type of thing, but you would use "disk.write("filename", "side") ". However, you wouldn't be able to write to a record, only a floppy disk or something similar.

I don't know how you guys would feel about this, but I think that it would be really cool, and if it can't be added then there should be a peripheral made :3.
theoriginalbit #2
Posted 21 December 2012 - 01:02 PM
Please read stickies before making suggestions

http://www.computercraft.info/forums2/index.php?/topic/5713-suggestions-not-to-make/

Audio or anything to do with sound has been listed in the above topic.
ChaddJackson12 #3
Posted 21 December 2012 - 01:28 PM
Please read stickies before making suggestions

http://www.computerc...ns-not-to-make/

Audio or anything to do with sound has been listed in the above topic.
Ah, stupid mistake, sorry.
theoriginalbit #4
Posted 21 December 2012 - 01:53 PM
No problems :)/>