Skip to content

BSCCNS/Applio_light

 
 

Repository files navigation

Getting Started

1. Installation

(Tested on MacOS)

Clone this repository

Create empty environment with python 3.10, and activate it.

$ ./run-install.sh

This creates the folder .venv inside the repo folder. You can deactivate the original environment, and activate the applio venv by

$ source .venv/bin/activate

The first time only, run this script to download all pre-trained models

$ ./run-applio.sh

At then end of the process, this will open the applio app in the web browser. You can close it since we will not use it

2. Execution

To run the expanded voices backend app, execute

$ export PYTORCH_ENABLE_MPS_FALLBACK=1
$ python micro_controller.py

Communications with Unreal (double check if outdated?)

  • Waveform: real time while user is recording audio:
{"type": "waveform",
"message": {"data": 1.0}
}

Send a series of these until full time is completed.

  • Latent space: after audio conversion and feature extraction has been performed
{"type": "latent",
"message": 
	{"frame": 0,
	"data": [1.0, 1.0, 1.0]}
}

Send a series of these, and at the end a finish message in case the length is variable (it should be approximately the same but to avoid issues)

  • Finish message:
{"type": "end_latent",
"message": 
	{"frame": -1,
	"data": [1.0, 1.0, 1.0]}
}

2. Keyboard configuration

Install the controller of the mini-keyboard (if you are using it) from here:

https://github.com/kriomant/ch57x-keyboard-tool/tree/master

These are the instructions:

brew install rustup-init && rustup-init

cargo install ch57x-keyboard-tool

Then these commands to install the keyboard ch57x-keyboard-tool upload keyboard.yaml

These others are useful too

ch57x-keyboard-tool show-keys
ch57x-keyboard-tool validate keyboard.yaml
```

About

A simple, high-quality voice conversion tool focused on ease of use and performance.

Resources

License

Stars

Watchers

Forks

Packages

No packages published

Languages

  • Python 91.0%
  • Jupyter Notebook 7.0%
  • Other 2.0%