CC Audio Expand
by huali12381
CC Audio Expand extends the speaker peripheral of CC: Tweaked with higher-quality PCM audio playback and smoother synchronization.
What it does
Computers in CC: Tweaked can play sound through a speaker peripheral, and CC Audio Expand changes how that playback is handled. It adds PCM playback in three sample formats: 16-bit signed little-endian, 8-bit unsigned and 8-bit signed. The mod is aimed at audio synchronization and playback smoothness problems that the vanilla speaker implementation of CC: Tweaked exhibits, and it references upstream CC: Tweaked issues it addresses.
Playback timing works from server-side timestamps. Each packet of audio is stamped with the time the server sent it, and when the client finds packets waiting in its queue for longer than 200 milliseconds it discards them. After lag, the server catches up with its playback progress rather than continuing to fall behind. The pump strategy wakes the audio engine earlier, and a keep-alive mechanism reduces pauses of about one second in audio reception. The mod needs CC: Tweaked, and it runs on client and server, so both the server and every player need it. Files are published for Forge and NeoForge, covering 1.20.1 and 1.21.1, and the code is released under the MIT License as open source.
Key features
PCM sample formats
Playback accepts 16-bit signed little-endian, 8-bit unsigned and 8-bit signed PCM data for speaker output.
Timestamp-based synchronization
Each packet is stamped with a server-side send time, which the client uses to keep playback aligned.
Stale data skipping
The client discards queued audio that has waited more than 200 milliseconds, so playback does not drift behind.
Fast recovery
After lag, playback catches up with the server's progress instead of continuing from the delayed position.
Keep-alive and earlier wake-up
An engine wake-up that runs earlier and a persistent keep-alive mechanism reduce audio reception pauses of about one second.
Compatibility
Latest build for each game version and loader.
Only full game releases are shown. This mod publishes no snapshot builds.
Requirements
Dependencies declared by the latest file for each loader.
Required 1
Use cases
Who it’s for: Players who run music or sound from computers on servers that use CC: Tweaked speakers will notice the change in playback. Server owners install it alongside CC: Tweaked on the server and on every client that joins.
Questions
Does CC Audio Expand need CC: Tweaked?
Does the server need the mod as well as the players?
What the author says
CC Audio Expand adds high-quality PCM audio playback support to ComputerCraft: Tweaked's speaker peripheral, solving audio synchronization and playback smoothness issues in the vanilla implementation.
Official listing
- Modrinth page
- modrinth.com/mod/cc-audio-expand
- Owner
- huali12381
- Published
- 2026-07-21
- Updated on Modrinth
- 2026-07-22
- Facts verified
- 2026-10-15
