[go: nahoru, domu]

Skip to content

icoxfog417/magenta_session

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

29 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

magenta session

The code to session with magenta.
Do you have any MIDI instrument? If then, you can do call & response with magenta!
(You don't have such instruments? Of course, you can play this without it!)

You can see the sample play from here

(Sorry about my poor keyboard play!)

You can deploy your own Magenta Session to Heroku by following button.

Deploy

Architecture

architecture.PNG

The model is ported from ai-duet.

How to use

  1. Install magenta_session
  2. Run python server/server.py
  3. Access the Server(localhost:8080)
  4. Session Now! (please refer following image).

gui.PNG

Install

magenta_session depends on TensorFlow and magenta.
Please refer magenta installation guide.

Dependencies

Python

JavaScript

CSS

Docker

Docker is an open-source containerization software which simplifies installation across various OSes.Once you have Docker installed, you can just run:

$ docker run -it --rm -p 80:8080 asashiho/magenta_session

If you want to build DockerImage yourself, you can just run:

$ docker build -t magenta_session .
$ docker run -it --rm -p 80:8080 magenta-session

[Tips!]Docker to automatically clean up the container and remove the file system when the container exits, you can add the --rm

You can now play with magenta_session at http://<docker-server-ipaddress>/.

Session Now and Enjoy Music!