Git Product home page Git Product logo

sintrac-fork-'s Introduction

SinTra 🎻

This work is still under development

Torch implementation for an auto-regressive sequential generative model that can learn from a single multi-track music segment, to generate coherent, aesthetic, and variable polyphonic music of multi-instruments with an arbitrary length of bar. Such as:

./doc/fig-1.png

Requirement

  1. JSB Chorale datasets pickle or MIDI.
  2. some multi-track MIDIs.

Put MIDIs in train_data/, such as train_data/JSB-Chorales-dataset/*.pickle and train_data/midi/*.mid

Usage

  1. train and evaluate with MIDI

make train CUDA=0 NAME=test TYPE=xl N=400 DIR=midi FILE=xxx.mid

make test CUDA=0 NAME=test TYPE=xl DIR=midi FILE=xxx.mid

  1. train and evaluate with pickle (JSB chorales dataset)

make train_pickle CUDA=0 NAME=test TYPE=xl N=400 DIR=JSB-Chorales-dataset FILE=jsb-chorales-16th.pkl INDEX=0

make test_pickle CUDA=0 NAME=test TYPE=xl DIR=JSB-Chorales-dataset FILE=jsb-chorales-16th.pkl INDEX=0

Samples

Citation

If you use this code for your research, please cite our paper:

@inproceedings{sintra2021,
  title={Sin{T}ra: Learning an inspiration model from a single multi-track music segment},
  author={Qingwei Song, Qiwei Sun, Dongsheng Guo, Haiyong Zheng},
  booktitle={Proceedings of the 22nd Conference of the International Society for Music Information Retrieval},
  year={2021}
}

Feel free to contact me! songqingyu#stu.ouc.edu.cn

sintrac-fork-'s People

Contributors

rgb000000 avatar qingweisong avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    πŸ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. πŸ“ŠπŸ“ˆπŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❀️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.