Spaces:
Running
Running
UI-Texte: Space-Mastering/ONUS-Mastering (kein doppeltes Master)
Browse files- 2b_studio.egg-info/PKG-INFO +73 -0
- 2b_studio.egg-info/SOURCES.txt +22 -0
- 2b_studio.egg-info/dependency_links.txt +1 -0
- 2b_studio.egg-info/requires.txt +7 -0
- 2b_studio.egg-info/top_level.txt +1 -0
- studio/ui.py +4 -4
2b_studio.egg-info/PKG-INFO
ADDED
|
@@ -0,0 +1,73 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
Metadata-Version: 2.4
|
| 2 |
+
Name: 2b-studio
|
| 3 |
+
Version: 0.1.0
|
| 4 |
+
Summary: Local 2B-Studio shell for creating and mastering music
|
| 5 |
+
Requires-Python: >=3.12
|
| 6 |
+
Description-Content-Type: text/markdown
|
| 7 |
+
Requires-Dist: gradio<7.0,>=6.0
|
| 8 |
+
Requires-Dist: pydantic<3.0,>=2.9
|
| 9 |
+
Requires-Dist: pyyaml<7.0,>=6.0
|
| 10 |
+
Provides-Extra: dev
|
| 11 |
+
Requires-Dist: pytest<9.0,>=8.3; extra == "dev"
|
| 12 |
+
Requires-Dist: ruff<1.0,>=0.12; extra == "dev"
|
| 13 |
+
|
| 14 |
+
# 2B-Studio Space
|
| 15 |
+
|
| 16 |
+
**Status:** Konzept / Masterplan — keine Implementierung
|
| 17 |
+
**Datum:** 2026-08-23
|
| 18 |
+
**Arbeitsname:** `2B-Studio`
|
| 19 |
+
**Ziel:** Eine super einfache App-Oberfläche für **Generieren → Hören → Rüberschalten → Mastern**, mit Agenten-Chat unten.
|
| 20 |
+
|
| 21 |
+
Dieses Verzeichnis ist das **Planungsprojekt**. Es beschreibt, wie MiniMax Music 3, der bestehende Space [`2Btainment/2baudio`](https://huggingface.co/spaces/2Btainment/2baudio), freie Text-to-Music-Modelle und ONUS zu einem einzigen 2Btainment-Studio zusammengeführt werden — und wie das auf Hugging Face, der Website und optional einem VPS läuft.
|
| 22 |
+
|
| 23 |
+
## In 30 Sekunden
|
| 24 |
+
|
| 25 |
+
```text
|
| 26 |
+
Chat unten → füllt Genre/Style/Instr. + Lyrics + Neg.
|
| 27 |
+
→ Modelauswahl → Play/Generate
|
| 28 |
+
→ Waveform oben, Bibliothek rechts
|
| 29 |
+
→ oranger Pfeil: Master-Ebene (ONUS)
|
| 30 |
+
→ Download / später 2Bfy-Release
|
| 31 |
+
```
|
| 32 |
+
|
| 33 |
+
Zwei Ebenen, **eine Session**, **eine Modelauswahl** (MiniMax + alle 2baudio-Modelle in derselben Liste), **ein Agenten-Dock**.
|
| 34 |
+
|
| 35 |
+
## Dokumente
|
| 36 |
+
|
| 37 |
+
| Datei | Inhalt |
|
| 38 |
+
|---|---|
|
| 39 |
+
| [ABLAUFPLAN.md](./ABLAUFPLAN.md) | Kompakte, verbindliche Baufolge |
|
| 40 |
+
| [BLUEPRINT.md](./BLUEPRINT.md) | Technischer Blueprint für die nächste Session |
|
| 41 |
+
| [MASTERPLAN.md](./MASTERPLAN.md) | Vollständiger Masterplan — zuerst lesen |
|
| 42 |
+
| [docs/01-vision-konzept.md](./docs/01-vision-konzept.md) | Produktvision, Prinzipien, User Journeys |
|
| 43 |
+
| [docs/02-ux-ui.md](./docs/02-ux-ui.md) | Create- + Master-UI, Agent-Dock, Interaktionen |
|
| 44 |
+
| [docs/03-architektur.md](./docs/03-architektur.md) | Adapter, Jobs, Session, Worker-Topologie |
|
| 45 |
+
| [docs/04-modelle.md](./docs/04-modelle.md) | Modellkatalog und Routing |
|
| 46 |
+
| [docs/05-agenten.md](./docs/05-agenten.md) | Prompt-Agent + Mastering-Agent |
|
| 47 |
+
| [docs/06-mastering-onus.md](./docs/06-mastering-onus.md) | Master-Ebene und ONUS-Anbindung |
|
| 48 |
+
| [docs/07-deployment.md](./docs/07-deployment.md) | HF ZeroGPU vs. Website vs. VPS |
|
| 49 |
+
| [docs/08-website-integration.md](./docs/08-website-integration.md) | Einbindung in `/2b-studio/` |
|
| 50 |
+
| [docs/09-roadmap.md](./docs/09-roadmap.md) | Phasen, MVP, Aufwand |
|
| 51 |
+
| [docs/10-recht-datenschutz.md](./docs/10-recht-datenschutz.md) | Lizenzen, DSGVO, Secrets |
|
| 52 |
+
| [assets/wireframes.md](./assets/wireframes.md) | ASCII-Wireframes beider Ebenen |
|
| 53 |
+
| [schemas/session.schema.json](./schemas/session.schema.json) | Session-/Track-Datenmodell |
|
| 54 |
+
| [schemas/model-registry.yaml](./schemas/model-registry.yaml) | Modell-Registry (Entwurf) |
|
| 55 |
+
|
| 56 |
+
## Was bereits existiert (nicht neu erfinden)
|
| 57 |
+
|
| 58 |
+
- Website-Hub: `2b-entertainment-site/2b-studio/` inkl. Station **Musikstudio** (noch Pilot/Warteliste)
|
| 59 |
+
- HF-Worker: [`2Btainment/2baudio`](https://huggingface.co/spaces/2Btainment/2baudio) — MusicGen ZeroGPU-API, kein Studio-UI
|
| 60 |
+
- Offizielles MiniMax-UI: [`MiniMaxAI/MiniMax-Music3`](https://huggingface.co/spaces/MiniMaxAI/MiniMax-Music3) — Composer Simple/Studio, Streaming-Player, LLM-Promptfüller
|
| 61 |
+
- Lokaler MiniMax-Clone: `~/Schreibtisch/MinimaxMusic/`
|
| 62 |
+
- ONUS lokal: `~/Schreibtisch/EXTension/Music-Agent/ONUS_Studio` und ADAMAS-Kundenpaket
|
| 63 |
+
|
| 64 |
+
## Harte Leitentscheidung
|
| 65 |
+
|
| 66 |
+
Nicht MiniMax, 2baudio und ONUS in **eine** Gradio-Datei schweißen.
|
| 67 |
+
Stattdessen: **2B-Studio-Shell + Engine-Adapter + Session-Bus**.
|
| 68 |
+
|
| 69 |
+
MiniMax Music 3 allein füllt schon eine ZeroGPU. Mehrere große Modelle gleichzeitig auf einem Free-GPU-Space sind unrealistisch.
|
| 70 |
+
|
| 71 |
+
## Nächster Schritt (noch nicht ausgeführt)
|
| 72 |
+
|
| 73 |
+
Freigabe des MVP-Schnitts in `docs/09-roadmap.md` Phase 0/1, danach erst Code.
|
2b_studio.egg-info/SOURCES.txt
ADDED
|
@@ -0,0 +1,22 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
README.md
|
| 2 |
+
pyproject.toml
|
| 3 |
+
2b_studio.egg-info/PKG-INFO
|
| 4 |
+
2b_studio.egg-info/SOURCES.txt
|
| 5 |
+
2b_studio.egg-info/dependency_links.txt
|
| 6 |
+
2b_studio.egg-info/requires.txt
|
| 7 |
+
2b_studio.egg-info/top_level.txt
|
| 8 |
+
studio/__init__.py
|
| 9 |
+
studio/agent.py
|
| 10 |
+
studio/library.py
|
| 11 |
+
studio/registry.py
|
| 12 |
+
studio/state.py
|
| 13 |
+
studio/ui.py
|
| 14 |
+
studio/adapters/__init__.py
|
| 15 |
+
studio/adapters/base.py
|
| 16 |
+
studio/adapters/mock.py
|
| 17 |
+
tests/test_agent.py
|
| 18 |
+
tests/test_library.py
|
| 19 |
+
tests/test_mock_adapter.py
|
| 20 |
+
tests/test_registry.py
|
| 21 |
+
tests/test_state.py
|
| 22 |
+
tests/test_ui.py
|
2b_studio.egg-info/dependency_links.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
|
2b_studio.egg-info/requires.txt
ADDED
|
@@ -0,0 +1,7 @@
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 1 |
+
gradio<7.0,>=6.0
|
| 2 |
+
pydantic<3.0,>=2.9
|
| 3 |
+
pyyaml<7.0,>=6.0
|
| 4 |
+
|
| 5 |
+
[dev]
|
| 6 |
+
pytest<9.0,>=8.3
|
| 7 |
+
ruff<1.0,>=0.12
|
2b_studio.egg-info/top_level.txt
ADDED
|
@@ -0,0 +1 @@
|
|
|
|
|
|
|
| 1 |
+
studio
|
studio/ui.py
CHANGED
|
@@ -1197,8 +1197,8 @@ def _run_onus(
|
|
| 1197 |
current.master.last_report_id = Path(result.session_dir).name
|
| 1198 |
choices = library_choices(current)
|
| 1199 |
analysis_markup = _analysis_html(output)
|
| 1200 |
-
engine = "Space-
|
| 1201 |
-
status = f"✓ {engine}
|
| 1202 |
return (
|
| 1203 |
output.path,
|
| 1204 |
source.path,
|
|
@@ -1263,11 +1263,11 @@ def _open_master(
|
|
| 1263 |
)
|
| 1264 |
in_space = os.environ.get("STUDIO_SPACE_MODE") == "1"
|
| 1265 |
current.master.source_track_id = track.id
|
| 1266 |
-
engine = "Space-
|
| 1267 |
return (
|
| 1268 |
gr.Column(visible=False),
|
| 1269 |
gr.Column(visible=True),
|
| 1270 |
-
f"Track an die {engine}-
|
| 1271 |
_source_label(current),
|
| 1272 |
current,
|
| 1273 |
track.path,
|
|
|
|
| 1197 |
current.master.last_report_id = Path(result.session_dir).name
|
| 1198 |
choices = library_choices(current)
|
| 1199 |
analysis_markup = _analysis_html(output)
|
| 1200 |
+
engine = "Space-Mastering" if in_space else "ONUS-Mastering"
|
| 1201 |
+
status = f"✓ {engine} fertig · {profile} · Original unverändert"
|
| 1202 |
return (
|
| 1203 |
output.path,
|
| 1204 |
source.path,
|
|
|
|
| 1263 |
)
|
| 1264 |
in_space = os.environ.get("STUDIO_SPACE_MODE") == "1"
|
| 1265 |
current.master.source_track_id = track.id
|
| 1266 |
+
engine = "Space-Mastering" if in_space else "ONUS-Mastering"
|
| 1267 |
return (
|
| 1268 |
gr.Column(visible=False),
|
| 1269 |
gr.Column(visible=True),
|
| 1270 |
+
f"Track an die {engine}-Ebene übergeben.",
|
| 1271 |
_source_label(current),
|
| 1272 |
current,
|
| 1273 |
track.path,
|