Code Monkey home page Code Monkey logo

Comments (3)

AndroXD avatar AndroXD commented on June 9, 2024 1

I managed to solve the problem, when I tried your MIDI file it worked right out of the box, so I investigated why mine didn't, I discovered that sometimes MIDI files generated from neural networks have just the bare minimum information to make them playable, they just don't have a lot of information that is usually contained in MIDI files by default, I'll call this portion of information a "ghost track", it's kind like EXIF data in pictures, turns out this "ghost track" was completely empty or missing, the consequence was that the MIDI editor would use its default BPM value and it would sound good, but when saving the file, it would silently and without giving any errors or warnings not including or put a wrong BPM in the saved file, even if you did specify a custom one in the editor, it would either not use it or put a wrong one. Here's an example of a good and bad midi file: https://i.imgur.com/RB9DUEs.gif
To fix it, I used Sekaiju downloadable here: https://openmidiproject.osdn.jp/index_en.html and did this: https://i.imgur.com/hR36cZh.gif
Hope it can be helpful if someone else is facing the same problem.

from realtimesingingsynthesizer.

mathigatti avatar mathigatti commented on June 9, 2024

You're welcome :)

I use this for realtime synthesis and it seems to obey the specified BPMs and durations but I haven't tried to couple it with a MIDI file. Maybe the vocals and instruments are a little bit dephased? Send me the files you are using (through google drive or whatever) and I will check if it's something easy to automatize.

In this other repo I use the sinsy.jp synthesizer and a midi file as input, there I show a simple example of the song "Somebody That I Used To Know", the lyrics are not well synched but the notes and duration of each note are fine. I just joined the vocals and instruments into one single audio file without much troubles.

from realtimesingingsynthesizer.

mathigatti avatar mathigatti commented on June 9, 2024

Excellent, thanks for details.

from realtimesingingsynthesizer.

Related Issues (5)

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.