GithubHelp home page GithubHelp logo

Comments (3)

danieldjohnson avatar danieldjohnson commented on July 17, 2024

Looks like xm format has embedded soundfont information, which my network can't really handle. My network is only designed to take in a raw note stream, so I don't think it would easily work with this network.

Perhaps some other, more complex network architecture would work well with xm files.

from biaxial-rnn-music-composition.

ostrosablin avatar ostrosablin commented on July 17, 2024

Yes, all samples used in track are embedded into xm file. But actually, only note stream is necessary to train the network. Those samples could be just considered to be separate insruments. Pretty much like instrument ID in MIDI, xm insrument ID is just a digit - reference to particular instrument slot. You can swap, for example, a piano sample with a violin sample and track will still sound the same, because notes don't change. So it should be still possible to train network on xm files. Embedded sample data could be ignored completely and instrument ID could be used to split track into separate note streams for each instrument.

In any case, note stream is the most interesting part of the song and it could be later reproduced using similar sounding or completely different instruments.

from biaxial-rnn-music-composition.

ostrosablin avatar ostrosablin commented on July 17, 2024

I've drawn what I mean over the screenshot of MilkyTracker - one of tracker music editors. xm tracks have several channels. In each channel, any number of different xm instruments could be playing. In note slots, there could be either note, note off, or empty space. For note record, there's a note, instrument number, and (optionally) volume and effect.

image

from biaxial-rnn-music-composition.

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.