linguaperipherals-1.4.0.jar
Curse Maven Snippet
What's new
Release v1.4.0
New Features
Cassette Drive Audio Playback
- Stream DFPWM audio:
playTape()/pauseTape()/stopTape()/seekTape() saveAudio(audio)— encode PCM samples to DFPWM and write to cassette- Supports both CC-encoded and ffmpeg DFPWM formats
- Volume control:
setVolume(vol)/getVolume(), range 0.0–3.0, real-time during playback - Redstone pulse starts playback from beginning; comparator outputs play state (15/0)
tape_play_start/tape_play_endCC events- New config:
cassetteBroadcastAudio(broadcast to all online players),cassetteTapeSizeLimit(default 1MB),maxVolume
Narrator Enhancements
- Inherits all CC Speaker methods:
playNote()/playSound()/playAudio()/stop() - Retains
playVoice(text, rad)TTS - Creative narrator adds
globalVoice(text)global broadcast
Turtle Upgrades
- Narrator & Creative Narrator usable as Turtle upgrades (left/right hand slot)
- Side render model auto-registered
- Full narrator method access when equipped
Built-in Program
- New
cassettecommand (auto-loaded in CraftOS):play/pause/stop/label/volume/write/wget
Fixes
- Volume > 1.0 syncs range in real-time
setVolume()applies immediately during playback (CassetteVolumePayload)AudioReflectionuses Mojang mappings to avoid crashCassetteTapeFileHandlebinary encoding correction- Client audio race condition (push before play)
- Progress auto-resets after playback ends; auto-stop on removal/eject
Config
| Key | Type | Default | Description |
|---|---|---|---|
cassetteTapeSizeLimit |
int | 1048576 (1MB) | Tape file max size |
maxVolume |
double | 3.0 | Maximum volume |
cassetteBroadcastAudio |
boolean | false | Broadcast to all players |
New Files
peripheral/DfpwmEncoder.java— PCM→DFPWM encoderperipheral/EncodedAudio.java— encoded audio data blockblock/entity/DfpwmPlaybackController.java— tape streaming controllernetwork/CassetteAudioPayload.java/CassetteVolumePayload.java— network packetsclient/audio/CassetteAudioStream.java/CassetteSound.java/CassetteAudioManager.java— client playback pipelineturtle/TurtleNarrator.java/TurtleCreativeNarrator.java— Turtle upgradesinit/ModTurtleUpgrades.java— upgrade registry
All Relations
- All Relations
- Embedded Library
- Optional Dependency
- Required Dependency
- Tool
- Incompatible
- Include

