touchmusic 0.1.0__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.
- touchmusic-0.1.0/Launch.cmd +8 -0
- touchmusic-0.1.0/MANIFEST.in +6 -0
- touchmusic-0.1.0/PKG-INFO +300 -0
- touchmusic-0.1.0/README.md +263 -0
- touchmusic-0.1.0/Setup.cmd +25 -0
- touchmusic-0.1.0/THIRD_PARTY_NOTICES.md +27 -0
- touchmusic-0.1.0/prepare_seed.py +15 -0
- touchmusic-0.1.0/pyproject.toml +47 -0
- touchmusic-0.1.0/requirements.txt +18 -0
- touchmusic-0.1.0/setup.cfg +4 -0
- touchmusic-0.1.0/touchmusic/__init__.py +12 -0
- touchmusic-0.1.0/touchmusic/__main__.py +42 -0
- touchmusic-0.1.0/touchmusic/ai-requirements.txt +12 -0
- touchmusic-0.1.0/touchmusic/alignment.py +103 -0
- touchmusic-0.1.0/touchmusic/audio.py +536 -0
- touchmusic-0.1.0/touchmusic/camera.py +60 -0
- touchmusic-0.1.0/touchmusic/gestures.py +67 -0
- touchmusic-0.1.0/touchmusic/library.py +103 -0
- touchmusic-0.1.0/touchmusic/midi.py +112 -0
- touchmusic-0.1.0/touchmusic/midi_dialog.py +126 -0
- touchmusic-0.1.0/touchmusic/music.py +99 -0
- touchmusic-0.1.0/touchmusic/neural.py +281 -0
- touchmusic-0.1.0/touchmusic/project.py +92 -0
- touchmusic-0.1.0/touchmusic/reference_picker.py +272 -0
- touchmusic-0.1.0/touchmusic/runtime.py +12 -0
- touchmusic-0.1.0/touchmusic/setup_runtime.py +35 -0
- touchmusic-0.1.0/touchmusic/transport.py +57 -0
- touchmusic-0.1.0/touchmusic/ui.py +1294 -0
- touchmusic-0.1.0/touchmusic/vocal.py +122 -0
- touchmusic-0.1.0/touchmusic/waveform.py +141 -0
- touchmusic-0.1.0/touchmusic.egg-info/PKG-INFO +300 -0
- touchmusic-0.1.0/touchmusic.egg-info/SOURCES.txt +34 -0
- touchmusic-0.1.0/touchmusic.egg-info/dependency_links.txt +1 -0
- touchmusic-0.1.0/touchmusic.egg-info/entry_points.txt +2 -0
- touchmusic-0.1.0/touchmusic.egg-info/requires.txt +23 -0
- touchmusic-0.1.0/touchmusic.egg-info/top_level.txt +1 -0
|
@@ -0,0 +1,300 @@
|
|
|
1
|
+
Metadata-Version: 2.4
|
|
2
|
+
Name: touchmusic
|
|
3
|
+
Version: 0.1.0
|
|
4
|
+
Summary: Gesture-controlled live vocals, character voices, and beat-synced looping
|
|
5
|
+
Author: Mark Varkevisser
|
|
6
|
+
Project-URL: Homepage, https://github.com/RealShocky/TouchMusic
|
|
7
|
+
Project-URL: Repository, https://github.com/RealShocky/TouchMusic
|
|
8
|
+
Project-URL: Issues, https://github.com/RealShocky/TouchMusic/issues
|
|
9
|
+
Classifier: Development Status :: 3 - Alpha
|
|
10
|
+
Classifier: Operating System :: Microsoft :: Windows
|
|
11
|
+
Classifier: Programming Language :: Python :: 3.11
|
|
12
|
+
Classifier: Topic :: Multimedia :: Sound/Audio
|
|
13
|
+
Requires-Python: <3.12,>=3.11
|
|
14
|
+
Description-Content-Type: text/markdown
|
|
15
|
+
Requires-Dist: numpy<2,>=1.26
|
|
16
|
+
Requires-Dist: scipy<1.16,>=1.12
|
|
17
|
+
Requires-Dist: sounddevice<0.6,>=0.5
|
|
18
|
+
Requires-Dist: soundfile<0.14,>=0.12
|
|
19
|
+
Requires-Dist: PySide6<7,>=6.8
|
|
20
|
+
Requires-Dist: pedalboard<1,>=0.9.17
|
|
21
|
+
Requires-Dist: mediapipe==0.10.21
|
|
22
|
+
Requires-Dist: opencv-contrib-python<4.12,>=4.8
|
|
23
|
+
Requires-Dist: python-rtmidi<2,>=1.5.8
|
|
24
|
+
Provides-Extra: ai
|
|
25
|
+
Requires-Dist: torch==2.11.0; extra == "ai"
|
|
26
|
+
Requires-Dist: torchaudio==2.11.0; extra == "ai"
|
|
27
|
+
Requires-Dist: torchvision==0.26.0; extra == "ai"
|
|
28
|
+
Requires-Dist: transformers==4.46.3; extra == "ai"
|
|
29
|
+
Requires-Dist: huggingface-hub==0.36.0; extra == "ai"
|
|
30
|
+
Requires-Dist: accelerate<2,>=0.34; extra == "ai"
|
|
31
|
+
Requires-Dist: munch==4.0.0; extra == "ai"
|
|
32
|
+
Requires-Dist: einops<0.9,>=0.8; extra == "ai"
|
|
33
|
+
Requires-Dist: hydra-core<1.4,>=1.3; extra == "ai"
|
|
34
|
+
Requires-Dist: pyyaml<7,>=6; extra == "ai"
|
|
35
|
+
Requires-Dist: python-dotenv<2,>=1; extra == "ai"
|
|
36
|
+
Requires-Dist: librosa<0.12,>=0.10; extra == "ai"
|
|
37
|
+
|
|
38
|
+
# TouchMusic
|
|
39
|
+
|
|
40
|
+

|
|
41
|
+

|
|
42
|
+

|
|
43
|
+

|
|
44
|
+

