Skip to content
Extraits de code Groupes Projets
Valider e9280f61 rédigé par Sting's avatar Sting
Parcourir les fichiers

Update ReadMe and requirements

parent 2c550016
Aucune branche associée trouvée
Aucune étiquette associée trouvée
1 requête de fusion!3Madmom
......@@ -29,7 +29,6 @@ An introduction to neural networks and deep learning:
[Using CNNs on spectrogram images](https://www.ofai.at/~jan.schlueter/pubs/2014_icassp.pdf) (Schlüter, Böck, 2014) :
- [MADMOM implementation](https://madmom.readthedocs.io/en/v0.16/modules/features/onsets.html)
- Python implementation for Taiko rythm games : https://github.com/seiichiinoue/odcnn
### Other methods
......@@ -70,27 +69,45 @@ Having a CUDA-capable GPU is optional, but can greatly reduce processing time in
# Use
## Inference
## Autokara
To execute AutoKara on a MKV video file :
To execute AutoKara from scratch on a MKV video file :
```bash
$ python autokara.py video.mkv output.ass
```
To execute AutoKara with existing syl splits and line timings :
```bash
$ python autokara.py video.mkv output.ass --ref reference.ass
```
To execute AutoKara on a (pre-extracted) WAV vocals file :
```bash
$ python autokara.py vocals.wav output.ass --vocals
```
## Useful scripts
To only extract .wav audio from a MKV file :
```bash
$ ./extractWav.sh source_video output_audio
```
To only extract .ass sub file from a MKV file :
```bash
$ ./extractAss.sh source_video output_subs
```
To only separate vocals from instruments in an audio file :
```bash
demucs --two-stems=vocals -o output_folder audio_file.wav
```
Batch preprocessing (vocals + ASS extraction) of all videos in a directory :
```bash
$ ./preprocess_media.sh video_folder output_folder
```
......@@ -9,4 +9,5 @@ tqdm
scipy
cython
mido
git+https://github.com/CPJKU/madmom.git
\ No newline at end of file
git+https://github.com/CPJKU/madmom.git
praat-parselmouth
\ No newline at end of file
0% Chargement en cours ou .
You are about to add 0 people to the discussion. Proceed with caution.
Terminez d'abord l'édition de ce message.
Veuillez vous inscrire ou vous pour commenter