All Mods Resource Packs Data Packs Shaders Modpacks Plugins
Voice Chat Recording

Voice Chat Recording

by omiao • Downloads: 0 • Followers: 0
Description
Gallery
Changelog
Versions

A mod that allows recording player voices using Simple Voice Chat, and exposes an API to get and play them. Used by and made for the Revervox Mod

Features:

  • Start, Stop, Play commands
  • Saving audios in memory/drive in .pcm format
  • Audio manipulation effects like reverb, robotize and pitch

This mod aims to provide ground work for other modders to make, for example, horror mods, funny mods, or any mod that makes use of your voice to do stuff.

Credits:

  • Programming by: omiao, Nalien
  • Simple Voice Chat API by Max Henkel

All Versions

+ Add Version
Name Game version Platforms Published Downloads Actions
1.21.1
Neoforge
3mo ago 1
1.20.1
Forge
3mo ago 1
1.21.1
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
1.21.1
Neoforge
last yr. 1
1.20.1
Forge
last yr. 1
# Voice Chat Recording 2.1

This update focuses on back end changes, including a few breaking API changes

## Changes

  • Optimize audio caching, task scheduling, audio saving and audio playing
  • No longer spams the logs with cache messages
  • Fixes a few errors that could occur when a player in the server doesn't have voice chat installed
  • Fixes unnecessarily saving the same audio files multiple times when two mods save it around the same time
  • The mod is now server-side, so players can join a server with it without the mod installed themselves; this doesn't apply to Revervox

## API changes

  • VoiceChatRecordingApi.unsaveAudio no longer takes an IRecorded audio, taking a player and audio UUID instead
  • No longer uses Mojang's Pair for audio identification, instead uses a new class AudioId: this means VoiceChatRecordingApi.getNamespaceAudios now returns Set<AudioId> instead
  • AudioPlayer no longer exists, AudioPlayingUtil is preferred
# Voice Chat Recording 2.1

This update focuses on back end changes, including a few breaking API changes

## Changes

  • Optimize audio caching, task scheduling, audio saving and audio playing
  • No longer spams the logs with cache messages
  • Fixes a few errors that could occur when a player in the server doesn't have voice chat installed
  • Fixes unnecessarily saving the same audio files multiple times when two mods save it around the same time
  • The mod is now server-side, so players can join a server with it without the mod installed themselves; this doesn't apply to Revervox

## API changes

  • VoiceChatRecordingApi.unsaveAudio no longer takes an IRecorded audio, taking a player and audio UUID instead
  • No longer uses Mojang's Pair for audio identification, instead uses a new class AudioId: this means VoiceChatRecordingApi.getNamespaceAudios now returns Set<AudioId> instead
  • AudioPlayer no longer exists, AudioPlayingUtil is preferred
  • Fix: removed a variable to allow multiple mods to save the same audio;
  • saveAudio: return boolean to indicate whether audio was saved;
  • Optimized audio reading and writing.
# Different from pre-release:
  • Fix: removed a variable to allow multiple mods to save the same audio;
  • saveAudio: return boolean to indicate whether audio was saved;
  • Optimized audio reading and writing.

# 2.0 Changes
A big rework with lots of breaking changes, meaning mods that use versions from before 2.0 will no longer work with 2.0

## For players
The commands have changed, and are now mostly for debugging and checking if things are working. Each audio is now represented by the UUID of the player it comes from, and an UUID specific to that audio.

### Commands
To be able to play audios using /playVoice, you will now need to use /rememberAudios before saying whatever it is you want to play.
After, you can use /saveAudio to save that audio to disk, meaning it will be saved after you leave the server, and next time, use /rememberAudios followed by /loadAudio so that it is added to the list of playable audios. Remember to use /rememberAudios after you're done, as leaving it on for too long may lead to running out of memory for remembering too many audios.
You can also do /listAudios to see the audios that have been saved by mods: audios saved by voicechat_recording were likely saved through commands, not by any mod

/playVoice now has an extra argument to add audio effects to the audio, such as reverb, changing pitch, and a robotic voice.

### Configs
There are now more configs to control how audios are saved to disk. If you wish to, you can change things like how long to wait after a mod requests to save an audio to actually write it to disk (to have a period for other mods to save other audios at the same time), how long a loaded audio stays loaded in the API's internal cache, etc... You shouldn't need to do this, as the defaults are (hopefully) acceptable, but the option is there.
A big rework with lots of breaking changes, meaning mods that use versions from before 2.0 will no longer work with 2.0

## For players
The commands have changed, and are now mostly for debugging and checking if things are working. Each audio is now represented by the UUID of the player it comes from, and an UUID specific to that audio.

### Commands
To be able to play audios using /playVoice, you will now need to use /rememberAudios before saying whatever it is you want to play.
After, you can use /saveAudio to save that audio to disk, meaning it will be saved after you leave the server, and next time, use /rememberAudios followed by /loadAudio so that it is added to the list of playable audios. Remember to use /rememberAudios after you're done, as leaving it on for too long may lead to running out of memory for remembering too many audios.
You can also do /listAudios to see the audios that have been saved by mods: audios saved by voicechat_recording were likely saved through commands, not by any mod

/playVoice now has an extra argument to add audio effects to the audio, such as reverb, changing pitch, and a robotic voice.

### Configs
There are now more configs to control how audios are saved to disk. If you wish to, you can change things like how long to wait after a mod requests to save an audio to actually write it to disk (to have a period for other mods to save other audios at the same time), how long a loaded audio stays loaded in the API's internal cache, etc... You shouldn't need to do this, as the defaults are (hopefully) acceptable, but the option is there.
  • Adds Privacy Mode client config
  • Fixes up the task scheduler running too much
  • Fixes crashes on old forge versions
  • Updated to 1.21.1;
  • Added Privacy Mode Config
Initial Release
Voice Chat Recording Icon
Download Voice Chat Recording
Select game version
Select platform