|
|
45
|
+
[](https://github.com/RealShocky/TouchMusic/releases/latest)
|
|
46
|
+
|
|
47
|
+
**Perform live with your voice, switch characters with hand gestures, and build layered loops.**
|
|
48
|
+
|
|
49
|
+
TouchMusic combines microphone effects, pitch correction, webcam hand tracking, reference-based AI voice conversion, a chord pad, a four-track looper, and WAV recording in a standalone Windows desktop app.
|
|
50
|
+
|
|
51
|
+
[Quick start](#quick-start) · [Auto-Tune](#pitch-correction) · [Looper](#four-track-looper) · [Gestures](#gesture-control) · [Troubleshooting](#troubleshooting)
|
|
52
|
+
|
|
53
|
+
## Features
|
|
54
|
+
|
|
55
|
+
| Area | Controls |
|
|
56
|
+
| --- | --- |
|
|
57
|
+
| Voice performance | Live microphone monitoring, backing tracks, vocal effects, master mute |
|
|
58
|
+
| Pitch correction | Auto-Tune switch, Natural / Tight / Hard presets, key and scale, chromatic or chord targets, pitch meter |
|
|
59
|
+
| Character voices | Import, preview, and rename your own references; five gesture voice slots |
|
|
60
|
+
| AI conversion | Local pitch-conditioned Seed-VC; Live and Studio modes; compute and dropped-chunk status |
|
|
61
|
+
| Gestures | Finger counts, fists, thumb-index pinch, hand height, horizontal movement, thumb-index spread |
|
|
62
|
+
| Looper | Four tracks, 120 seconds per track, level, mute, restart, replacement undo, WAV export |
|
|
63
|
+
| Musical timing | Tap tempo, 40–240 BPM, 4/4 metronome, immediate / next beat / next bar loop and chord changes |
|
|
64
|
+
| Vocal character | Chord-following harmonies, vocal-range selection, vibrato preservation, formant shifting |
|
|
65
|
+
| Sessions | Portable skits with completed loops, backing, voice references, settings, scenes, and mappings |
|
|
66
|
+
| Recording | Performance WAV, separate stems, optional automatic vocal and mix alignment |
|
|
67
|
+
| MIDI output | Gesture CC, notes, chords, velocity, channel, timed note release, all-notes-off |
|
|
68
|
+
|
|
69
|
+
## Download or install
|
|
70
|
+
|
|
71
|
+
Download the Windows setup ZIP from [Releases](https://github.com/RealShocky/TouchMusic/releases/latest), extract it, run Setup.cmd once, then Launch.cmd. Python 3.11 and Git are required. Setup downloads the runtime.
|
|
72
|
+
|
|
73
|
+
The release also includes an installable wheel. With Python 3.11, install it directly:
|
|
74
|
+
|
|
75
|
+
py -3.11 -m pip install https://github.com/RealShocky/TouchMusic/releases/download/v0.1.0/touchmusic-0.1.0-py3-none-any.whl
|
|
76
|
+
touchmusic
|
|
77
|
+
|
|
78
|
+
For character conversion, run the optional engine setup once:
|
|
79
|
+
|
|
80
|
+
touchmusic --setup-ai
|
|
81
|
+
|
|
82
|
+
Use **touchmusic --setup-ai --cpu** for CPU wheels. The standard setup selects NVIDIA CUDA wheels.
|
|
83
|
+
|
|
84
|
+
After publication to PyPI, the equivalent package command is:
|
|
85
|
+
|
|
86
|
+
py -3.11 -m pip install touchmusic
|
|
87
|
+
|
|
88
|
+
The base package contains desktop effects, camera gestures, pitch correction, loops, and MIDI. The singing engine and model downloads are installed separately. **touchmusic --help** lists launch and setup options.
|
|
89
|
+
|
|
90
|
+
## Requirements
|
|
91
|
+
|
|
92
|
+
- Windows 10 or 11, 64-bit.
|
|
93
|
+
- [Python 3.11, 64-bit](https://www.python.org/downloads/) with the Windows Python launcher.
|
|
94
|
+
- [Git for Windows](https://git-scm.com/download/win).
|
|
95
|
+
- A microphone and headphones. A webcam enables gesture control.
|
|
96
|
+
- Internet for setup and the first AI model downloads.
|
|
97
|
+
- Several GB of free disk space for the Python environment and downloaded models.
|
|
98
|
+
- An NVIDIA GPU and compatible driver are recommended for AI conversion. Setup installs CUDA 12.8 PyTorch wheels. The model loader supports CPU, but real-time CPU performance has not been validated.
|
|
99
|
+
|
|
100
|
+
Effects, pitch correction, playback, and looping work before loading the AI model. A fresh clone starts with an empty voice library. Import your own reference audio to use character conversion.
|
|
101
|
+
|
|
102
|
+
## Quick start
|
|
103
|
+
|
|
104
|
+
1. Clone the repository into a writable folder.
|
|
105
|
+
|
|
106
|
+
git clone https://github.com/RealShocky/TouchMusic.git
|
|
107
|
+
cd TouchMusic
|
|
108
|
+
|
|
109
|
+
2. Double-click **Setup.cmd** and let it finish. It creates the Python environment, installs dependencies, downloads Seed-VC at the pinned revision, and applies the inference compatibility patch.
|
|
110
|
+
3. Double-click **Launch.cmd**.
|
|
111
|
+
4. Select your microphone and headphone output, then click **Start audio**.
|
|
112
|
+
5. Choose **Natural**, **Tight**, or **Hard** to try pitch correction. Turn off **Dialogue mode** so vocal effects apply.
|
|
113
|
+
6. For gestures, click **Start camera**, check the preview, open **Gesture mapping**, and enable **Arm gestures**.
|
|
114
|
+
|
|
115
|
+
Launch.cmd changes to its own folder before starting the app, so it works from a desktop shortcut. Run **Launch.cmd --load-engine** to load the AI engine at launch. Later runs only need Launch.cmd. Setup is for creating or repairing the environment.
|
|
116
|
+
|
|
117
|
+
## Desktop shortcut
|
|
118
|
+
|
|
119
|
+
Right-click **Launch.cmd** in your installation folder and choose **Show more options → Send to → Desktop (create shortcut)**. The shortcut should point to Launch.cmd, with **Start in** set to the installation folder.
|
|
120
|
+
|
|
121
|
+
You can also choose **New → Shortcut** on the desktop, browse to Launch.cmd, and name it **TouchMusic**.
|
|
122
|
+
|
|
123
|
+
## Pitch correction
|
|
124
|
+
|
|
125
|
+
1. Click **Auto-Tune Off** on the main screen to enable pitch correction.
|
|
126
|
+
2. Choose a preset, or adjust **Tune strength** and **Retune speed** on the **Pitch correction** tab.
|
|
127
|
+
3. Set the song key, scale, and target. **Chromatic** uses the nearest semitone. **Key / scale** restricts correction to your scale. **Current chord** targets the active triad.
|
|
128
|
+
4. Choose **Wet vocal** in Music tools to hear the processed result. Hold a sung note and watch the detected note, target, and cents meter.
|
|
129
|
+
|
|
130
|
+
Higher retune speed pulls notes into tune faster. Dialogue mode bypasses pitch correction and vocal effects. The UI label “Auto-Tune” refers to TouchMusic's built-in pitch correction.
|
|
131
|
+
|
|
132
|
+
Music tools also contains vocal range, vibrato preservation, harmony mode, and formant controls. Formant shifting changes voice color independently of pitch and adds about 43 ms of processing delay while active.
|
|
133
|
+
|
|
134
|
+
## Character voices
|
|
135
|
+
|
|
136
|
+
1. Click **Import audio** and choose WAV, MP3, FLAC, or OGG. The reference picker opens with a player and waveform.
|
|
137
|
+
2. Listen with **Play song**, seek with the full-track slider, and click **Use playhead as start** when you find a section. Drag the green selection or either edge to choose 1–8 seconds. Zoom and the waveform scrollbar let you work through longer songs. **Play selection** auditions the highlighted section, and **Loop selection** repeats it.
|
|
138
|
+
3. Enter a voice name and click **Use this section**. TouchMusic saves the selected audio and selects the new reference in the voice list.
|
|
139
|
+
4. Click **Load singing engine** and wait until it reports ready.
|
|
140
|
+
5. Enable **Use AI character conversion**, start audio, and speak or sing.
|
|
141
|
+
|
|
142
|
+
The engine uses up to eight seconds. The picker saves exactly the chosen section as the reference, so it can come from anywhere in a whole song. Earlier imports still use their first eight seconds. Use clear solo vocals with minimal instruments. The picker extracts the selected section as supplied. WAV preserves the source best, and MP3 is supported.
|
|
143
|
+
|
|
144
|
+
Preview output and volume can be chosen inside the picker. It plays through its own player and works while the main audio engine is stopped. Use headphones while auditioning if the main microphone is active.
|
|
145
|
+
|
|
146
|
+
Preview plays the reference. AI mix blends time-aligned dry and converted samples. Results depend on the reference, performance, and model. Importing a short reference does not train a dedicated model.
|
|
147
|
+
|
|
148
|
+
### Live and Studio modes
|
|
149
|
+
|
|
150
|
+
| Mode | Model steps | Input block |
|
|
151
|
+
| --- | --- | --- |
|
|
152
|
+
| Live | 4 | 800 ms |
|
|
153
|
+
| Studio | 8 | 1.2 seconds |
|
|
154
|
+
|
|
155
|
+
Input blocks are only part of the audible delay. Inference, buffering, audio devices, and effects add latency. Status reports compute time and dropped chunks.
|
|
156
|
+
|
|
157
|
+
For singing in time, use **Dry mic** headphone monitoring while recording the processed vocal. Leave a few seconds after the final phrase so buffered audio can finish.
|
|
158
|
+
|
|
159
|
+
## Four-track looper
|
|
160
|
+
|
|
161
|
+
Set BPM or use Tap tempo, then choose Immediate, Next beat, or Next bar. Enable Metronome for a headphone click.
|
|
162
|
+
|
|
163
|
+
- Click a pad to capture. Click it again to finish and play.
|
|
164
|
+
- Quantized pads display Capture queued or Finish queued until the boundary. Press the same pad again before the boundary to cancel.
|
|
165
|
+
- Starting capture on another track finishes the current capture.
|
|
166
|
+
- Each track has level and mute. Select a track for restart, export, clear, or undo.
|
|
167
|
+
- Capturing over a filled track replaces its take. Undo swaps the current and previous take. Clear loop clears both.
|
|
168
|
+
- Four tracks hold up to 120 seconds each and play together.
|
|
169
|
+
- Processed vocal captures effects and AI output, including conversion delay. Mic before AI captures after enabled pitch correction and before downstream AI and vocal effects.
|
|
170
|
+
|
|
171
|
+
The clock uses 4/4 and starts when audio starts. Chords and loop restart follow the timing setting. Keep BPM fixed while building loops. Existing clips keep their speed when BPM changes. Backing tracks use their own playhead.
|
|
172
|
+
|
|
173
|
+
## Chords and harmony
|
|
174
|
+
|
|
175
|
+
Open Music tools, choose a chord, and enable Play chord pad. Key and scale determine seven diatonic triads.
|
|
176
|
+
|
|
177
|
+
**Map left fingers 1–5 to chords I–V** replaces those poses' previous mappings. You can assign all seven chords, next / previous chord, and the chord-pad switch individually.
|
|
178
|
+
|
|
179
|
+
For vocal harmony, choose Chord above or Chord below and raise Harmony on the Vocal effects tab.
|
|
180
|
+
|
|
181
|
+
## Gesture control
|
|
182
|
+
|
|
183
|
+
| Input | Controls |
|
|
184
|
+
| --- | --- |
|
|
185
|
+
| Finger counts and fists | Voice slots, next / previous voice, loop capture, mute, restart, undo, chords, transport, recording, saved scenes |
|
|
186
|
+
| Thumb-index pinch | A discrete action when the fingertips touch |
|
|
187
|
+
| Hand height or side-to-side movement | Effects, pitch, levels, tuning strength, retune speed |
|
|
188
|
+
| Thumb-index spread | A continuous effect or level |
|
|
189
|
+
| Rehearse gestures | Shows a detected pose and mapped action before arming |
|
|
190
|
+
|
|
191
|
+
Hold a pose for about a quarter second. It fires once until the pose changes. Pinch means touching thumb tip to index fingertip. Leave pinch unassigned if you want that hand's closed fist to take priority.
|
|
192
|
+
|
|
193
|
+
Assign voice slots in Gesture mapping. Default right-hand counts 1–4 select populated slots 1–4. Voice 5 is available to map. Rehearse assignments, then exit rehearsal and enable Arm gestures.
|
|
194
|
+
|
|
195
|
+
## Vocal effects and scenes
|
|
196
|
+
|
|
197
|
+
Vocal effects include pitch, reverb, delay, harmony, robot modulation, chorus, drive, radio, low octave, tremolo, warmth, brightness, noise gate, delay feedback and time, AI mix, and levels.
|
|
198
|
+
|
|
199
|
+
Presets include Clean, Space, Choir, Machine, Intercom, Villain, and Ghost. Save a preset to recall effects, voices, mappings, and musical settings together. Saved presets appear as gesture scene actions.
|
|
200
|
+
|
|
201
|
+
## Save a skit
|
|
202
|
+
|
|
203
|
+
Save skit creates a .touchmusic archive with completed loops, backing, active and slotted voice references, scenes, levels, loop mutes, gesture mappings, and musical settings.
|
|
204
|
+
|
|
205
|
+
Finish capture before saving. Open skit restores the arrangement, stops audio, and disarms gestures so you can check it before performing.
|
|
206
|
+
|
|
207
|
+
## Recording and aligned export
|
|
208
|
+
|
|
209
|
+
Record performance writes the processed mix to WAV. Its gesture action starts and stops a recording in data/recordings without a file picker.
|
|
210
|
+
|
|
211
|
+
Record separate WAV stems creates a folder beside the mix with dry mic, wet vocal, four loop tracks, backing, and chords. Mute output silences monitoring while recording continues.
|
|
212
|
+
|
|
213
|
+
Export aligned vocal and mix generates wet-vocal-aligned.wav and performance-aligned.wav after stopping. Converted samples return to their originating microphone times. The original mix and stems remain available.
|
|
214
|
+
|
|
215
|
+
Alignment accounts for neural transport and the active formant buffer. Missing converted audio remains silent. It cannot recover samples arriving after recording stops. Other effect delays and tails can remain. The aligned mix uses the master level at stop instead of replaying master automation.
|
|
216
|
+
|
|
217
|
+
## Using TouchMusic with FL Studio
|
|
218
|
+
|
|
219
|
+
### Live audio route
|
|
220
|
+
|
|
221
|
+
TouchMusic already offers a selectable output device. A virtual audio cable can carry that output into an FL Studio Mixer input.
|
|
222
|
+
|
|
223
|
+
1. Install a virtual cable such as [VB-CABLE](https://vb-audio.com/Cable/) using its vendor instructions.
|
|
224
|
+
2. In TouchMusic, keep your microphone selected and choose **CABLE Input** as the output using the same Windows audio backend as the microphone. Choose **Wet vocal** monitoring to send the converted/effected sound.
|
|
225
|
+
3. In FL Studio's Audio settings, select **FL Studio ASIO** and open its panel. Choose **CABLE Output** as input and your headphones as output.
|
|
226
|
+
4. Select the available external input on an FL Mixer insert. Monitor it and arm it for recording. FL Studio Producer Edition or higher supports external audio recording.
|
|
227
|
+
|
|
228
|
+
This sends TouchMusic's monitored mix, including loops and backing if playing. Disable TouchMusic's metronome if you want the click excluded from this route. The AI engine's processing delay also reaches FL Studio. This routing requires configuring the virtual driver and has not been verified on every device.
|
|
229
|
+
|
|
230
|
+
For an existing performance, import the WAV mix or separate stems into FL Studio. The aligned export can help place the converted vocal against the backing track.
|
|
231
|
+
|
|
232
|
+
### Gesture control and plugin support
|
|
233
|
+
|
|
234
|
+
Open **MIDI / FL** in TouchMusic. Create a virtual port with [loopMIDI](https://www.tobias-erichsen.de/software/loopmidi.html), click Refresh ports, select that port and channel, then Connect MIDI. Enable the same input in FL Studio's MIDI settings. **Test C4** checks the connection.
|
|
235
|
+
|
|
236
|
+
In Gesture mapping, map continuous hand movements to **MIDI CC 0–119** and poses to **MIDI note C4–B4**, **MIDI chord**, or **MIDI chord I–VII**. The chord actions use the selected song key and scale. Set note velocity and length in MIDI / FL. **Map hand heights to CC 1 / 74** provides a quick starting point.
|
|
237
|
+
|
|
238
|
+
Arm gestures to send. Rehearsal previews actions. Disarming sends all-notes-off. MIDI output disconnects when the app closes. Timed note release prevents a pose from leaving its notes held indefinitely. The all-notes-off button is also available manually. Connections are selected explicitly after launching the app.
|
|
239
|
+
|
|
240
|
+
To link a plugin knob in FL Studio, right-click it, choose Link to controller, and move the mapped hand. MIDI transports control messages. Use the audio route above for vocals. Native TouchMusic VST3 hosting would require a separate plugin implementation.
|
|
241
|
+
|
|
242
|
+
Official references are [FL Studio audio settings](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/envsettings_audio.htm), [audio recording](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/recording_audio.htm), and [external controller linking](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/automation_linking.htm).
|
|
243
|
+
|
|
244
|
+
## Files and local data
|
|
245
|
+
|
|
246
|
+
| Path | Purpose |
|
|
247
|
+
| --- | --- |
|
|
248
|
+
| touchmusic/ | Desktop app, audio, camera, gestures, transport, session, and conversion source |
|
|
249
|
+
| Launch.cmd | Windows launcher |
|
|
250
|
+
| Setup.cmd | Environment and pinned upstream setup |
|
|
251
|
+
| requirements.txt | Runtime dependencies |
|
|
252
|
+
| prepare_seed.py | Upstream inference compatibility patch |
|
|
253
|
+
| .venv/ | Local Python environment |
|
|
254
|
+
| vendor/seed-vc/ | Downloaded inference source and upstream license |
|
|
255
|
+
| data/voices/ | Imported reference copies and manifest |
|
|
256
|
+
| data/models/ | Downloaded models |
|
|
257
|
+
| data/settings.json | Devices, effects, scenes, and mappings |
|
|
258
|
+
| data/recordings/ | Default recording folder |
|
|
259
|
+
| data/touchmusic.log | Startup and runtime diagnostics |
|
|
260
|
+
|
|
261
|
+
Source-folder launches keep data beside the source. A wheel installation uses **%LOCALAPPDATA%/TouchMusic** on Windows. **TOUCHMUSIC_DATA_DIR** can override the data directory. Imported voices and models are excluded from the package.
|
|
262
|
+
|
|
263
|
+
## Publishing a release
|
|
264
|
+
|
|
265
|
+
Bump the version in pyproject.toml and touchmusic/runtime.py, update release-notes.md, then push to main. The release workflow builds a wheel, source distribution, Windows setup ZIP, and SHA-256 checksums and publishes a GitHub release. The same version is kept immutable on reruns.
|
|
266
|
+
|
|
267
|
+
For the first PyPI publication, add a pending trusted publisher in your PyPI account:
|
|
268
|
+
|
|
269
|
+
| PyPI field | Value |
|
|
270
|
+
| --- | --- |
|
|
271
|
+
| Project name | touchmusic |
|
|
272
|
+
| Owner | RealShocky |
|
|
273
|
+
| Repository | TouchMusic |
|
|
274
|
+
| Workflow | release.yml |
|
|
275
|
+
| Environment | pypi |
|
|
276
|
+
|
|
277
|
+
After configuring it, open the repository Actions tab, select Build and release TouchMusic, choose Run workflow, and enable **publish_pypi**. Setting the repository variable **PYPI_PUBLISH** to **true** enables publication on subsequent version builds. The publisher uses short-lived GitHub OIDC authentication.
|
|
278
|
+
|
|
279
|
+
This repository contains source and setup files. User audio, model weights, recordings, settings, upstream checkout, and the Python environment are generated locally and ignored by Git. Screenshots can be added under docs/screenshots/ and embedded here.
|
|
280
|
+
|
|
281
|
+
## Troubleshooting
|
|
282
|
+
|
|
283
|
+
| Symptom | Check |
|
|
284
|
+
| --- | --- |
|
|
285
|
+
| Setup cannot find Python | Install 64-bit Python 3.11 with the Windows launcher, then retry |
|
|
286
|
+
| Git unavailable | Install Git for Windows and reopen Setup.cmd |
|
|
287
|
+
| Audio fails to open | Select input and output from the same Windows audio backend, then refresh |
|
|
288
|
+
| Camera fails | Close other webcam apps, check Windows camera access, and try another camera index |
|
|
289
|
+
| Tuning has no effect | Enable it, turn off Dialogue mode, choose Wet vocal, and sing a held note |
|
|
290
|
+
| Voice sounds unchanged | Select the imported reference, load the engine, enable AI conversion, and check AI mix |
|
|
291
|
+
| Loop seems to wait | Check Next beat / Next bar and the queued pad state |
|
|
292
|
+
| AI breaks up or is delayed | Try Live and Dry mic monitoring, close other GPU workloads, and check dropped chunks |
|
|
293
|
+
| Final AI phrase missing | Leave a few seconds after the last phrase before stopping |
|
|
294
|
+
| Startup exits | Read data/touchmusic.log and rerun Setup.cmd if dependencies are missing |
|
|
295
|
+
|
|
296
|
+
## Status and acknowledgments
|
|
297
|
+
|
|
298
|
+
TouchMusic is an experimental Windows application. Automated DSP, transport, conversion-queue, recording, session, and UI tests were run during development. Live performance depends on your devices, reference audio, and GPU.
|
|
299
|
+
|
|
300
|
+
The singing engine uses [Seed-VC](https://github.com/Plachtaa/seed-vc), pinned by Setup.cmd. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) for source, model, and dependency information. The repository owner has not yet selected a license for TouchMusic's application source.
|
|
@@ -0,0 +1,263 @@
|
|
|
1
|
+
# TouchMusic
|
|
2
|
+
|
|
3
|
+

|
|
4
|
+

|
|
5
|
+

|
|
6
|
+

|
|
7
|
+

|
|
8
|
+
[](https://github.com/RealShocky/TouchMusic/releases/latest)
|
|
9
|
+
|
|
10
|
+
**Perform live with your voice, switch characters with hand gestures, and build layered loops.**
|
|
11
|
+
|
|
12
|
+
TouchMusic combines microphone effects, pitch correction, webcam hand tracking, reference-based AI voice conversion, a chord pad, a four-track looper, and WAV recording in a standalone Windows desktop app.
|
|
13
|
+
|
|
14
|
+
[Quick start](#quick-start) · [Auto-Tune](#pitch-correction) · [Looper](#four-track-looper) · [Gestures](#gesture-control) · [Troubleshooting](#troubleshooting)
|
|
15
|
+
|
|
16
|
+
## Features
|
|
17
|
+
|
|
18
|
+
| Area | Controls |
|
|
19
|
+
| --- | --- |
|
|
20
|
+
| Voice performance | Live microphone monitoring, backing tracks, vocal effects, master mute |
|
|
21
|
+
| Pitch correction | Auto-Tune switch, Natural / Tight / Hard presets, key and scale, chromatic or chord targets, pitch meter |
|
|
22
|
+
| Character voices | Import, preview, and rename your own references; five gesture voice slots |
|
|
23
|
+
| AI conversion | Local pitch-conditioned Seed-VC; Live and Studio modes; compute and dropped-chunk status |
|
|
24
|
+
| Gestures | Finger counts, fists, thumb-index pinch, hand height, horizontal movement, thumb-index spread |
|
|
25
|
+
| Looper | Four tracks, 120 seconds per track, level, mute, restart, replacement undo, WAV export |
|
|
26
|
+
| Musical timing | Tap tempo, 40–240 BPM, 4/4 metronome, immediate / next beat / next bar loop and chord changes |
|
|
27
|
+
| Vocal character | Chord-following harmonies, vocal-range selection, vibrato preservation, formant shifting |
|
|
28
|
+
| Sessions | Portable skits with completed loops, backing, voice references, settings, scenes, and mappings |
|
|
29
|
+
| Recording | Performance WAV, separate stems, optional automatic vocal and mix alignment |
|
|
30
|
+
| MIDI output | Gesture CC, notes, chords, velocity, channel, timed note release, all-notes-off |
|
|
31
|
+
|
|
32
|
+
## Download or install
|
|
33
|
+
|
|
34
|
+
Download the Windows setup ZIP from [Releases](https://github.com/RealShocky/TouchMusic/releases/latest), extract it, run Setup.cmd once, then Launch.cmd. Python 3.11 and Git are required. Setup downloads the runtime.
|
|
35
|
+
|
|
36
|
+
The release also includes an installable wheel. With Python 3.11, install it directly:
|
|
37
|
+
|
|
38
|
+
py -3.11 -m pip install https://github.com/RealShocky/TouchMusic/releases/download/v0.1.0/touchmusic-0.1.0-py3-none-any.whl
|
|
39
|
+
touchmusic
|
|
40
|
+
|
|
41
|
+
For character conversion, run the optional engine setup once:
|
|
42
|
+
|
|
43
|
+
touchmusic --setup-ai
|
|
44
|
+
|
|
45
|
+
Use **touchmusic --setup-ai --cpu** for CPU wheels. The standard setup selects NVIDIA CUDA wheels.
|
|
46
|
+
|
|
47
|
+
After publication to PyPI, the equivalent package command is:
|
|
48
|
+
|
|
49
|
+
py -3.11 -m pip install touchmusic
|
|
50
|
+
|
|
51
|
+
The base package contains desktop effects, camera gestures, pitch correction, loops, and MIDI. The singing engine and model downloads are installed separately. **touchmusic --help** lists launch and setup options.
|
|
52
|
+
|
|
53
|
+
## Requirements
|
|
54
|
+
|
|
55
|
+
- Windows 10 or 11, 64-bit.
|
|
56
|
+
- [Python 3.11, 64-bit](https://www.python.org/downloads/) with the Windows Python launcher.
|
|
57
|
+
- [Git for Windows](https://git-scm.com/download/win).
|
|
58
|
+
- A microphone and headphones. A webcam enables gesture control.
|
|
59
|
+
- Internet for setup and the first AI model downloads.
|
|
60
|
+
- Several GB of free disk space for the Python environment and downloaded models.
|
|
61
|
+
- An NVIDIA GPU and compatible driver are recommended for AI conversion. Setup installs CUDA 12.8 PyTorch wheels. The model loader supports CPU, but real-time CPU performance has not been validated.
|
|
62
|
+
|
|
63
|
+
Effects, pitch correction, playback, and looping work before loading the AI model. A fresh clone starts with an empty voice library. Import your own reference audio to use character conversion.
|
|
64
|
+
|
|
65
|
+
## Quick start
|
|
66
|
+
|
|
67
|
+
1. Clone the repository into a writable folder.
|
|
68
|
+
|
|
69
|
+
git clone https://github.com/RealShocky/TouchMusic.git
|
|
70
|
+
cd TouchMusic
|
|
71
|
+
|
|
72
|
+
2. Double-click **Setup.cmd** and let it finish. It creates the Python environment, installs dependencies, downloads Seed-VC at the pinned revision, and applies the inference compatibility patch.
|
|
73
|
+
3. Double-click **Launch.cmd**.
|
|
74
|
+
4. Select your microphone and headphone output, then click **Start audio**.
|
|
75
|
+
5. Choose **Natural**, **Tight**, or **Hard** to try pitch correction. Turn off **Dialogue mode** so vocal effects apply.
|
|
76
|
+
6. For gestures, click **Start camera**, check the preview, open **Gesture mapping**, and enable **Arm gestures**.
|
|
77
|
+
|
|
78
|
+
Launch.cmd changes to its own folder before starting the app, so it works from a desktop shortcut. Run **Launch.cmd --load-engine** to load the AI engine at launch. Later runs only need Launch.cmd. Setup is for creating or repairing the environment.
|
|
79
|
+
|
|
80
|
+
## Desktop shortcut
|
|
81
|
+
|
|
82
|
+
Right-click **Launch.cmd** in your installation folder and choose **Show more options → Send to → Desktop (create shortcut)**. The shortcut should point to Launch.cmd, with **Start in** set to the installation folder.
|
|
83
|
+
|
|
84
|
+
You can also choose **New → Shortcut** on the desktop, browse to Launch.cmd, and name it **TouchMusic**.
|
|
85
|
+
|
|
86
|
+
## Pitch correction
|
|
87
|
+
|
|
88
|
+
1. Click **Auto-Tune Off** on the main screen to enable pitch correction.
|
|
89
|
+
2. Choose a preset, or adjust **Tune strength** and **Retune speed** on the **Pitch correction** tab.
|
|
90
|
+
3. Set the song key, scale, and target. **Chromatic** uses the nearest semitone. **Key / scale** restricts correction to your scale. **Current chord** targets the active triad.
|
|
91
|
+
4. Choose **Wet vocal** in Music tools to hear the processed result. Hold a sung note and watch the detected note, target, and cents meter.
|
|
92
|
+
|
|
93
|
+
Higher retune speed pulls notes into tune faster. Dialogue mode bypasses pitch correction and vocal effects. The UI label “Auto-Tune” refers to TouchMusic's built-in pitch correction.
|
|
94
|
+
|
|
95
|
+
Music tools also contains vocal range, vibrato preservation, harmony mode, and formant controls. Formant shifting changes voice color independently of pitch and adds about 43 ms of processing delay while active.
|
|
96
|
+
|
|
97
|
+
## Character voices
|
|
98
|
+
|
|
99
|
+
1. Click **Import audio** and choose WAV, MP3, FLAC, or OGG. The reference picker opens with a player and waveform.
|
|
100
|
+
2. Listen with **Play song**, seek with the full-track slider, and click **Use playhead as start** when you find a section. Drag the green selection or either edge to choose 1–8 seconds. Zoom and the waveform scrollbar let you work through longer songs. **Play selection** auditions the highlighted section, and **Loop selection** repeats it.
|
|
101
|
+
3. Enter a voice name and click **Use this section**. TouchMusic saves the selected audio and selects the new reference in the voice list.
|
|
102
|
+
4. Click **Load singing engine** and wait until it reports ready.
|
|
103
|
+
5. Enable **Use AI character conversion**, start audio, and speak or sing.
|
|
104
|
+
|
|
105
|
+
The engine uses up to eight seconds. The picker saves exactly the chosen section as the reference, so it can come from anywhere in a whole song. Earlier imports still use their first eight seconds. Use clear solo vocals with minimal instruments. The picker extracts the selected section as supplied. WAV preserves the source best, and MP3 is supported.
|
|
106
|
+
|
|
107
|
+
Preview output and volume can be chosen inside the picker. It plays through its own player and works while the main audio engine is stopped. Use headphones while auditioning if the main microphone is active.
|
|
108
|
+
|
|
109
|
+
Preview plays the reference. AI mix blends time-aligned dry and converted samples. Results depend on the reference, performance, and model. Importing a short reference does not train a dedicated model.
|
|
110
|
+
|
|
111
|
+
### Live and Studio modes
|
|
112
|
+
|
|
113
|
+
| Mode | Model steps | Input block |
|
|
114
|
+
| --- | --- | --- |
|
|
115
|
+
| Live | 4 | 800 ms |
|
|
116
|
+
| Studio | 8 | 1.2 seconds |
|
|
117
|
+
|
|
118
|
+
Input blocks are only part of the audible delay. Inference, buffering, audio devices, and effects add latency. Status reports compute time and dropped chunks.
|
|
119
|
+
|
|
120
|
+
For singing in time, use **Dry mic** headphone monitoring while recording the processed vocal. Leave a few seconds after the final phrase so buffered audio can finish.
|
|
121
|
+
|
|
122
|
+
## Four-track looper
|
|
123
|
+
|
|
124
|
+
Set BPM or use Tap tempo, then choose Immediate, Next beat, or Next bar. Enable Metronome for a headphone click.
|
|
125
|
+
|
|
126
|
+
- Click a pad to capture. Click it again to finish and play.
|
|
127
|
+
- Quantized pads display Capture queued or Finish queued until the boundary. Press the same pad again before the boundary to cancel.
|
|
128
|
+
- Starting capture on another track finishes the current capture.
|
|
129
|
+
- Each track has level and mute. Select a track for restart, export, clear, or undo.
|
|
130
|
+
- Capturing over a filled track replaces its take. Undo swaps the current and previous take. Clear loop clears both.
|
|
131
|
+
- Four tracks hold up to 120 seconds each and play together.
|
|
132
|
+
- Processed vocal captures effects and AI output, including conversion delay. Mic before AI captures after enabled pitch correction and before downstream AI and vocal effects.
|
|
133
|
+
|
|
134
|
+
The clock uses 4/4 and starts when audio starts. Chords and loop restart follow the timing setting. Keep BPM fixed while building loops. Existing clips keep their speed when BPM changes. Backing tracks use their own playhead.
|
|
135
|
+
|
|
136
|
+
## Chords and harmony
|
|
137
|
+
|
|
138
|
+
Open Music tools, choose a chord, and enable Play chord pad. Key and scale determine seven diatonic triads.
|
|
139
|
+
|
|
140
|
+
**Map left fingers 1–5 to chords I–V** replaces those poses' previous mappings. You can assign all seven chords, next / previous chord, and the chord-pad switch individually.
|
|
141
|
+
|
|
142
|
+
For vocal harmony, choose Chord above or Chord below and raise Harmony on the Vocal effects tab.
|
|
143
|
+
|
|
144
|
+
## Gesture control
|
|
145
|
+
|
|
146
|
+
| Input | Controls |
|
|
147
|
+
| --- | --- |
|
|
148
|
+
| Finger counts and fists | Voice slots, next / previous voice, loop capture, mute, restart, undo, chords, transport, recording, saved scenes |
|
|
149
|
+
| Thumb-index pinch | A discrete action when the fingertips touch |
|
|
150
|
+
| Hand height or side-to-side movement | Effects, pitch, levels, tuning strength, retune speed |
|
|
151
|
+
| Thumb-index spread | A continuous effect or level |
|
|
152
|
+
| Rehearse gestures | Shows a detected pose and mapped action before arming |
|
|
153
|
+
|
|
154
|
+
Hold a pose for about a quarter second. It fires once until the pose changes. Pinch means touching thumb tip to index fingertip. Leave pinch unassigned if you want that hand's closed fist to take priority.
|
|
155
|
+
|
|
156
|
+
Assign voice slots in Gesture mapping. Default right-hand counts 1–4 select populated slots 1–4. Voice 5 is available to map. Rehearse assignments, then exit rehearsal and enable Arm gestures.
|
|
157
|
+
|
|
158
|
+
## Vocal effects and scenes
|
|
159
|
+
|
|
160
|
+
Vocal effects include pitch, reverb, delay, harmony, robot modulation, chorus, drive, radio, low octave, tremolo, warmth, brightness, noise gate, delay feedback and time, AI mix, and levels.
|
|
161
|
+
|
|
162
|
+
Presets include Clean, Space, Choir, Machine, Intercom, Villain, and Ghost. Save a preset to recall effects, voices, mappings, and musical settings together. Saved presets appear as gesture scene actions.
|
|
163
|
+
|
|
164
|
+
## Save a skit
|
|
165
|
+
|
|
166
|
+
Save skit creates a .touchmusic archive with completed loops, backing, active and slotted voice references, scenes, levels, loop mutes, gesture mappings, and musical settings.
|
|
167
|
+
|
|
168
|
+
Finish capture before saving. Open skit restores the arrangement, stops audio, and disarms gestures so you can check it before performing.
|
|
169
|
+
|
|
170
|
+
## Recording and aligned export
|
|
171
|
+
|
|
172
|
+
Record performance writes the processed mix to WAV. Its gesture action starts and stops a recording in data/recordings without a file picker.
|
|
173
|
+
|
|
174
|
+
Record separate WAV stems creates a folder beside the mix with dry mic, wet vocal, four loop tracks, backing, and chords. Mute output silences monitoring while recording continues.
|
|
175
|
+
|
|
176
|
+
Export aligned vocal and mix generates wet-vocal-aligned.wav and performance-aligned.wav after stopping. Converted samples return to their originating microphone times. The original mix and stems remain available.
|
|
177
|
+
|
|
178
|
+
Alignment accounts for neural transport and the active formant buffer. Missing converted audio remains silent. It cannot recover samples arriving after recording stops. Other effect delays and tails can remain. The aligned mix uses the master level at stop instead of replaying master automation.
|
|
179
|
+
|
|
180
|
+
## Using TouchMusic with FL Studio
|
|
181
|
+
|
|
182
|
+
### Live audio route
|
|
183
|
+
|
|
184
|
+
TouchMusic already offers a selectable output device. A virtual audio cable can carry that output into an FL Studio Mixer input.
|
|
185
|
+
|
|
186
|
+
1. Install a virtual cable such as [VB-CABLE](https://vb-audio.com/Cable/) using its vendor instructions.
|
|
187
|
+
2. In TouchMusic, keep your microphone selected and choose **CABLE Input** as the output using the same Windows audio backend as the microphone. Choose **Wet vocal** monitoring to send the converted/effected sound.
|
|
188
|
+
3. In FL Studio's Audio settings, select **FL Studio ASIO** and open its panel. Choose **CABLE Output** as input and your headphones as output.
|
|
189
|
+
4. Select the available external input on an FL Mixer insert. Monitor it and arm it for recording. FL Studio Producer Edition or higher supports external audio recording.
|
|
190
|
+
|
|
191
|
+
This sends TouchMusic's monitored mix, including loops and backing if playing. Disable TouchMusic's metronome if you want the click excluded from this route. The AI engine's processing delay also reaches FL Studio. This routing requires configuring the virtual driver and has not been verified on every device.
|
|
192
|
+
|
|
193
|
+
For an existing performance, import the WAV mix or separate stems into FL Studio. The aligned export can help place the converted vocal against the backing track.
|
|
194
|
+
|
|
195
|
+
### Gesture control and plugin support
|
|
196
|
+
|
|
197
|
+
Open **MIDI / FL** in TouchMusic. Create a virtual port with [loopMIDI](https://www.tobias-erichsen.de/software/loopmidi.html), click Refresh ports, select that port and channel, then Connect MIDI. Enable the same input in FL Studio's MIDI settings. **Test C4** checks the connection.
|
|
198
|
+
|
|
199
|
+
In Gesture mapping, map continuous hand movements to **MIDI CC 0–119** and poses to **MIDI note C4–B4**, **MIDI chord**, or **MIDI chord I–VII**. The chord actions use the selected song key and scale. Set note velocity and length in MIDI / FL. **Map hand heights to CC 1 / 74** provides a quick starting point.
|
|
200
|
+
|
|
201
|
+
Arm gestures to send. Rehearsal previews actions. Disarming sends all-notes-off. MIDI output disconnects when the app closes. Timed note release prevents a pose from leaving its notes held indefinitely. The all-notes-off button is also available manually. Connections are selected explicitly after launching the app.
|
|
202
|
+
|
|
203
|
+
To link a plugin knob in FL Studio, right-click it, choose Link to controller, and move the mapped hand. MIDI transports control messages. Use the audio route above for vocals. Native TouchMusic VST3 hosting would require a separate plugin implementation.
|
|
204
|
+
|
|
205
|
+
Official references are [FL Studio audio settings](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/envsettings_audio.htm), [audio recording](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/recording_audio.htm), and [external controller linking](https://www.image-line.com/fl-studio-learning-content/fl-studio-online-manual/html/automation_linking.htm).
|
|
206
|
+
|
|
207
|
+
## Files and local data
|
|
208
|
+
|
|
209
|
+
| Path | Purpose |
|
|
210
|
+
| --- | --- |
|
|
211
|
+
| touchmusic/ | Desktop app, audio, camera, gestures, transport, session, and conversion source |
|
|
212
|
+
| Launch.cmd | Windows launcher |
|
|
213
|
+
| Setup.cmd | Environment and pinned upstream setup |
|
|
214
|
+
| requirements.txt | Runtime dependencies |
|
|
215
|
+
| prepare_seed.py | Upstream inference compatibility patch |
|
|
216
|
+
| .venv/ | Local Python environment |
|
|
217
|
+
| vendor/seed-vc/ | Downloaded inference source and upstream license |
|
|
218
|
+
| data/voices/ | Imported reference copies and manifest |
|
|
219
|
+
| data/models/ | Downloaded models |
|
|
220
|
+
| data/settings.json | Devices, effects, scenes, and mappings |
|
|
221
|
+
| data/recordings/ | Default recording folder |
|
|
222
|
+
| data/touchmusic.log | Startup and runtime diagnostics |
|
|
223
|
+
|
|
224
|
+
Source-folder launches keep data beside the source. A wheel installation uses **%LOCALAPPDATA%/TouchMusic** on Windows. **TOUCHMUSIC_DATA_DIR** can override the data directory. Imported voices and models are excluded from the package.
|
|
225
|
+
|
|
226
|
+
## Publishing a release
|
|
227
|
+
|
|
228
|
+
Bump the version in pyproject.toml and touchmusic/runtime.py, update release-notes.md, then push to main. The release workflow builds a wheel, source distribution, Windows setup ZIP, and SHA-256 checksums and publishes a GitHub release. The same version is kept immutable on reruns.
|
|
229
|
+
|
|
230
|
+
For the first PyPI publication, add a pending trusted publisher in your PyPI account:
|
|
231
|
+
|
|
232
|
+
| PyPI field | Value |
|
|
233
|
+
| --- | --- |
|
|
234
|
+
| Project name | touchmusic |
|
|
235
|
+
| Owner | RealShocky |
|
|
236
|
+
| Repository | TouchMusic |
|
|
237
|
+
| Workflow | release.yml |
|
|
238
|
+
| Environment | pypi |
|
|
239
|
+
|
|
240
|
+
After configuring it, open the repository Actions tab, select Build and release TouchMusic, choose Run workflow, and enable **publish_pypi**. Setting the repository variable **PYPI_PUBLISH** to **true** enables publication on subsequent version builds. The publisher uses short-lived GitHub OIDC authentication.
|
|
241
|
+
|
|
242
|
+
This repository contains source and setup files. User audio, model weights, recordings, settings, upstream checkout, and the Python environment are generated locally and ignored by Git. Screenshots can be added under docs/screenshots/ and embedded here.
|
|
243
|
+
|
|
244
|
+
## Troubleshooting
|
|
245
|
+
|
|
246
|
+
| Symptom | Check |
|
|
247
|
+
| --- | --- |
|
|
248
|
+
| Setup cannot find Python | Install 64-bit Python 3.11 with the Windows launcher, then retry |
|
|
249
|
+
| Git unavailable | Install Git for Windows and reopen Setup.cmd |
|
|
250
|
+
| Audio fails to open | Select input and output from the same Windows audio backend, then refresh |
|
|
251
|
+
| Camera fails | Close other webcam apps, check Windows camera access, and try another camera index |
|
|
252
|
+
| Tuning has no effect | Enable it, turn off Dialogue mode, choose Wet vocal, and sing a held note |
|
|
253
|
+
| Voice sounds unchanged | Select the imported reference, load the engine, enable AI conversion, and check AI mix |
|
|
254
|
+
| Loop seems to wait | Check Next beat / Next bar and the queued pad state |
|
|
255
|
+
| AI breaks up or is delayed | Try Live and Dry mic monitoring, close other GPU workloads, and check dropped chunks |
|
|
256
|
+
| Final AI phrase missing | Leave a few seconds after the last phrase before stopping |
|
|
257
|
+
| Startup exits | Read data/touchmusic.log and rerun Setup.cmd if dependencies are missing |
|
|
258
|
+
|
|
259
|
+
## Status and acknowledgments
|
|
260
|
+
|
|
261
|
+
TouchMusic is an experimental Windows application. Automated DSP, transport, conversion-queue, recording, session, and UI tests were run during development. Live performance depends on your devices, reference audio, and GPU.
|
|
262
|
+
|
|
263
|
+
The singing engine uses [Seed-VC](https://github.com/Plachtaa/seed-vc), pinned by Setup.cmd. See [THIRD_PARTY_NOTICES.md](THIRD_PARTY_NOTICES.md) for source, model, and dependency information. The repository owner has not yet selected a license for TouchMusic's application source.
|
|
@@ -0,0 +1,25 @@
|
|
|
1
|
+
@echo off
|
|
2
|
+
cd /d "%~dp0"
|
|
3
|
+
if not exist ".venv\Scripts\python.exe" py -3.11 -m venv .venv
|
|
4
|
+
if errorlevel 1 goto failed
|
|
5
|
+
.venv\Scripts\python.exe -m pip install --no-cache-dir --keyring-provider disabled --upgrade pip
|
|
6
|
+
if errorlevel 1 goto failed
|
|
7
|
+
.venv\Scripts\python.exe -m pip install --no-cache-dir --keyring-provider disabled torch==2.11.0 torchaudio==2.11.0 torchvision==0.26.0 --index-url https://download.pytorch.org/whl/cu128
|
|
8
|
+
if errorlevel 1 goto failed
|
|
9
|
+
.venv\Scripts\python.exe -m pip install --no-cache-dir --keyring-provider disabled -r requirements.txt
|
|
10
|
+
if errorlevel 1 goto failed
|
|
11
|
+
.venv\Scripts\python.exe -m pip install --no-deps -e .
|
|
12
|
+
if errorlevel 1 goto failed
|
|
13
|
+
if not exist "vendor\seed-vc\inference.py" git clone https://github.com/Plachtaa/seed-vc.git vendor\seed-vc
|
|
14
|
+
if errorlevel 1 goto failed
|
|
15
|
+
git -C vendor\seed-vc checkout 51383efd921027683c89e5348211d93ff12ac2a8
|
|
16
|
+
if errorlevel 1 goto failed
|
|
17
|
+
.venv\Scripts\python.exe prepare_seed.py
|
|
18
|
+
if errorlevel 1 goto failed
|
|
19
|
+
echo Setup complete. Open Launch.cmd.
|
|
20
|
+
pause
|
|
21
|
+
exit /b 0
|
|
22
|
+
:failed
|
|
23
|
+
echo Setup failed. The error is shown above.
|
|
24
|
+
pause
|
|
25
|
+
exit /b 1
|
|
@@ -0,0 +1,27 @@
|
|
|
1
|
+
# Third-party components
|
|
2
|
+
|
|
3
|
+
TouchMusic uses third-party packages installed by `Setup.cmd` and the pinned runtime in `requirements.txt`. Each dependency retains its own license and notices.
|
|
4
|
+
|
|
5
|
+
## Seed-VC
|
|
6
|
+
|
|
7
|
+
- Source repository is https://github.com/Plachtaa/seed-vc
|
|
8
|
+
- Setup revision is `51383efd921027683c89e5348211d93ff12ac2a8`.
|
|
9
|
+
- Setup downloads the source into `vendor/seed-vc`, including its upstream license.
|
|
10
|
+
- `prepare_seed.py` moves the optional `dac.nn.quantize.VectorQuantize` import into its conditional branch so the singing inference path can load without installing the training codec.
|
|
11
|
+
- TouchMusic loads the pitch-conditioned inference path through `touchmusic/neural.py`.
|
|
12
|
+
|
|
13
|
+
## Downloaded model assets
|
|
14
|
+
|
|
15
|
+
The AI engine downloads model assets from Plachta/Seed-VC, lj1995/VoiceConversionWebUI, funasr/campplus, NVIDIA BigVGAN, and the model loaders used by the pinned Seed-VC revision. Consult the corresponding model repositories for their terms and notices. These assets are downloaded into local caches.
|
|
16
|
+
|
|
17
|
+
## Other runtime packages
|
|
18
|
+
|
|
19
|
+
The application uses PySide6, NumPy, SciPy, sounddevice, SoundFile, Pedalboard, MediaPipe, OpenCV, PyTorch, torchaudio, torchvision, Transformers, Hugging Face Hub, librosa, and their dependencies. Their distribution metadata contains license and copyright information.
|
|
20
|
+
|
|
21
|
+
## Voice references
|
|
22
|
+
|
|
23
|
+
Users import their own audio references. This source repository contains no reference voices, artist recordings, backing tracks, or generated performances.
|
|
24
|
+
|
|
25
|
+
## TouchMusic licensing
|
|
26
|
+
|
|
27
|
+
The repository owner has not selected a license for the TouchMusic application source. Repository visibility alone does not grant an open-source license. Third-party components remain governed by their respective licenses.
|