NewCraftRank SitesA free website and storeMake yours ›
AshlarFree server software built on Paper, with DDoS and backdoor protection See Ashlar ›CommunityAsk questions, share builds and find people to play with Join the forum ›
Resources / Mods / CCSpeakerCodecs

CCSpeakerCodecs

Adds a collection of alternate transit codecs for CC: Tweaked speakers to improve audio quality.

ModsFree1.20
by JackMacWindows · listed from Modrinth
Download ›

Direct download from Modrinth · 10 downloads

What it does

CCSpeakerCodecs is a mod made by JackMacWindows. Adds a collection of alternate transit codecs for CC: Tweaked speakers to improve audio quality.

It supports Minecraft 1.20. It has been downloaded 10 times on Modrinth. The last update came out on May 7, 2026.

Supported versions

1.20

Release history

The newest is 0.1.1, released on May 7, 2026. It is made for Minecraft 1.20.1. It runs on Fabric and Forge. The download is 826 KB.

VersionReleasedMinecraftType
0.1.1May 7, 20261.20.1Beta

Latest release on GitHub

CCSpeakerCodecs is open source. Its newest release on GitHub is CCSpeakerCodecs 0.1.1, published on May 7, 2026.

  • Fixed options table being required

Before that: CCSpeakerCodecs 0.1 (May 7, 2026).

Description from the author on Modrinth

CCSpeakerCodecs

Adds a collection of alternative transit codecs for CC: Tweaked speakers to enhance audio quality.

Theory

CC: Tweaked speakers internally use the 1 bit per sample DFPWM codec in transit to reduce bandwidth while keeping a high audio sample rate. It works fairly well for audio mostly below ~2000 Hz with little high frequency components, but it starts to break down when the high-frequency components are important - for example, in a waveform with sharp edges (which create harmonics), such as square/sawtooth waves.

Since DFPWM has a pretty hard frequency shelf at 12 kHz, I figured that reducing the sample rate wouldn't have as much of an impact and would leave room to use a better codec like ADPCM. So that's what this mod does - it lets the user switch to higher bit depth codecs at the expense of sample rate.

All codecs are limited to up to the same 48 kbps rate as DFPWM, with the rate scaled down to fit. The speaker still takes in the same 48 kHz sample rate, but samples are skipped to hit the sample rate target - high-performance applications can ignore the skipped samples and set them to 0.

Over the network, the audio packets are made backwards compatible with clients and servers without this mod installed. Extended codec packets are encoded as empty DFPWM packets followed by the actual data, which makes unaware clients decode an empty packet when an unsupported codec is used. DFPWM codec packets remain the same format, so unaware clients still receive a valid packet & unaware servers are still sending a supported packet.

Codecs

Codec · b/sample · Sample rate · Speed · Quality
dfpwm · 1 · 48000 · ⭐⭐⭐⭐⭐ · ⭐
qoa · 3.2 · 12000 · ⭐⭐⭐⭐⭐ · ⭐⭐
adpcm2 · 2 · 24000 · ⭐⭐⭐ · ⭐⭐⭐
adpcm3 · 3 · 16000 · ⭐⭐⭐ · ⭐⭐⭐
adpcm · 4 · 12000 · ⭐⭐⭐ · ⭐⭐
adpcm5 · 5 · 9600 · ⭐⭐ · ⭐⭐
opus^ · * · 48000 · ⭐⭐⭐⭐ · ⭐⭐⭐⭐⭐
qoa+^ · 3.2 · 16000 · ⭐⭐⭐⭐⭐ · ⭐⭐⭐

^ Disabled by default.

Codec · chipneve.xm (chiptune, no interpolation) · Yahtzee.xm (low sample rate GBA module, linear interpolation) · Stereo Madness 2 (WAV, 48 kHz 16-bit)
dfpwm · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…
qoa · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…
adpcm2 · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…
adpcm3 · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…
adpcm · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…
adpcm5 · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo… · raw.githubusercontent.com/MCJack123/CCSpeakerCo…

Codec options

Some codecs accept additional options in a table passed as the second parameter to setAudioCodec. These are the following options available:

interpolation: boolean

Available in: qoa, adpcm2, adpcm3, adpcm, adpcm5

Sets whether the audio is interpolated (linearly) on the client side. Defaults to true.

Interpolation smoothens out the audio and makes it less crunchy, but the crunch may be desired for some audio, so the option is made available just in case.

bufferSize: number

Available in: opus

Controls the size of the audio buffer/minimum frame size in samples. May be any of 120, 240, 480, 960, or 1920. Defaults to 960.

Lower values will reduce the audio delay from buffering, but can cause clicks due to the smaller buffers having lower quality encoding. Notably, values of 120 and 240 are significantly worse than the higher values.

Usage

Simply call the new speaker.setAudioCodec(codec: string[, options: table]) method to set the codec. Future playAudio calls will use this codec automatically, with no format changes necessary.

License

The core mod is licensed under MPL 2.0, like CC:T. Portions are taken from third-party projects licensed under other terms - see LICENSE.txt for more info.

Written by JackMacWindows. Read it with pictures on Modrinth.

How to install CCSpeakerCodecs

  1. This mod is needed on both the server and every player who joins.

  2. Install Fabric and Forge for Minecraft 1.20.

  3. Add the mods it needs: CC: Tweaked.

  4. Download the .jar file from Modrinth and put it in the mods folder of your .minecraft directory.

  5. Start Minecraft with the Fabric profile.

  6. Easier: in Prism Launcher or the Modrinth App, search for CCSpeakerCodecs in your instance's mods and click Install. It adds the loader and the mods it needs for you.

Full guide: How to install Minecraft mods

Compatibility

Minecraft versions
1.20
Runs on
Fabric, Forge
Where it runs
Client and server
Edition
Java
Needs
CC: Tweaked
License
Free to use
Price
Free
Upkeep
Actively updated (Nov 10, 2026)

CCSpeakerCodecs compared with similar ones Compare all alternatives

ResourceDownloadsVersionsLast updatePrice
CCSpeakerCodecsthe one you looked at101.20May 7, 2026Free
Create Aeronautics: Freeze StaffDovorol441.212 days agoFree
FleroviumMoePus5.3M1.20 – 1.21Sep 26, 2026Free
QuarkVazkii26.3M1.12 – 1.2115 days agoFree

Questions

Does CCSpeakerCodecs work on Minecraft 26.x?

Not yet. The newest version it supports is Minecraft 1.20.

Is CCSpeakerCodecs free?

Yes. CCSpeakerCodecs is free to download from Modrinth.

Is CCSpeakerCodecs client-side or server-side?

Both. The server and every player need CCSpeakerCodecs installed.

Does CCSpeakerCodecs need anything else?

Yes: CC: Tweaked. Install it before CCSpeakerCodecs.

Is CCSpeakerCodecs still updated?

Yes. The last update came out in the past day.

What are the best alternatives to CCSpeakerCodecs?

The closest ones are Create Aeronautics: Freeze Staff, Flerovium and Quark. Compare all alternatives

Alternatives to CCSpeakerCodecs

Compare all alternatives ›

Reviews

–★★★★★
0 reviews
50
40
30
20
10

Log in to leave a review.