LMMS / lmms

Cross-platform music production software
https://lmms.io
GNU General Public License v2.0
8.16k stars 1.01k forks source link

MIDI export exports everything as piano, making things out of tune #5287

Open musikBear opened 5 years ago

musikBear commented 5 years ago

The attached project was given to me, because it could not be exported. I have tried to export with 1.2.1 It exports 51kb, and cuts off almost exactly one mins. I have shaved it down to minimum, and added a control beeper at project end. I also had to add an envelope to watsyn, due to clicks and pops crash.zip

( I have NO idea what this music is called...

I then took the demo 'Kaakkuja' and midi-exported that Greippi - Krem Kaakkuja (Second Flight Remix).zip Its is fully exported, but completely broken

PhysSong commented 5 years ago

I can't see any issues with the MIDI export. @musikBear Could you provide more details?

musikBear commented 5 years ago

I can't see any issues with the MIDI export.

Kaakkuja?! Cant you hear that it is complete out of synch and tuning? What midi-player do you have? Mine is Anvil on Windows64. If that project sound fine on your midi.player it would be great, because then Anvil have the problem, not LMMS! This is what i can hear Kaakkuja.zip Pretty much unbearable :[ @PhysSong Also -I cant reimport the MIDI-file into LMMS at all! Try that too!

How much of the project crash.zip could you export?

SecondFlight commented 5 years ago

Hi, I'm the author of the second song, and I can confirm everything there is working as expected.

The issue is that everything is exporting as piano, which includes drums. I'm using AFP for most of the drums in that song, and converting the drum notes directly to piano creates a bunch of awful off-tune stuff. It sounds to me like the non-drum notes are coming out correctly.

TL;DR: if the job of the MIDI export is to convert all piano roll stuff to actual piano, then it's working just fine.

Here's the song for reference: https://soundcloud.com/second_flight/krem-kaakkuja-remix

Edit: Just for clarification, I haven't tested the first project, but the report definitely sounds like a valid issue.

coderman64 commented 4 years ago

Hey folks! AFAIK, the MIDI support in LMMS is incomplete and is only meant to transfer tracks between DAWs. If you try to play any MIDI files exported in this fashion in some sort of media player, every instrument will be converted to the piano. Since MIDI files only support sound fonts, maybe it would be possible to support exporting MIDI files with correct instruments for all sf2 tracks, but I don't think this is currently supported. As far as the given file goes, I was able to export it at full length (though the instruments were still broken), and then reimport it into a single LMMS track without much issue. (This was using 1.2.1 on Windows 10).