Giter VIP home page Giter VIP logo

Comments (7)

SigurdurSkuli-CCP avatar SigurdurSkuli-CCP commented on July 26, 2024

Hi,

The network as it is on the master branch only supports a mono track. If you'd like to support 2 tracks you can try using a multi-input multi-output network where the inputs/outputs are notes/duration/offset. That should allow you to have as many tracks as you want.

Additionally, you can try using something like MuseGAN to create multi-track files.

from classical-piano-composer.

binary-person avatar binary-person commented on July 26, 2024

But it doesn’t make sense. It is obvious that a piano has two tracks and this repo’s name is self explanatory. Anyway, which branch has multi track support??

from classical-piano-composer.

Skuldur avatar Skuldur commented on July 26, 2024

It does make sense. This is a single-track implementation. It only produces one note/chord for each offset so it would be difficult for it to be multi-track.

The multi-track support isn't ready. But it uses the multi-in/out method I detailed above.

from classical-piano-composer.

jordan-bird avatar jordan-bird commented on July 26, 2024

@binary-person you can merge the midi tracks into one single track using this:
https://github.com/jordan-bird/Keras-LSTM-Music-Generator/blob/master/convertmidis.py
Then use the new midis as your input to the network

The other way, like @Skuldur said is to have multiple inputs with the functional API but given that many midis have >2 tracks then it would eat resources and likely OOM

from classical-piano-composer.

binary-person avatar binary-person commented on July 26, 2024

The merging seems to provide a good effect on the result. I agree that by using multiple tracks, it would eat resources. I think that this repo should remain as is for the lessened complexity and easier understanding for future peeps.

from classical-piano-composer.

Skuldur avatar Skuldur commented on July 26, 2024

That's exactly the point of this repo. :)

I've made a more complex version of this project that I've been debating whether to merge into the repo, but I feel like this should remain simple for people that are just getting their feet wet in music generation. I do need to do some refactoring in this repo when I find the time, though 😅

from classical-piano-composer.

binary-person avatar binary-person commented on July 26, 2024

@Skuldur I would love to see your multi-track implementation. Do you have the repo link?

from classical-piano-composer.

Related Issues (20)

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.