Skip to content
GitLab
Explorer
Connexion
Navigation principale
Rechercher ou aller à…
Projet
AutoKara
Gestion
Activité
Membres
Labels
Programmation
Tickets
Tableaux des tickets
Jalons
Wiki
Wiki externe
Code
Requêtes de fusion
Dépôt
Branches
Validations
Étiquettes
Graphe du dépôt
Comparer les révisions
Extraits de code
Compilation
Pipelines
Jobs
Planifications de pipeline
Artéfacts
Déploiement
Releases
Registre de conteneurs
Registre de modèles
Opération
Environnements
Surveillance
Incidents
Analyse
Données d'analyse des chaînes de valeur
Analyse des contributeurs
Données d'analyse CI/CD
Données d'analyse du dépôt
Expériences du modèle
Aide
Aide
Support
Documentation de GitLab
Comparer les forfaits GitLab
Forum de la communauté GitLab
Contribuer à GitLab
Donner votre avis
Raccourcis clavier
?
Extraits de code
Groupes
Projets
Afficher davantage de fils d'Ariane
bakaclub
AutoKara
Validations
9668e57d
Valider
9668e57d
rédigé
Il y a 2 ans
par
Sting
Parcourir les fichiers
Options
Téléchargements
Correctifs
Plain Diff
Update README
parent
39553f95
Aucune branche associée trouvée
Aucune étiquette associée trouvée
Aucune requête de fusion associée trouvée
Modifications
1
Afficher les modifications d'espaces
En ligne
Côte à côte
Affichage de
1 fichier modifié
README.md
+25
-32
25 ajouts, 32 suppressions
README.md
avec
25 ajouts
et
32 suppressions
README.md
+
25
−
32
Voir le fichier @
9668e57d
...
@@ -24,7 +24,7 @@ Get a data buffer from an audio file:
...
@@ -24,7 +24,7 @@ Get a data buffer from an audio file:
### Extracting vocals from music
### Extracting vocals from music
-
https://github.com/
deezer/spleeter/
-
https://github.com/
facebookresearch/demucs
### Syllable segmentation and recognition
### Syllable segmentation and recognition
...
@@ -33,43 +33,36 @@ Get a data buffer from an audio file:
...
@@ -33,43 +33,36 @@ Get a data buffer from an audio file:
# Installation
# Installation
##
Python
##
Requirements
You need python 3 with the tensorflow library. We will set up a virtual environment to not mess up with the system.
-
MKVToolnix (at least the CLI utils)
To do that you will need
[
virtualenv
](
https://virtualenv.pypa.io/en/stable/
)
and
-
Python >= 3.8
[
virtualenvwrapper
](
https://virtualenvwrapper.readthedocs.io/en/latest/
)
.
One way to do it, in the correct directory (the project's one), enter the commands:
## Setup
This project requires at least Python 3.8, and using a virtual environment is strongly recommended.
To install the dependencies, execute in the project directory :
```
bash
```
bash
$
python3
-m
venv
env
# create the virtual envireonment, do it once
$
python
-m
venv
env
# create the virtual environment, do it once
$
source env
/bin/activate
# use the virtual envireonement
$
source env
/bin/activate
# use the virtual environement
# Here goes the install commands
# Install the Demucs (vocal separation tool)
$
pip
install
--upgrade
tensorflow
$
pip
install
-U
demucs
$
pip
install
numpy scipy
$
pip
install
scikit-learn
# To exit the virtual environment
$
pip
install
pillow
$
deactivate
$
pip
install
h5py
$
pip
install
keras
$
deactivate
# quit the virtual envireonment
```
```
Or, an other way to do it:
# Use
To extract .wav audio from all MKVs in a folder :
```
bash
```
bash
$
mkvirtualenv keras_tf
-p
python3
# create the virtual envireonment, do it once
$
./extractWav.sh source_folder output_folder
$
workon keras_tf
# use the virtual envireonement
# Here goes the install commands
$
pip
install
--upgrade
tensorflow
$
pip
install
numpy scipy
$
pip
install
scikit-learn
$
pip
install
pillow
$
pip
install
h5py
$
pip
install
keras
# don't know how to quit, find it yourself
```
```
Or easier, install them directly without virtual environment.
To separate vocals from instruments in an audio file :
```
bash
demucs
--two-stems
=
vocal
-o
output_folder audio_file.wav
```
Ce diff est replié.
Cliquez pour l'agrandir.
Aperçu
0%
Chargement en cours
Veuillez réessayer
ou
joindre un nouveau fichier
.
Annuler
You are about to add
0
people
to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Enregistrer le commentaire
Annuler
Veuillez vous
inscrire
ou vous
se connecter
pour commenter