Comments (3)
I don't have a solution @jsahn93 , but can you share your script please?
from stemgen.
I don't have a solution @jsahn93 , but can you share your script please?
for file in *.wav; do
python3 stemgen.py -i "$file"
done
Here it is
from stemgen.
You can use this and put your script in \sources\
import os
import subprocess
# Chemin vers le sous-dossier contenant les fichiers .flac
source_dir = "./sources"
# Récupérer tous les fichiers .flac dans le sous-dossier sources
flac_files = [f for f in os.listdir(source_dir) if f.endswith('.flac')]
for flac_file in flac_files:
# Chemin complet vers le fichier .flac
full_path = os.path.join(source_dir, flac_file)
# Construire la commande à exécuter
cmd = ["python", ".\\stemgen.py", full_path, "-d", "cuda", "-f", "aac"]
# Exécuter la commande
subprocess.run(cmd)
print("Tous les fichiers ont été traités!")
It will search for flac files in / sources and encoded the final stem files in aac, you can izy tweak it
from stemgen.
Related Issues (20)
- [Feature Request] traktor4 metadata HOT 6
- ni-stem errors on linux HOT 1
- [Feature Request] GUI HOT 3
- [Feature Request] Windows Support HOT 10
- [Feature Request] MP3 support HOT 8
- [Note] ALAC stems can't be read on Windows within Traktor HOT 3
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep(slow): Review the codebase and make suggestions to make the code more readable and Pythonic HOT 1
- Sweep: Refactor ableton.py to be cleaner, extracting any methods you can into separate files if that makes sense HOT 1
- Sweep: Add comments and docstrings to ableton.py. Clarify each method and global HOT 1
- Mutagen missing in installation instructions HOT 1
- [Feature request] Extract only vocals and instrumental HOT 2
- Error opening input: No such file or directory HOT 8
- How to know if qaac encoder is used on Windows? HOT 2
- [Feature request] Custom name & color for stem HOT 2
- [Bug] Windows cleaning step failing HOT 5
- [Feature Request] Following the Stem File Specification HOT 1
- [Bug] ALAC stems can't be read on Windows within Traktor HOT 4
- Google Colab version? HOT 1
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from stemgen.