2020-03-09 17:01:26 +00:00
|
|
|
|
# vaporwave generator 旺育栄
|
2020-03-09 16:58:43 +00:00
|
|
|
|
A vaporwave music (+art, +video soon, I promise) generator bodged together using code from various sources. Runs on Python3
|
2020-03-09 16:55:20 +00:00
|
|
|
|
|
2020-03-09 17:22:09 +00:00
|
|
|
|
```
|
|
|
|
|
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
|
|
|
|
|
```
|
|
|
|
|
|
2020-03-10 14:26:36 +00:00
|
|
|
|
If the program gives an error for sox, try running `ulimit -n 999'`
|
|
|
|
|
|
2020-03-09 16:55:20 +00:00
|
|
|
|
## 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
|
2020-03-10 12:39:34 +00:00
|
|
|
|
```
|
2020-03-09 16:55:20 +00:00
|
|
|
|
|
|
|
|
|
## Usage
|
|
|
|
|
|
|
|
|
|
### YouTube URL
|
|
|
|
|
```
|
2020-03-09 17:22:09 +00:00
|
|
|
|
python3 main.py -M -i <YOUTUBE_URL>
|
2020-03-09 16:55:20 +00:00
|
|
|
|
```
|
|
|
|
|
### Song Title
|
|
|
|
|
```
|
2020-03-09 17:22:09 +00:00
|
|
|
|
python3 main.py -M -i Song Title
|
2020-03-09 16:55:20 +00:00
|
|
|
|
```
|
|
|
|
|
|
|
|
|
|
## 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
|
2020-03-09 16:58:43 +00:00
|
|
|
|
|
|
|
|
|
## Credits
|
|
|
|
|
|
|
|
|
|
@WJLiddy His repo `Macintech` forms the base code for the music generator
|
2020-03-09 17:22:09 +00:00
|
|
|
|
|
2020-03-09 16:58:43 +00:00
|
|
|
|
@felipecustodio Using his repo `virtualdreamsbot` YouTube DL code ( Hopefully I will be able to integrate this project as a Telegram Bot)
|