aboutsummaryrefslogtreecommitdiff
path: root/README.md
blob: 5095da49ad582c61c790cf3deec1dfe75a7a4ee6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
# vaporwave generator 旺育栄
A vaporwave music (+art, +video soon, I promise) generator bodged together using code from various sources. Runs on Python3

```
usage: main.py [-h] [-M] [-V] [-i INPUT]

This program takes YouTube URL or title of a song and converts it into
vaporwave

optional arguments:
  -h, --help            show this help message and exit
  -M, --music           generate v a p o r w a v e music
  -V, --version         show program version
  -i INPUT, --input INPUT
                        input url
```

If the program gives an error for sox, try running `ulimit -n 999'`

## Installation

This was tested on macOS Catalina ( so should work on almost all macOS versions).
Windows is unsupported at this time ( I need to find a way to use aubio's python module)

### Dependencies

#### Linux

```
sudo apt install ffmpeg libavl1 sox
pip install -r requirements.txt
```

#### macOS

Make sure you have brew installed

```
brew install noah # I would have had to re-compile the executeable :(
brew install sox
pip install -r requirements.txt
```

## Usage

### YouTube URL
```
python3 main.py -M -i <YOUTUBE_URL>
```
### Song Title
```
python3 main.py -M -i Song Title
```

## Bugs

This project is a result of bodging and therefore has tons of bugs which need to be ironed out

## To-Do

[ ] Move away from using os.system calls, and use Python modules instead ( Looking at you, Sox and aubio)
[ ] Clean the Code
[ ] Add Artwork Generator
[ ] Add Video Generator

## Credits

@WJLiddy His repo `Macintech` forms the base code for the music generator

@felipecustodio Using his repo `virtualdreamsbot` YouTube DL code ( Hopefully I will be able to integrate this project as a Telegram Bot)