CC:HQ Speaker's
Minecraft 的模组,CC Tweaked Speaker's
为什么需要这个模组?
- 它提供了来自相同 CC Speaker's 的极高音质音频体验
- 如果使用 Sound Physics Remastered,请将 update moving sounds(更新移动声音)设置为
true,以便让声音穿过墙壁等时产生消音效果
基于 CC Tweaked 现有的 speaker's 并为其提供显著的“升级”。
新增对 MP3、WAV、OGG、PCM 以及 HLS、TS 的支持。
功能
播放
playAudio(samples)
playAudio(samples, volume)
playNote(instrument, volume, pitch)
playSound(soundName)
playSound(soundName, volume)
playSound(soundName, volume, pitch)
speakerPlay(audio)
speakerPlay(audio, volume)
speakerStop()
speakerVolume(volume)
setLooping(true)
setLooping(false)
声道
每个扬声器默认有 8 个声道。声道 1 = 普通扬声器。
speakerPlayChannel(channel, audio)
speakerPlayChannel(channel, audio, volume)
speakerPlayChannel(channel, audio, volume, loop)
speakerChannel(channel, "stop")
speakerChannel(channel, "pause")
speakerChannel(channel, "resume")
speakerChannel(channel, "volume", volume)
speakerChannelStatus(channel) -- { playing, paused, looping }
channel0 在speakerChannel中 = 所有声道- 事件:
hqspeaker_channel_empty, name, channel
示例
speakerPlayChannel(2, bytes, 1.0, true) -- 在声道 2 循环播放音乐
speakerPlayChannel(3, sfx) -- 在顶部播放音效
speakerChannel(2, "volume", 0.3) -- 降低声道 2 的音量
speakerChannel(0, "pause") -- 暂停所有声道
暂停/恢复
speakerPause()
speakerResume()
speakerIsPaused()
搜索/跳过
speakerSeek(deltaSeconds)
speakerSkip()
speakerSkip(seconds)
speakerSkipBack()
speakerSkipBack(seconds)
状态/信息
speakerIsPlaying()
speakerQueueSize()
speakerProgress()
speakerElapsedSamples()
speakerTotalSamples()
speakerSampleRate()
speakerMaxSamples()
speakerMaxAudioBytes()
speakerMaxOggBytes()
speakerMaxFileBytes()
speakerSupportedFiles()
流媒体
isStreaming()
getStreamUrl()
getStreamFormats()
getStreamMeta()
getStreamTitle()
getStreamArtist()
getStreamSong()
getStreamStation()
getStreamGenre()
getStreamMetaSerial()
杂项
getPeripheralType()
getPos()
多扬声器
getSpeakerCount()
getSpeakers()
getSpeakerPos(index)
全部(计算机上的所有扬声器)
playNoteAll(instrument, volume, pitch)
playSoundAll(soundName)
playSoundAll(soundName, volume)
playSoundAll(soundName, volume, pitch)
playAudioAll(samples)
playAudioAll(samples, volume)
speakerPlayAll(audio)
speakerPlayAll(audio, volume)
speakerStopAll()
speakerVolumeAll(volume)
setLoopingAll(true)
setLoopingAll(false)
speakerPauseAll()
speakerResumeAll()
speakerSeekAll(deltaSeconds)
speakerSkipAll()
speakerSkipAll(seconds)
speakerSkipBackAll()
speakerSkipBackAll(seconds)
指定位置(按索引的一个扬声器)
playNoteAt(index, instrument, volume, pitch)
playSoundAt(index, soundName)
playSoundAt(index, soundName, volume)
playSoundAt(index, soundName, volume, pitch)
playAudioAt(index, samples)
playAudioAt(index, samples, volume)
speakerPlayAt(index, audio)
speakerPlayAt(index, audio, volume)
speakerStopAt(index)
speakerPauseAt(index)
speakerResumeAt(index)
speakerIsPausedAt(index)
speakerSeekAt(index, deltaSeconds)
speakerSkipAt(index)
speakerSkipAt(index, seconds)
speakerSkipBackAt(index)
speakerSkipBackAt(index, seconds)
speakerProgressAt(index)
配置
hqspeaker-server.toml
| 部分 | 选项 | 默认值 | 备注 |
|---|---|---|---|
[formats] |
pcmPlayable |
true |
|
[formats] |
mp3Playable |
true |
|
[formats] |
oggPlayable |
true |
|
[formats] |
hlsPlayable |
true |
|
[formats] |
tsPlayable |
true |
|
[formats] |
wavPlayable |
true |
|
[limits] |
maxAudioFileSizeMB |
8 |
最大 128 |
[limits] |
maxVolume |
1.0 |
最大 16 |
[limits] |
maxChannels |
8 |
最大 32 |
CC:HQ Speaker's
A mod for Minecraft, CC Tweaked Speaker's
Why you need this mod?
- It gives the ability of wayyy higher quality Audio, From the SAME CC Speaker's
- If using Sound Physics Remastered, set update moving sounds to
trueso it muffles it through walls etc etc
Uses CC Tweaked's current speaker's and gives them a signif "Upgrade".
Adds MP3 support, WAV, OGG, PCM obv, HLS, TS.
Functions
Playback
playAudio(samples)
playAudio(samples, volume)
playNote(instrument, volume, pitch)
playSound(soundName)
playSound(soundName, volume)
playSound(soundName, volume, pitch)
speakerPlay(audio)
speakerPlay(audio, volume)
speakerStop()
speakerVolume(volume)
setLooping(true)
setLooping(false)
Channels
8 per speaker by default. Channel 1 = normal speaker.
speakerPlayChannel(channel, audio)
speakerPlayChannel(channel, audio, volume)
speakerPlayChannel(channel, audio, volume, loop)
speakerChannel(channel, "stop")
speakerChannel(channel, "pause")
speakerChannel(channel, "resume")
speakerChannel(channel, "volume", volume)
speakerChannelStatus(channel) -- { playing, paused, looping }
channel0 inspeakerChannel= every channel- Event:
hqspeaker_channel_empty, name, channel
Examples
speakerPlayChannel(2, bytes, 1.0, true) -- loops music on channel 2
speakerPlayChannel(3, sfx) -- sfx on top
speakerChannel(2, "volume", 0.3) -- turns channel 2 down
speakerChannel(0, "pause") -- pauses all channels
Pause/Resume
speakerPause()
speakerResume()
speakerIsPaused()
Seek/Skip
speakerSeek(deltaSeconds)
speakerSkip()
speakerSkip(seconds)
speakerSkipBack()
speakerSkipBack(seconds)
Status/Info
speakerIsPlaying()
speakerQueueSize()
speakerProgress()
speakerElapsedSamples()
speakerTotalSamples()
speakerSampleRate()
speakerMaxSamples()
speakerMaxAudioBytes()
speakerMaxOggBytes()
speakerMaxFileBytes()
speakerSupportedFiles()
Streaming
isStreaming()
getStreamUrl()
getStreamFormats()
getStreamMeta()
getStreamTitle()
getStreamArtist()
getStreamSong()
getStreamStation()
getStreamGenre()
getStreamMetaSerial()
Misc
getPeripheralType()
getPos()
Multi-speaker
getSpeakerCount()
getSpeakers()
getSpeakerPos(index)
All (every speaker on the computer)
playNoteAll(instrument, volume, pitch)
playSoundAll(soundName)
playSoundAll(soundName, volume)
playSoundAll(soundName, volume, pitch)
playAudioAll(samples)
playAudioAll(samples, volume)
speakerPlayAll(audio)
speakerPlayAll(audio, volume)
speakerStopAll()
speakerVolumeAll(volume)
setLoopingAll(true)
setLoopingAll(false)
speakerPauseAll()
speakerResumeAll()
speakerSeekAll(deltaSeconds)
speakerSkipAll()
speakerSkipAll(seconds)
speakerSkipBackAll()
speakerSkipBackAll(seconds)
At (one speaker by index)
playNoteAt(index, instrument, volume, pitch)
playSoundAt(index, soundName)
playSoundAt(index, soundName, volume)
playSoundAt(index, soundName, volume, pitch)
playAudioAt(index, samples)
playAudioAt(index, samples, volume)
speakerPlayAt(index, audio)
speakerPlayAt(index, audio, volume)
speakerStopAt(index)
speakerPauseAt(index)
speakerResumeAt(index)
speakerIsPausedAt(index)
speakerSeekAt(index, deltaSeconds)
speakerSkipAt(index)
speakerSkipAt(index, seconds)
speakerSkipBackAt(index)
speakerSkipBackAt(index, seconds)
speakerProgressAt(index)
Config
hqspeaker-server.toml
| Section | Option | Default | Notes |
|---|---|---|---|
[formats] |
pcmPlayable |
true |
|
[formats] |
mp3Playable |
true |
|
[formats] |
oggPlayable |
true |
|
[formats] |
hlsPlayable |
true |
|
[formats] |
tsPlayable |
true |
|
[formats] |
wavPlayable |
true |
|
[limits] |
maxAudioFileSizeMB |
8 |
max 128 |
[limits] |
maxVolume |
1.0 |
max 16 |
[limits] |
maxChannels |
8 |
max 32 |
版本游戏版本平台发布时间本站下载
正式版
1.1.1-Neoforge
CC:HQ Speakers 1.1.1
1.21.1 NeoForge 2 周前 ·
0
1.21.1
NeoForge
2 周前
0
下载 CC:HQ Speakers
正式版
1.1.0-Neoforge
CC:HQ Speakers 1.1.0
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.9-Neoforge
CC:HQ Speakers 1.0.9
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.8-Neoforge
CC:HQ Speakers 1.0.8
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.7-Neoforge
CC:HQ Speakers 1.0.7
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.6-Neoforge
CC:HQ Speakers 1.0.6
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.5-Neoforge
CC:HQ Speakers 1.0.5
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.4-Neoforge
CC:HQ Speakers 1.0.4
1.21.1 NeoForge 1 个月前 ·
0
1.21.1
NeoForge
1 个月前
0
下载 CC:HQ Speakers
正式版
1.0.3-neoforge
CC:HQ Speakers 1.0.3-neoforge-1.21.1
1.21.1 NeoForge 2 个月前 ·
0
1.21.1
NeoForge
2 个月前
0
下载 CC:HQ Speakers
正式版
1.0.2-neoforge
CC:HQ Speakers 1.0.2 neoforge
1.21.1 NeoForge 2 个月前 ·
0
1.21.1
NeoForge
2 个月前
0
下载 CC:HQ Speakers
1.1.1-Neoforge
正式版
2026-11-12
已添加 stop() 函数,使调用 speaker.stop() 的脚本不再出错。
修复了即使在 CC:Tweaked 配置中允许的情况下,本地 URL 仍被阻止的问题。
1.1.0-Neoforge
正式版
2026-10-21
在客户端和服务端配置中均添加 EnableLogging 选项,默认值为 false。
修复了音频加速/混乱的问题。
关于这个资源的讨论、问题反馈与使用心得
还没有讨论,来发第一帖吧
你是这个资源的作者?登录后可认领此资源。
相似资源
模组
Woot Revived
pharuxtan
一个用于收集生物掉落物的多区块模组。
生物科技
359
模组
玉Jade ?
Snownee
显示你正在注视的方块的信息。(适用于 Minecraft 1.16+ 的 Hwyla/Waila 分支)
实用前置
349
模组
Xaero的小地图
thexaero
在游戏画面角落显示附近世界地形、玩家、生物和实体的地图。可创建路径点,帮助你找到标记过的位置。
冒险交通
245
模组
物品管理器Just Enough Items (JEI)
mezz
查看物品与配方
前置实用
242
模组
KubeJS
Lat
使用 JavaScript 编辑配方、添加自定义物品、编写世界事件!
前置实用
239
模组
Applied Energistics 2
shartte
AE2:一款流行的自动化与存储模组
存储科技
217
评论 0
登录后参与评分
还没有评论,来抢沙发吧