Index

OpenComputers

GitHub

Manual (English)

Manual (German)

Manual (Russian)

Manual (French)


Computronics

Blocks

Items


Minitel

Readme

Layer 3


PsychOS

Documentation

Builds


SKS Survival

Tape Drive

Do not insert Duct Tape.

The tape drive is a block that allows for playback and recording of audio data. Cassette tapes can be placed into the tape drive and come in durations of 2 to 128 minutes. Note that the tape drive isn't restricted purely to audio data - other types of data can be written to the cassette.

Due to the low filesize, Audio is recorded in the DFPWM format. Converting from MP3 or other common audio formats is tricky; however, it is possible to convert from WAV files to DFPWM using a program called LionRay. The converted audio file can then be written, byte-by-byte, to the cassette tape. More detailed information on DFPWM can be found on the wiki.

The tape drive also has a seek() function, allowing fast-forwarding to a specific point on the cassette tape. Providing a negative value to the seek() rewinds the cassette tape to an earlier point.

You can create a floppy disk called tape containing a program with the same name which allows for convenient reading, writing and playing of tapes.

If an audio cable is connected to the drive, it will send the audio signal generated through the cable while playing instead of generating sound itself.

Last updated at 2018/02/17 00:02 for version 3b40c012