Commit Graph

78 Commits

Author SHA1 Message Date
Oliver a085e182c4 feat: 自动更新按钮上的文字 2026-04-16 11:52:38 +08:00
Oliver b13b8f6ff6 fix: restore missing method 2026-04-16 11:11:30 +08:00
Oliver a80112a974 Merge branch 'main' into feature/MusicCallback 2026-04-16 11:06:23 +08:00
Oliver ca6fff2717 feat: Add switch container functionality 2026-04-15 21:05:17 +08:00
Oliver c62cb4f37b refactor: 更新音频导入路径变量并完善CLI方法文档
- 将对话框中的音频资源路径变量从`k_audioResourcePath`更改为`AudioAbsolutePath`
- 为RunCLI方法添加详细的XML文档注释,说明其在命令行自动化工作流中的作用
- 修正枚举AudioCategory的格式化
2026-04-15 10:57:33 +08:00
Oliver d2867810ee feat: Add audio import tool and standardize audio import settings
- Add editor tool to batch apply audio import settings based on configuration files
- Standardize sample rates: SFX/Voice to 22050 Hz, Music to 44100 Hz
- Set quality: SFX/Voice to 0.5, Music to 0.13
- Adjust load types based on audio duration
- Set project sample rate to 48000 Hz
- Update preload settings for voice and music files
2026-04-15 10:05:05 +08:00
Oliver f7ca4b620e feat: Add haptic system integration and audio test UI
- Add new audio assets and PlaySoundBind script for testing audio playback via UI input field.
- Implement haptic feedback integration in SfxSystem and fix initialization timing in HapticSystem.
- Update project settings with correct Android target architecture.
- Adjust DSP buffer size and enable development build debug logging.
2026-04-14 10:18:34 +08:00
Oliver c3d520d969 Merge branch 'main' into feature/HapticSystem 2026-04-13 17:31:59 +08:00
Oliver d42a60cd62 refactor: 使用ActiveSound对象传递音高和音量参数 2026-04-13 17:27:59 +08:00
Oliver 31d117851e feat: implement volume step feature
- Add volume step functionality with VolumeStepResolver class
- Add VolumeStepThreshold, Volume, and VolumeStep properties to AudioObject
- Integrate volume step resolution in SfxSystem for dynamic audio volume control
2026-04-13 16:56:34 +08:00
Oliver ce850a0e30 WIP: haptic system bridge 2026-04-13 15:32:04 +08:00
Oliver d18a7544c4 feat: Import Haptic System 2026-04-13 14:56:06 +08:00
Oliver 49e3492d61 add test file 2026-04-09 11:37:58 +08:00
Oliver 49a502e647 WIP: Music callback
- 头几拍会抖动一下,导致对不上拍子
2026-04-07 10:06:02 +08:00
Oliver 0f204aa794 feat: prepare music callback data. 2026-04-03 14:48:42 +08:00
Oliver e9054d677d refactor: Remove pitch parameter from PlayAfterDelay coroutine 2026-04-03 14:30:45 +08:00
Oliver a4f2eb645a feat: 重构音频系统 - 重命名AudioScheduler为SfxSystem并添加Accented音效类型
- 将AudioScheduler重命名为SfxSystem,统一命名规范
- 新增MixingType.Accented音效类型,支持强调音效独立混音
- 重构音频混合器层级: Master下新增Regular中间层
- SfxSystem使用外部AudioSourcePool,与MusicSystem隔离
- 修复ambiencePoolRoot父节点错误(原错误挂载到musicPoolRoot)
- Play方法支持onPlay回调
- 同步更新AudioObject.bytes二进制配置数据
2026-04-03 11:53:15 +08:00
Oliver 89c024e781 feat: implement audio object definitions and refactor audio system
- Add AudioObjectDefinitions.cs with name-to-ID mappings and ambiguity detection
- Update AudioSystem.cs to support Play(uint) and deprecated Play(string) with warnings
- Rename PitchStepManager to PitchStepResolver and update all references
- Refactor generated code to use 'this.' prefix and foreach loops
- Remove TestEnum from audio enums and IDs
- Update SampleScene.unity to use new AudioSystem namespace and rain sound parameter
- Optimize binary serialization in generated audio classes
2026-04-02 14:31:46 +08:00
Oliver 03b06fd83e 使用DoTween重构淡变效果 2026-03-27 17:57:27 +08:00
Oliver e774581bfe 增加低通效果开关
- 引入DoTween
- 实现功能
2026-03-27 17:56:49 +08:00
Oliver 2248de2dcf 自动化注册GroupState 2026-03-26 16:25:24 +08:00
Oliver c02d7e11ef 配合打表工具更新 2026-03-26 15:07:02 +08:00
Oliver e2e9aa6725 移除未使用method 2026-03-25 17:22:14 +08:00
Oliver e032f7687f 解决重复切换State的时候会导致重复播放对应Segment的问题。
修复FadeIn读取了FadeOut参数的问题。
增加Initial Delay功能。
重构AudioScheduler.ConfigureSource() -> SetupSource(), RegisterActiveSound(), StartPlayBack()。
移动长音频相关功能至LongAudio文件夹。
2026-03-25 17:01:38 +08:00
Oliver 0f7e286206 提供DebugOverlay 2026-03-25 16:56:19 +08:00
Oliver 85d66f4bea 禁用FaderLog 2026-03-20 18:49:25 +08:00
Oliver 27d57a28a9 可能的性能优化 2026-03-20 18:48:11 +08:00
Oliver 41e38311f0 first commit 2026-03-20 17:55:53 +08:00