Lingua Peripherals
ModCC:Tweaked addon for TTS, displays, and audio playback
Description
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
\uXXXXUnicode escape sequences. - Online converter — Unicode escape converter, paste Chinese → instant CC-compatible output.
voice_finishedevent — 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 Luaio-compatible file handle supportingread/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. saveAudioAPI — 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_endevents for CC computers to listen on. - Audio sources — Supports both CC
cc.audio.dfpwmlibrary output and raw ffmpeg DFPWM files. - Volume system — Audible range =
max(volume, 1.0) × 16meters, 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
- GitHub: github.com/Dr-Asm/Lingua-Peripherals
- Unicode escape converter: unicode-converter.soe-hentai.win
- MCMod (MCMOD.cn): https://www.mcmod.cn/class/28025.html
Compatibility
Mod Loaders
Game Versions
Recommended Gear
AffiliateHardware and extras that pair well with this mod.
As an Amazon Associate I earn from qualifying purchases.
Similar Mods
Micalibria
Library mod for Micalobia's mods
VSplit
VSplit allows your ValkyrisnSkies ships separate after blocks disconnect
The stalker
This project adds atmospheric stalker entities that silently observe players from the shadows. These mysterious beings...
TFCFertigation
TFCFertigation is an agriculture-focused addon for TerraFirmaCraft, built around liquid fertilizers, herbicides, fertiga...
Ambience Pokemon Mystery Dungeon: Explorers of Sky Music Pack
A music pack for Ambience, which uses the soundtrack from Pokemon Mystery Dungon: Explorers of Sky
All the Flags
Adds all the flags in the world to minecraft!