47 Commits
Author SHA1 Message Date
Sucial 29fea83647 Merge pull request #5 from TheSmallHanCat/pr/post-resample-fixes
fix: harden audio workflows and frontend state handling
2026-10-11 14:11:27 +08:00
TheSmallHanCat 7773c5415f fix(frontend): stabilize dynamic nodes and catalog refresh 2026-09-30 21:47:26 +08:00
TheSmallHanCat a703206cc3 fix(audio): correct model routing and save edge cases 2026-09-30 21:47:26 +08:00
TheSmallHanCat 2252d58a37 fix(security): harden audio paths and public routes 2026-09-30 21:47:26 +08:00
TheSmallHanCat 14f842eaad fix: harden model selection, stem routing and audio handling
- require exact model matches and preserve links for unavailable custom models
  - restore complete stems from model configs and validate downloaded assets
  - align ensemble channels and batches without dropping audio data
  - stream uploads safely and restore localized model names
  - add Python and frontend regression coverage
2026-09-30 21:47:26 +08:00
TheSmallHanCat 1760a18a6f fix(audio): resample separation inputs to model sample rate (#4)
- resample ComfyUI audio before MSS and VR inference
  - return separated stems with the model-configured sample rate
  - add 48 kHz to 44.1 kHz regression coverage
  - document sample-rate behavior for downstream nodes
2026-09-30 21:45:44 +08:00
TheSmallHanCatandSucial 3a562861e2 Delegate custom model architecture detection to pymss (#3)
* feat: delegate custom model architecture detection to pymss

Default custom separation nodes to model_type=auto while preserving saved manual selections. Delegate catalog detection and runtime selection to the shared upstream implementation. Keep detection errors in ComfyUI's standard execution error flow and cover config preservation, explicit overrides and real inference.

Requires publication of pymss 2.1.6 and pymss-core 0.1.9 before standard dependency installation is available. Validation: 8 node tests passed, plus full PolarFormer weights through CPU and CUDA node execution.

* fix: expose conformer architectures in custom model nodes

* Update README

Removed BS PolarFormer section and clarified existing workflows.

---------

Co-authored-by: Sucial <1584846096@qq.com>
2026-09-22 22:35:41 +08:00
Sucial 6cda114b5b Remove 'Load Audio Batch' documentation
Removed 'Load Audio Batch' section and related details from the README.
2026-09-08 10:53:25 +08:00
Sucial a9cefc5f73 fix(comfy-mss): secure audio paths and restore localized upload UI
- Removed the unsafe `PymssLoadAudioBatch` node and its related registrations, locale entries, and example workflow.
- Kept the `Upload Audio` button, but restricted `/comfy-mss/upload-audio` to local clients only (`comfy_mss/services/routes.py:30-36`).
- Uploads are always saved under ComfyUI's input directory, with filename validation and `realpath`/`commonpath` checks to prevent path traversal.
- Migrated node and button translations to ComfyUI's official locale system using `locales/<language>/main.json` and `/i18n`.
1.1.1
2026-09-04 23:08:43 +08:00
baicai-1145 e955f1aa70 feat(load): PymssLoadAudio/Batch 新增 input_name 参数(运行时输入槽名)
为下游宿主(pymss DAG 引擎 / pymss-studio)提供显式的输入口命名:
- input_name 为 optional widget(追加在末尾,旧图序列化读到空走原有解析)
- ComfyUI 内执行时忽略此参数(编辑即推理,无需运行时换输入)
- pymss 端语义: audio 文件缺失时,宿主按 input_name 提供的映射文件
  喂给本节点;未提供则显式报错(不静默错位)

序列化兼容: widgets_values 末尾追加,老图(2/3 格)零影响
2026-08-15 03:05:06 +08:00
Sucial a49e0d4601 chore(broken change): rename some node type 1.1.0 2026-08-11 15:14:49 +08:00
Sucial 02ada376e0 Merge branch 'main' of https://github.com/pymss-project/comfy-mss 2026-08-08 17:24:34 +08:00
Sucial 4e7ba4dab8 chore: set output dir to fixed output path 2026-08-08 17:24:08 +08:00
Sucial 4fc1b543e1 Update requirements.txt 2026-08-03 23:33:59 +08:00
Sucial b9985df1a4 fix: align comfy-mss with upstream pymss changes
- Add compatibility for ModelEntry without config_instruments
- Fix Windows DirEntry sorting when scanning custom model folders
- Update custom model discovery to use folder-based MSST model layout
- Require a model weight file and YAML config in each custom model folder
- Exclude VR/UVR models from Custom MSS Separate
- Update custom model path and layout documentation
1.0.4
2026-08-03 22:48:29 +08:00
Sucial 90b5095f9a Update requirements.txt 2026-06-29 02:51:16 +08:00
Sucial 4a9c56b5cb refactor nodes and normalize UI width handling 1.0.3 2026-06-29 02:38:00 +08:00
Muruaaki 5fc99b601d Merge pull request #2 from Muruaaki/codex/audio-batch-output
fix mss separator and add batch outputs
2026-06-16 19:57:06 +08:00
Sucial ca782aa066 update pymss version to 2.0.6 1.0.2 2026-06-14 03:02:49 +08:00
Sucial 445f73de4a update version to 1.0.2 2026-06-14 03:00:58 +08:00
Sucial acad2fbb2a feat: use MSSeparator as context manager and ruff format 2026-06-14 02:59:22 +08:00
Sucial d332e81911 feat: Add standardization and normalization parameters to audio processing nodes 2026-06-12 16:51:55 +08:00
Sucial b03433b184 feat(i18n): Implement internationalization for audio processing nodes 2026-06-09 22:46:34 +08:00
Sucial d9d22ec510 change version to 1.0.1 1.0.1 2026-06-04 00:28:34 +08:00
Sucial 9b25c00d9f Remove model directory widgets and use registered ComfyUI pymss model paths 2026-06-04 00:27:45 +08:00
Sucial 16c154c1db Add MIT License to the project 1.0.0 2026-05-31 22:38:28 +08:00
Sucial 1824c5b4af Update README.md 2026-05-31 22:36:07 +08:00
Sucial 047419f66a Add example workflows for custom audio processing nodes 2026-05-31 22:03:32 +08:00
Sucial 1cc1af5f59 feat: update README and constants, remove unused core module, and refactor audio separation logic 2026-05-31 22:02:42 +08:00
Sucial 6e3f1ea281 custom mss separate node 2026-05-31 21:16:48 +08:00
Sucial 2b859b05d6 feat: add save audio node functionality and improve node width handling 2026-05-31 20:44:52 +08:00
Sucial 438c7c6963 feat: enhance model display handling and add refresh functionality 2026-05-31 20:18:58 +08:00
Sucial 45771e762d normalize and invert nodes 2026-05-31 19:55:57 +08:00
Sucial 8ec2738e5f feat: add audio processing and model management features
- Introduced `paths.py` for handling model directory resolution and registration.
- Created `catalog.py` to manage model metadata and stem extraction.
- Implemented `routes.py` for handling audio uploads and model retrieval via HTTP.
- Added utility functions in `audio.py` for audio conversion, loading, and saving.
- Developed ensemble functions in `ensemble.py` for combining audio inputs.
- Enhanced web interface with new JavaScript files for audio loading, separation, and ensemble node management.
- Defined constants for audio types and node configurations in `constants.js`.
- Improved user experience with dynamic input/output management in audio processing nodes.
2026-05-31 18:55:27 +08:00
Sucial 2321305048 Bridge pymss progress to ComfyUI 2026-05-30 23:13:02 +08:00
Sucial 39382eccb0 Preserve dynamic output links on workflow load 2026-05-30 23:03:50 +08:00
Sucial 912c89f674 Split node implementation into modules 2026-05-30 23:02:05 +08:00
Sucial d1c9cfea82 Use pymss ComfyUI mode 2026-05-30 22:53:01 +08:00
Sucial 940925606e Simplify MSS params defaults 2026-05-30 22:47:11 +08:00
Sucial 7665d27245 Run pymss separation outside inference mode 2026-05-30 22:43:25 +08:00
Sucial 00c993bab6 Align params defaults with pymss 2026-05-30 22:41:37 +08:00
Sucial 5083cc27c9 Widen separation nodes 2026-05-30 22:33:35 +08:00
Sucial ba775e8037 Add audio subtract node 2026-05-30 22:32:59 +08:00
Sucial ca5ef42d66 Add batch audio loader node 2026-05-30 22:31:37 +08:00
Sucial 2506f8335e Add configurable audio save node 2026-05-30 22:28:50 +08:00
Sucial ab5b7ed499 Fix dynamic output labels 2026-05-30 22:26:47 +08:00
Sucial d5b6e0fccd Initial comfy-mss custom node 2026-05-30 22:19:05 +08:00