Skip to content

Visual Loop Machine that plays MTD (Multiple Temporal Dimension) videos based on audio input.

License

Notifications You must be signed in to change notification settings

goolygu/v_machine

Repository files navigation

Visual Loop Machine

Visual Loop Machine plays visual loops stored in the MTD (Multiple Temporal Dimension) video format. The visual loop changes according to the relative volume of the audio playing on the same computer or the sound caught on mic.

Install file for mac now available at https://visualloopmachine.liyangku.com/

gui.png

Example videos:

Quickstart

Create virtual environment and install v_machine

First download repository.

$ git clone https://github.com/goolygu/v_machine.git

For Linux users, you may need to install portaudio.

$ sudo apt-get install libportaudio2

Make virtual environment and install packages.

$ cd v_machine
$ make venv

Place mtd videos to play under the mtd_video folder (Samples are provided.) You can download mtd videos created by me here https://visualloopmachine.liyangku.com/download-mtd-videos

Activate virtual environment and run the following command to start

$ source venv/bin/activate
$ python src/v_machine/v_machine.py

There is a drop down menu where you can select the input source as shown in the image above.

For Mac users, the default input is usually microphone only, for getting input from the music directly you may need to install soundflower https://rogueamoeba.com/freebies/soundflower/ and create an aggregated device so that your output goes to both your stereo and the visual loop machine.

About

Visual Loop Machine that plays MTD (Multiple Temporal Dimension) videos based on audio input.

Resources

License

Stars

Watchers

Forks

Packages

No packages published