Lingua Peripherals

Lingua Peripherals

CC:Tweaked addon for TTS, displays, and audio playback

1 510 downloads 2 followers

Lingua Peripherals

A CC: Tweaked addon mod for Minecraft 1.21.1 (NeoForge) and 1.20.1 (Forge), adding language-related peripherals controllable via Computers. From text-to-speech to data display, from file storage to audio playback β€” Lingua Peripherals enriches the CC:Tweaked ecosystem with speech, text, and audio capabilities.


Features

πŸ—£ Speech Synthesis

  • Narrator β€” A TTS block using Minecraft's built-in Narrator system. Exposed as a CC peripheral with playVoice(text, rad) for distance-based speech broadcast.
  • Creative Narrator β€” An indestructible variant with globalVoice(text) for cross-dimension, server-wide announcements.
  • Chinese text support β€” Input non-ASCII characters via \uXXXX Unicode escape sequences.
  • Online converter β€” Unicode escape converter, paste Chinese β†’ instant CC-compatible output.
  • voice_finished event β€” Enables sequential multi-segment speech playback.
  • Configurable β€” Max range (default 128 blocks) and speech frequency interval adjustable via config file.

πŸ“€ Cassette Drive & Audio Playback

  • Cassette Drive β€” A single-slot drive block that accepts cassette tapes. Functions as a CC peripheral with data I/O and DFPWM audio playback.
  • Cassette Tape β€” A dyeable item in 16 colors, crafted with dyes in a crafting table. Stores up to 1 MB of data (configurable).
  • Data I/O API β€” open(mode) returns a Lua io-compatible file handle supporting read/write/writeLine/seek/close.
  • Audio playback API β€” playTape() / pauseTape() / stopTape() / seekTape(seconds) control DFPWM audio playback. Position and volume can be queried and adjusted in real time.
  • saveAudio API β€” Encode a PCM sample table directly from CC code to DFPWM format and write it to tape.
  • Redstone control β€” A redstone pulse triggers playback from the beginning; comparator outputs strength 15 while playing.
  • Playback events β€” tape_play_start / tape_play_end events for CC computers to listen on.
  • Audio sources β€” Supports both CC cc.audio.dfpwm library output and raw ffmpeg DFPWM files.
  • Volume system β€” Audible range = max(volume, 1.0) Γ— 16 meters, with spherical distance attenuation. Upper limit configurable (default 3.0).

πŸ“Ί Display Peripherals (zero new blocks)

Place a Computer adjacent to these existing blocks to use them as peripherals:

  • Sign Display (sign_display) β€” Read/write 4 lines of text on vanilla wood/iron signs.
  • Lectern Display (lectern_display) β€” Page-based read/write of Book & Quill on lecterns, with add/delete page support.
  • Flap Display (flap_display) β€” Control Create mod's Flap Displays. Only enabled when Create is detected at runtime.

All display peripherals support \uXXXX Unicode escape sequences for Chinese text input.

πŸ”§ General

  • Wrench support β€” Right-click to rotate blocks; Shift + right-click to dismantle and return to inventory.
  • JEI integration β€” 16 cassette tape subtypes by dye color, visible in recipe book.
  • Multi-language β€” δΈ­ζ–‡, English, ζ—₯本θͺž, ν•œκ΅­μ–΄.
  • Crafting recipes β€” Narrator (CC Speaker + Skull); Cassette Drive and Cassette Tape are craftable.
  • License β€” CC BY-NC-SA 4.0.

Links

No gallery available for this project.

Version Minecraft Loader Download

Lingua Peripherals 2.0.2

2.0.2

1.20.1
forge
Download

Lingua Peripherals 2.0.1

2.0.1

1.21.1
neoforge
Download

Lingua Peripherals 2.0.1

2.0.1

1.20.1
forge
Download

Lingua Peripherals 1.4.0

1.4.0

1.21.1
neoforge
Download

Lingua Peripherals 1.3.1

1.3.1

1.21.1
neoforge
Download