karaoke-gen 0.60.0__tar.gz → 0.61.1__tar.gz

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.

Potentially problematic release.


This version of karaoke-gen might be problematic. Click here for more details.

Files changed (23) hide show
  1. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/PKG-INFO +42 -1
  2. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/README.md +41 -0
  3. karaoke_gen-0.61.1/karaoke_gen/audio_processor.py +719 -0
  4. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/karaoke_finalise/karaoke_finalise.py +20 -9
  5. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/karaoke_gen.py +9 -9
  6. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/pyproject.toml +1 -1
  7. karaoke_gen-0.60.0/karaoke_gen/audio_processor.py +0 -401
  8. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/LICENSE +0 -0
  9. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/__init__.py +0 -0
  10. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/config.py +0 -0
  11. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/file_handler.py +0 -0
  12. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/karaoke_finalise/__init__.py +0 -0
  13. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/lyrics_processor.py +0 -0
  14. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/metadata.py +0 -0
  15. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/resources/AvenirNext-Bold.ttf +0 -0
  16. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/resources/Montserrat-Bold.ttf +0 -0
  17. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/resources/Oswald-Bold.ttf +0 -0
  18. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/resources/Oswald-SemiBold.ttf +0 -0
  19. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/resources/Zurich_Cn_BT_Bold.ttf +0 -0
  20. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/utils/__init__.py +0 -0
  21. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/utils/bulk_cli.py +0 -0
  22. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/utils/gen_cli.py +0 -0
  23. {karaoke_gen-0.60.0 → karaoke_gen-0.61.1}/karaoke_gen/video_generator.py +0 -0
@@ -1,6 +1,6 @@
1
1
  Metadata-Version: 2.3
2
2
  Name: karaoke-gen
3
- Version: 0.60.0
3
+ Version: 0.61.1
4
4
  Summary: Generate karaoke videos with synchronized lyrics. Handles the entire process from downloading audio and lyrics to creating the final video with title screens.
5
5
  License: MIT
6
6
  Author: Andrew Beveridge
@@ -72,6 +72,47 @@ Karaoke Generator is a comprehensive tool for creating high-quality karaoke vide
72
72
  pip install karaoke-gen
73
73
  ```
74
74
 
75
+ ## Remote Audio Separation 🌐
76
+
77
+ Karaoke Generator now supports remote audio separation using the Audio Separator API. This allows you to offload the compute-intensive audio separation to a remote GPU server while keeping the rest of the workflow local.
78
+
79
+ ### Benefits of Remote Processing
80
+ - **Save Local Resources**: No more laptop CPU/GPU consumption during separation
81
+ - **Faster Processing**: GPU-accelerated separation on dedicated hardware
82
+ - **Cost Effective**: ~$0.019 per separation job on Modal.com (with $30/month free credits)
83
+ - **Multiple Models**: Process with multiple separation models efficiently
84
+
85
+ ### Setup Remote Processing
86
+
87
+ 1. **Deploy Audio Separator API** (using Modal.com):
88
+ ```bash
89
+ pip install modal
90
+ modal setup
91
+ modal deploy audio_separator/remote/deploy_modal.py
92
+ ```
93
+
94
+ 2. **Set Environment Variable**:
95
+ ```bash
96
+ export AUDIO_SEPARATOR_API_URL="https://USERNAME--audio-separator-api.modal.run"
97
+ ```
98
+
99
+ 3. **Run Karaoke Generator Normally**:
100
+ ```bash
101
+ karaoke-gen "Rick Astley" "Never Gonna Give You Up"
102
+ ```
103
+
104
+ The tool will automatically detect the `AUDIO_SEPARATOR_API_URL` environment variable and use remote processing instead of local separation. If the remote API is unavailable, it will gracefully fall back to local processing.
105
+
106
+ ### Remote vs Local Processing
107
+
108
+ | Aspect | Remote Processing | Local Processing |
109
+ |--------|------------------|------------------|
110
+ | **Resource Usage** | Minimal local CPU/GPU | High local CPU/GPU |
111
+ | **Processing Time** | ~2-5 minutes | ~15-45 minutes |
112
+ | **Cost** | ~$0.019 per job | Free (but uses local resources) |
113
+ | **Requirements** | Internet connection | Local GPU recommended |
114
+ | **Setup** | One-time API deployment | Audio separator models download |
115
+
75
116
  ## Quick Start
76
117
 
77
118
  ```bash
@@ -24,6 +24,47 @@ Karaoke Generator is a comprehensive tool for creating high-quality karaoke vide
24
24
  pip install karaoke-gen
25
25
  ```
26
26
 
27
+ ## Remote Audio Separation 🌐
28
+
29
+ Karaoke Generator now supports remote audio separation using the Audio Separator API. This allows you to offload the compute-intensive audio separation to a remote GPU server while keeping the rest of the workflow local.
30
+
31
+ ### Benefits of Remote Processing
32
+ - **Save Local Resources**: No more laptop CPU/GPU consumption during separation
33
+ - **Faster Processing**: GPU-accelerated separation on dedicated hardware
34
+ - **Cost Effective**: ~$0.019 per separation job on Modal.com (with $30/month free credits)
35
+ - **Multiple Models**: Process with multiple separation models efficiently
36
+
37
+ ### Setup Remote Processing
38
+
39
+ 1. **Deploy Audio Separator API** (using Modal.com):
40
+ ```bash
41
+ pip install modal
42
+ modal setup
43
+ modal deploy audio_separator/remote/deploy_modal.py
44
+ ```
45
+
46
+ 2. **Set Environment Variable**:
47
+ ```bash
48
+ export AUDIO_SEPARATOR_API_URL="https://USERNAME--audio-separator-api.modal.run"
49
+ ```
50
+
51
+ 3. **Run Karaoke Generator Normally**:
52
+ ```bash
53
+ karaoke-gen "Rick Astley" "Never Gonna Give You Up"
54
+ ```
55
+
56
+ The tool will automatically detect the `AUDIO_SEPARATOR_API_URL` environment variable and use remote processing instead of local separation. If the remote API is unavailable, it will gracefully fall back to local processing.
57
+
58
+ ### Remote vs Local Processing
59
+
60
+ | Aspect | Remote Processing | Local Processing |
61
+ |--------|------------------|------------------|
62
+ | **Resource Usage** | Minimal local CPU/GPU | High local CPU/GPU |
63
+ | **Processing Time** | ~2-5 minutes | ~15-45 minutes |
64
+ | **Cost** | ~$0.019 per job | Free (but uses local resources) |
65
+ | **Requirements** | Internet connection | Local GPU recommended |
66
+ | **Setup** | One-time API deployment | Audio separator models download |
67
+
27
68
  ## Quick Start
28
69
 
29
70
  ```bash