同步音频,面向 DJ 演出目标的数据包
数据包行为与原版行为的对比
原版客户端:如果在音乐播放期间(例如唱片)有人离开并重新加入,他将完全听不到任何声音,而其他玩家则继续正常收听。
同步音频数据包/模组:如果在数据包中的音乐播放期间有人离开并重新加入,他仍会听到与其他人相同的音乐,因为该数据包每 5 分钟会对音频进行同步 ping 操作。
设置步骤
-
在音频编辑器中(例如 Audacity):
- 选择你的音乐(最长可达 1 小时,最短 5 分钟),并将其转换为 OGG 格式
- 在音频文件中自定义选择范围,从 0 到 5 分钟,并将该选择部分导出为名为 "5" 的文件
- 对 5 到 10 分钟的选择部分执行相同操作,并将选择部分导出为名为 "10" 的文件
- 你已成功准备好一个 10 分钟的分割音频文件,可以一直处理到 60 分钟
-
在资源包文件中:
- 将你刚刚导出的 OGG 文件放入
synced_audio/sounds/split_audio/目录
- 将你刚刚导出的 OGG 文件放入
目前仅支持一首歌曲
要开始播放歌曲:
- 在游戏中,运行
/function synced_audio:play_audio_30_minutes以使用你放置的视觉效果播放长达 30 分钟的分割文件(见下文) - 在游戏中,运行
/function synced_audio:play_audio_60_minutes以播放长达 60 分钟的分割文件
配合音频的视觉效果
视觉效果列表
- 动态粒子 (Dynamic Particles)
- 动态烟火效果 (Dynamic Pyrotechnics)
使用方法
-
运行
/function audio_reactive_particles:place_visual_130以放置随音频 BPM 上下跳动的粒子视觉效果,并运行/function audio_reactive_particles:place_pyrotechnics以放置动态烟火效果(火焰) -
要使粒子与 BPM 匹配,请打开数据包,打开以 "converter" 开头的文件夹,然后打开离线 HTML 文件或在线 HTML 文件并进行托管,上传你的完整音频文件并进行转换,复制内容并将其粘贴到数据包的
data/audio_reactive_partiles/list_of_audio_files/current_audio.mcfunction中
Synced audio, datapack for virtual show aiming for dj sets
Datapack behaviour vs vanilla behaviour
Vanilla client: If someone leaves and join back whilst music was playing (a music disc for example), he won't be hearing anything at all anymore whilst the others would
Synced audio datapack/mod: If someone leaves and join back whilst music from the pack was playing, he'll still hear the same music as everyone else because the pack pings audio each 5 minutes.
Setup step-by-step
-
In an audio editor (audacity for example):
- Choose your music (up to 1 hour long, minimum 5 minutes) and convert it to OGG
- Make a custom selection in the audio file, from 0 to 5 minutes, and export the selection under the name "5"
- Do the same with a selection from 5 to 10 minutes, and export the selection to 10
- You've got a 10 minutes audio file split ready, you can do this til 60 minutes
-
In the resource pack file:
- Drop the OGG files you've just exported in the synced_audio/sounds/split_audio/ directory
Only one song in total is currently supported
To start a song:
- In game, run /function synced_audio:play_audio_30_minutes to play the split files up to 30 minutes with the visuals you placed (see below)
- In game, run /function synced_audio:play_audio_60_minutes to play the split files up to 60 minutes
Visuals going with audio
List of visuals
- Dynamic Particles
- Dynamic Pyrotechnics
How to use
-
Run /function audio_reactive_particles:place_visual_130 to place a particle visual going up & down, synced with the audio's bpm, and /function audio_reactive_particles:place_pyrotechnics to place dynamic pyrotechnics (fire)
-
To make the particles match the bpm, open the datapack, open the folder beginning by "converter" and open the offline html file or online html file and host it, upload your full audio file and convert it, copy the content and paste in the datapack in data/audio_reactive_partiles/list_of_audio_files/current_audio.mcfunction
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
下载 Synced audio
需要联机服务器吗?
稳定流畅、一键部署,几分钟即可和朋友联机开服
最低仅需 8 元/月 即可畅快联机
- 添加了与 BPM 同步的烟火特效
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
数据包
此数据包添加了属于阿瓦里海盗的独特结构,将他们的独特风格带入你的 Minecraft 世界!兼容性:1.20 至 26.3
数据包
一个 Minecraft 光线投射库,能够精确检测玩家正在查看的方块,包括像台阶和楼梯这样的特殊方块形状。
数据包
此数据包添加了新的“祝福模式”难度。
数据包
允许服务器管理员方便地禁用 Xaero's Map 系列模组中的实体雷达、小地图等功能,使竞技游戏更加公平。
数据包
手持潜影盒时可直接打开,无需将其放置在地面上。只需按住 Shift 并右键点击即可访问你的潜影盒。
数据包
为你的 Minecraft 世界添加了超过 900 个新的进度
评论 0
登录后参与评分
还没有评论,来抢沙发吧