?️ DreamVoice
专为 Minecraft (Paper、Fabric 与 NeoForge) 上 Simple Voice Chat 打造的终极空间音频、声学物理与语音智能扩展!
将真实的声学生理物理、隔音房间、离线 AI 语音识别、关键词检测(KWS)、3D 定向扬声器、隐蔽间谍麦克风、对讲机无线电、热重载 DSP 语音滤波器、实时声学可视化器以及可播放的音频磁带直接引入你的 Minecraft 服务器。
? 什么是 DreamVoice?
DreamVoice 将基于距离的语音聊天转变为真正沉浸式、次世代的音频体验。它专为 角色扮演服务器、生存 SMP、侦探与解谜游戏以及叙事小游戏 设计,填补了 Minecraft 机制与现实世界音频物理及语音识别之间的空白。
对 Paper / Purpur 服务器(作为插件)、Fabric 服务器(作为模组)和 NeoForge 服务器(作为模组)提供全面的一流支持,声音不再能神奇地穿透厚墙——它会绕过敞开的门口传播,穿过固体材料时变得沉闷,在隔音房间内衰减,并与环境进行真实的交互。
玩家可以通过大声说出关键词来触发游戏内事件,在讲台前分析录音带以生成书面书,使用游戏内 3D 可视化器实时检查声学效果,并将音频导出为 MP3/OGG/WAV 文件。外部的生存和技术模组甚至可以制作可合成的扬声器、间谍窃听器、对讲机和磁带播放器,这些设备能与 DreamVoice 无缝对接。
✨ 核心功能
? 1. 逼真的声学物理与隔音墙 (VoiceWall)
- 智能声音遮挡:声音在实心石头、木头、玻璃和金属方块后会真实停止或变闷(
STRICT_BLOCK 或 REALISTIC 模式)。
- 声学路径规划与衍射:声音自然通过敞开的门、窗传播,并绕过拐角。
- 高频空气阻尼:远处的声音自然会失去高频部分,随着距离增加,听起来更温暖且在开放空气中变得沉闷。
- 视觉粒子调试:通过
/voicewall debug [player] 或 /voice wall debug 命令,利用视觉粒子和动作栏统计数据实时检查射线投射声音传播。
?️ 2. 实时 3D 声学可视化器 (/voice visualizer)
- 实时 3D 射线投射:实时渲染动态粒子流,显示视线内的声音路径、墙壁碰撞影响、孔径衍射路线以及扬声器的可听覆盖球体。
- 注重性能的手持模式:为了保护客户端 FPS 并消除视觉杂乱,粒子仅在检视玩家主手持有可视化器工具(指南针)时渲染。
? 3. 声学房间与隔音区域
- 隔音与混响区域:定义具有自定义隔离百分比 (
isolationPct) 和混响参数 (decay, roomSizeMs, wetGain) 的空间长方体。
- 声学预设:内置预设(
soundproof, studio, cathedral, bunker)。
- 动态滤镜堆叠:进入特定房间时自动应用人声效果(例如闷音、回声、洞穴混响),离开时移除。
?️ 4. 语音识别与实时关键词检测 (KWS)
- 实时关键词检测:由离线 Vosk 模型驱动的轻量级后台关键词检测,采用受限语法(
[unk],零幻觉)。
- 语音激活事件:触发自定义角色扮演法术、语音激活的门、密码和小游戏机制。
- 智能音频门控:RMS 噪声门 (
minEnergyThreshold) 和在暂停时的自动语音缓冲区清除 (silenceResetMs),以消除虚假检测。
- 交互式磁带转录站:用音频磁带右键点击讲台或唱片机,即可分析语音并接收带有时间戳和说话者姓名的分页 Written Book。
- 混合引擎:完全在 JVM 内部离线运行(Vosk),也可以将转录任务卸载到外部 Whisper Sidecar 容器。
? 5. 3D 定位扬声器与物理广播
- 在世界中的静态坐标处放置定向 3D 扬声器。
- 附加到实体:将扬声器安装在移动载具、无人机、ArmorStand 或 NPC 上!
- 双声道:一边通过麦克风说话,一边同时播放背景音乐/音效,互不干扰。
- 讲台与对讲广播:广播点将在捕获半径内向目标扬声器或整个服务器路由声音(
/voice broadcast)。
? 6. 语音投影与安全摄像头
- 将你的声音远程投射到任何目标方块或移动实体。
- 听到摄像头或远程点听到的内容——非常适合 CCTV 安全摄像头、对讲机、监控无人机 或魔法投影。
?️ 7. 隐蔽监听与间谍窃听器
- 在秘密坐标种植隐藏麦克风,或将窃听器直接安装在 NPC 或玩家身上。
- 实时监听秘密对话,或直接将其录制到游戏内的磁带中!
- 跨模块传播:监听器会真实拦截从语音投影发出的声音。
? 8. 音频磁带与多格式音频导出
- 使用 零 CPU 直接 Opus 流式传输 (
OpusAudioPlayer) 录制实时语音对话。
- 生成一个 物理磁带物品,玩家可以拿在手中,通过右键点击播放或加载到 3D 扬声器中。
- 异步音频导出:通过
/voice record export 命令将任何会话录音直接导出为 MP3、OGG 或 WAV 文件。
- 时间轴切片:从任何录音中提取特定片段或最后 N 秒(
/voice record slice)。
? 9. 对讲机与无线电频道
- 将玩家连接到特定的无线电频率频道,用于团队战术通讯、警察调度或生存对讲机。
- 逼真的模拟带通滤波器(300 Hz - 3400 Hz)以及按下通话键时的麦克风咔哒声。
- 定向发射器:点对点语音传输,范围可自定义。
?️ 10. 动态 DSP 语音滤镜与文件优先管道
- 使用 13 种内置滤镜(
alien、cave、deep、disguise、gasmask、ghost、helium、megaphone、muffled、radio、robot、telephone、underwater)实时变换玩家语音。
- 热重载文件 (
.yml, .json, .java):
- 声明式 DSP 管道(
lowpass、highpass、gain、overdrive、ring_modulator、delay/echo)。
- 针对自定义
.java 滤镜源文件的即时 JDK 编译。
- 滤镜导出器:将活动滤镜导出为管道 YAML/JSON 或 Java 源文件(
/voice filter export)。
- 内置 软膝动态限制器 可防止麦克风削波和失真。
?️ 11. 交互式配置 GUI (/voice config)
- 打开完整的可视化 GUI 仪表板,无需触碰配置文件即可配置和监控所有模块。
- 交互式工具(Echo Shard)可实时定位实体、方块或位置。
? 12. 跨模组网络数据包与生态系统 (Fabric & NeoForge)
- 40+ 个自定义数据包 (
@DreamPacket),允许第三方生存、科技和伴生模组创建和控制扬声器、窃听器、收音机、磁带和滤镜,而无需硬编译依赖。
?️ 快速命令参考
所有命令均支持统一的 /voice <module> <action> 语法以及便捷的直接别名(/radio、/speaker、/record 等)。
| 统一命令 |
直接别名 |
描述 |
/dv status |
/voice status |
显示系统状态和活动模块计数 |
/voice config |
— |
打开交互式可视化配置 GUI |
/voice visualizer [toggle|on|off] |
— |
切换 3D 声学可视化器(需要手持工具) |
/dv reload [module] |
/voice reload |
重新加载配置、保存的数据或两者 |
/voice wall mode <strict|realistic|off> |
/voicewall mode |
更改隔音墙物理模式 |
/voice wall debug [player] |
/voicewall debug |
切换可视化粒子声音路径诊断 |
/voice room list / /voice room delete <id> |
/room list |
列出和管理声学房间 |
/voice filter list |
/filter list |
列出活动的语音滤镜 |
/voice filter apply <filter> [player] |
/filter apply |
对玩家应用语音滤镜 |
/voice speech status |
/speech status |
显示语音识别引擎和模型状态 |
/voice speech keywords |
/speech keywords |
显示活动的关键词检测列表 |
/voice speaker create <name> [dist] |
/speaker create |
在你所在位置创建一个 3D 扬声器 |
/voice speaker play <name> <source> |
/speaker play |
通过扬声器播放音频、录音或网页 URL |
/voice speaker link <name> [player] |
/speaker link |
将玩家麦克风链接到扬声器广播 |
/voice wiretap create <name> [dist] |
/wiretap create |
放置一个隐蔽的窃听监听器 |
/voice wiretap listen <name> |
/wiretap listen |
连接玩家进行实时窃听 |
/voice wiretap cassette <name> |
/wiretap cassette |
提供来自窃听录音的磁带 |
/voice projection create [dist] |
/projection create |
创建语音投影 / 身体锚点 |
/voice radio join <channel> |
/radio join |
调谐到无线电频率频道 |
/voice radio leave |
/radio leave |
离开当前无线电频率频道 |
/voice transmitter enable|disable |
/transmitter enable|disable |
切换点对点语音发射器 |
/voice record start / /voice record stop |
/record start|stop |
录制语音并保存 .dv 二进制捕获 |
/voice record cassette <id> |
/record cassette |
提供一个可播放的物理磁带物品 |
/voice record export <id> <mp3|ogg|wav> |
/record export |
将录音导出为 MP3、OGG 或 WAV |
? 安装
适用于 Paper / Purpur 服务器:
- 确保你的服务器运行 Paper 或 Purpur(版本 26.1.2+ 且 Java 25+)。
- 安装 Simple Voice Chat (2.6.20+)。
- 将
DreamVoice.jar 放入服务器的 plugins/ 目录中。
- 重启服务器。
适用于 Fabric 服务器:
- 确保你的服务器运行 Fabric Loader 0.19.3+ 用于 Minecraft 26.1.2+ 且 Java 25+。
- 安装 Fabric API 和 Simple Voice Chat Fabric。
- 将
DreamVoice-fabric-2.0.2.jar 放入服务器的 mods/ 目录中。
- 重启服务器。
适用于 NeoForge 服务器:
- 确保你的服务器运行 NeoForge 26.1.2+ 用于 Minecraft 26.1.2+ 且 Java 25+。
- 安装 Simple Voice Chat NeoForge。
- 将
DreamVoice-neoforge-2.0.2.jar 放入服务器的 mods/ 目录中。
- 重启服务器。
? 开发者 API
DreamVoice 包含一个统一的公共 API (DreamVoiceAPI.get()),用于构建自定义插件、Fabric 模组、NeoForge 模组和小游戏。
? Gradle Kotlin DSL (build.gradle.kts)
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("com.github.Dreamin-MC.DreamVoice:api:2.0.2")
}
? Gradle Groovy (build.gradle)
repositories {
mavenCentral()
maven { url = "https://jitpack.io" }
maven { url = "https://repo.papermc.io/repository/maven-public/" }
}
dependencies {
compileOnly "com.github.Dreamin-MC.DreamVoice:api:2.0.4"
}
? Maven (pom.xml)
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.Dreamin-MC.DreamVoice</groupId>
<artifactId>api</artifactId>
<version>2.0.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
? 许可与链接
?️ DreamVoice
The ultimate spatial audio, acoustic physics & speech intelligence expansion for Simple Voice Chat on Minecraft (Paper, Fabric & NeoForge)!
Bring real sound physics, soundproof rooms, offline AI speech recognition, keyword spotting, 3D directional speakers, covert spy microphones, walkie-talkie radios, hot-loadable DSP voice filters, real-time acoustic visualizer, and playable audio cassette tapes directly into your Minecraft server.
? What is DreamVoice?
DreamVoice transforms proximity voice chat into a truly immersive, next-generation audio experience. Designed for Roleplay servers, Survival SMPs, Investigation & Mystery games, and Narrative Minigames, it bridges the gap between Minecraft mechanics and real-world audio physics and speech recognition.
With full first-class support for Paper / Purpur servers (as a plugin), Fabric servers (as a mod), and NeoForge servers (as a mod), sound no longer magically passes through thick walls—it bends around open doorways, muffles through solid materials, attenuates inside soundproof rooms, and interacts realistically with the environment.
Players can trigger in-game events by speaking keywords out loud, analyze recorded tapes on lecterns to generate written books, inspect acoustics in real-time with an in-game 3D visualizer, and export audio into MP3/OGG/WAV files. External survival and tech mods can even create craftable speakers, spy bugs, walkie-talkies, and cassette players that interface seamlessly with DreamVoice.
✨ Core Features
? 1. Realistic Sound Physics & Soundproof Walls (VoiceWall)
- Smart Sound Occlusion: Sound realistically stops or muffles behind solid stone, wood, glass, and metal blocks (
STRICT_BLOCK or REALISTIC).
- Acoustic Pathfinding & Diffraction: Sound naturally travels through open doors, windows, and bends around corners.
- High-Frequency Air Damping: Distant voices naturally lose high frequencies, sounding warmer and muffled through open air over distance.
- Visual Particle Debugging: Check raycast sound propagation in real-time with visual particles and action bar stats via
/voicewall debug [player] or /voice wall debug.
?️ 2. Real-Time 3D Acoustic Visualizer (/voice visualizer)
- Live 3D Raycasting: Renders dynamic particle streams in real-time showing line-of-sight sound paths, wall collision impacts, aperture diffraction routes, and speaker audible coverage spheres.
- Performance-Conscious Hand-Held Mode: To protect client FPS and eliminate visual clutter, particles render only when the inspecting player holds the visualizer tool (Compass) in their main hand.
? 3. Acoustic Rooms & Soundproof Zones
- Soundproof & Reverberant Zones: Define spatial cuboids with custom isolation percentages (
isolationPct) and reverb parameters (decay, roomSizeMs, wetGain).
- Acoustic Presets: Comes with built-in presets (
soundproof, studio, cathedral, bunker).
- Dynamic Filter Stacking: Automatically applies vocal effects (e.g., muffled, echo, cave reverb) upon entering specific rooms and removes them upon exit.
?️ 4. Speech Recognition & Real-Time Keyword Spotting (KWS)
- Real-Time Keyword Spotting: Lightweight background keyword detection powered by offline Vosk models with constrained grammar (
[unk], zero hallucinations).
- Voice-Activated Events: Triggers events for custom roleplay spells, voice-activated doors, passphrases, and minigame mechanics.
- Smart Audio Gating: RMS noise gate (
minEnergyThreshold) and automatic phonetic buffer clearance on pauses (silenceResetMs) to eliminate phantom detections.
- Interactive Cassette Transcription Stations: Right-click a Lectern or Jukebox with an audio cassette to analyze speech and receive a paginated Written Book with timestamps and speaker names.
- Hybrid Engine: Works 100% offline inside the JVM (Vosk) or can offload transcription to an external Whisper Sidecar container.
? 5. 3D Locational Speakers & Physical Broadcasts
- Place directional 3D speakers anywhere in your world at static coordinates.
- Attach to Entities: Mount speakers to moving vehicles, drones, ArmorStands, or NPCs!
- Dual Channels: Speak through a microphone while playing background music/sound effects simultaneously with zero collision.
- Podium & Intercom Broadcasts: Broadcast points route voices within a capture radius to target speakers or across the whole server (
/voice broadcast).
? 6. Voice Projections & Security Cameras
- Project your voice remotely to any target block or moving entity.
- Hear what the camera or remote point hears—ideal for CCTV security cameras, intercoms, surveillance drones, or magical projections.
?️ 7. Covert Wiretaps & Spy Bugs
- Plant hidden microphones at secret coordinates or mount a bug directly on an NPC or player.
- Listen in real-time to secret conversations or record them directly to an in-game cassette tape!
- Cross-Module Propagation: Wiretaps realistically intercept voices emitted from voice projections.
? 8. Audio Cassettes & Multi-Format Audio Export
- Record live voice conversations with zero-CPU direct Opus streaming (
OpusAudioPlayer).
- Generates a physical Cassette item that players can hold and play with a right-click or load into 3D speakers.
- Async Audio Export: Export any session recording directly into MP3, OGG, or WAV files via
/voice record export.
- Timeline Slicing: Extract specific segments or the final N seconds from any recording (
/voice record slice).
? 9. Walkie-Talkies & Radio Channels
- Connect players to specific radio frequency channels for team tactical comms, police dispatch, or survival walkie-talkies.
- Authentic analog band-pass filter (300 Hz - 3400 Hz) with push-to-talk mic clicks.
- Directional Transmitters: Point-to-point voice transmission with customizable ranges.
?️ 10. Dynamic DSP Voice Filters & File-First Pipeline
- Transform player voices on the fly with 13 built-in filters (
alien, cave, deep, disguise, gasmask, ghost, helium, megaphone, muffled, radio, robot, telephone, underwater).
- Hot-Reloadable Files (
.yml, .json, .java):
- Declarative DSP pipelines (
lowpass, highpass, gain, overdrive, ring_modulator, delay/echo).
- On-the-fly JDK compilation for custom
.java filter source files.
- Filter Exporter: Export active filters into pipeline YAML/JSON or Java source files (
/voice filter export).
- Built-in Soft-Knee Dynamic Limiter prevents microphone clipping and distortion.
?️ 11. Interactive Configuration GUI (/voice config)
- Open a full visual GUI dashboard to configure and monitor all modules without touching config files.
- Interactive tool (Echo Shard) to target entities, blocks, or positions in real-time.
? 12. Cross-Mod Network Packets & Ecosystem (Fabric & NeoForge)
- 40+ custom packets (
@DreamPacket) allowing third-party survival, tech, and companion mods to create and control speakers, wiretaps, radios, cassettes, and filters without hard compile dependencies.
?️ Quick Commands Reference
All commands support both the unified /voice <module> <action> syntax and convenient direct aliases (/radio, /speaker, /record, etc.).
| Unified Command |
Direct Alias |
Description |
/dv status |
/voice status |
Displays system status and active module counts |
/voice config |
— |
Opens the interactive visual configuration GUI |
/voice visualizer [toggle|on|off] |
— |
Toggles 3D acoustic visualizer (hand-held tool required) |
/dv reload [module] |
/voice reload |
Reloads configuration, saved data, or both |
/voice wall mode <strict|realistic|off> |
/voicewall mode |
Changes soundproof wall physics mode |
/voice wall debug [player] |
/voicewall debug |
Toggles visual particle sound path diagnostics |
/voice room list / /voice room delete <id> |
/room list |
Lists and manages acoustic rooms |
/voice filter list |
/filter list |
Lists active voice filters |
/voice filter apply <filter> [player] |
/filter apply |
Applies a voice filter to a player |
/voice speech status |
/speech status |
Displays speech recognition engine and model status |
/voice speech keywords |
/speech keywords |
Displays active keyword spotting list |
/voice speaker create <name> [dist] |
/speaker create |
Creates a 3D speaker at your position |
/voice speaker play <name> <source> |
/speaker play |
Plays audio, recording, or web URL through the speaker |
/voice speaker link <name> [player] |
/speaker link |
Links player microphone to broadcast through speaker |
/voice wiretap create <name> [dist] |
/wiretap create |
Places a covert wiretap listening bug |
/voice wiretap listen <name> |
/wiretap listen |
Connects a player to live wiretap eavesdropping |
/voice wiretap cassette <name> |
/wiretap cassette |
Gives a cassette from wiretap recording |
/voice projection create [dist] |
/projection create |
Creates a voice projection / body anchor |
/voice radio join <channel> |
/radio join |
Tunes into a radio frequency channel |
/voice radio leave |
/radio leave |
Leaves current radio frequency channel |
/voice transmitter enable|disable |
/transmitter enable|disable |
Toggles point-to-point voice transmitter |
/voice record start / /voice record stop |
/record start|stop |
Records voice and saves .dv binary capture |
/voice record cassette <id> |
/record cassette |
Gives a physical, playable Cassette item |
/voice record export <id> <mp3|ogg|wav> |
/record export |
Exports a recording to MP3, OGG, or WAV |
? Installation
For Paper / Purpur Servers:
- Make sure your server runs Paper or Purpur (version 26.1.2+ with Java 25+).
- Install Simple Voice Chat (2.6.20+).
- Drop
DreamVoice.jar into your server's plugins/ directory.
- Restart your server.
For Fabric Servers:
- Make sure your server runs Fabric Loader 0.19.3+ for Minecraft 26.1.2+ with Java 25+.
- Install Fabric API and Simple Voice Chat Fabric.
- Drop
DreamVoice-fabric-2.0.2.jar into your server's mods/ directory.
- Restart your server.
For NeoForge Servers:
- Make sure your server runs NeoForge 26.1.2+ for Minecraft 26.1.2+ with Java 25+.
- Install Simple Voice Chat NeoForge.
- Drop
DreamVoice-neoforge-2.0.2.jar into your server's mods/ directory.
- Restart your server.
? Developer API
DreamVoice includes a unified public API (DreamVoiceAPI.get()) to build custom plugins, Fabric mods, NeoForge mods, and minigames.
? Gradle Kotlin DSL (build.gradle.kts)
repositories {
mavenCentral()
maven("https://jitpack.io")
maven("https://repo.papermc.io/repository/maven-public/")
}
dependencies {
compileOnly("com.github.Dreamin-MC.DreamVoice:api:2.0.2")
}
? Gradle Groovy (build.gradle)
repositories {
mavenCentral()
maven { url = "https://jitpack.io" }
maven { url = "https://repo.papermc.io/repository/maven-public/" }
}
dependencies {
compileOnly "com.github.Dreamin-MC.DreamVoice:api:2.0.4"
}
? Maven (pom.xml)
<repositories>
<repository>
<id>jitpack.io</id>
<url>https://jitpack.io</url>
</repository>
<repository>
<id>papermc</id>
<url>https://repo.papermc.io/repository/maven-public/</url>
</repository>
</repositories>
<dependencies>
<dependency>
<groupId>com.github.Dreamin-MC.DreamVoice</groupId>
<artifactId>api</artifactId>
<version>2.0.4</version>
<scope>provided</scope>
</dependency>
</dependencies>
? License & Links
评论 0
登录后参与评分
还没有评论,来抢沙发吧