A CC: Tweaked addon mod for Minecraft 1.21.1 (NeoForge), 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.
playVoice(text, rad) for distance-based speech broadcast.globalVoice(text) for cross-dimension, server-wide announcements.\uXXXX Unicode escape sequences.voice_finished event — Enables sequential multi-segment speech playback.open(mode) returns a Lua io-compatible file handle supporting read/write/writeLine/seek/close.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.tape_play_start / tape_play_end events for CC computers to listen on.cc.audio.dfpwm library output and raw ffmpeg DFPWM files.max(volume, 1.0) × 16 meters, with spherical distance attenuation. Upper limit configurable (default 3.0).Place a Computer adjacent to these existing blocks to use them as peripherals:
sign_display) — Read/write 4 lines of text on vanilla wood/iron signs.lectern_display) — Page-based read/write of Book & Quill on lecterns, with add/delete page support.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.