Inport Midi problems
I'm trying to import a midi file from REAPER with two tracks (piano/violin). Piano is set to midi channel 1, and violin is set to midi channel 2. When I open the midi file in musescore it combines to two tracks into one instrument and says they are both on channel 1. I can't separate them in musescore. Am very frustrated right now. Please some help would be appreciated.
Comments
In order to do anything but guess, we'd need you to attach the problem file.
In reply to In order to do anything but… by Marc Sabatella
Hello. I apologize for my late response.
Here is the problem file:
In reply to Hello. I apologize for my… by mnmwert
I don't know much about MIDI files, but it seems MuseScore thinks these are two staves of one instrument rather than vice versa. Are you sure that's not the case? Maybe the program you used to create these has options to export differently, in a way MuseScore would understand better?
In reply to I don't know much about MIDI… by Marc Sabatella
Unfortunately there isnt any other option that would help musescore.
It is already a multi track midi file.
I think think problem might be that musescore interprits one track as one staff, and automatically thinks that two tracks equals one double staved instrument. If so This is a problem with musescore, not with the DAW or midi file.
An easy option to fix this would be to by default have musecore assign 1 track to 1 staff for 1 instrument, but to also Include full control over what tracks go in what instrument. Also an Instrument editor in the import options would be nice too. That way it won't do this glitch, and the only thing that would require an additional step is for an instrument with two staves, which with an instrument editor in the import section would make that easy to accomplish too.
In reply to Unfortunately there isnt any… by mnmwert
It doesn't automatically think that. Try exporting a violin + piano score from MuseScore and you'll see it comes back as expected. Something is unique about your particular file, the arrangement of tracks and how they use channels. Could have to do do with the use of track 0 for a control track? I know MuseScore handles that differently from some other programs.
In reply to It doesn't automatically… by Marc Sabatella
Okay well that is cool then.
What do you mean by control track? Do you mean a master track? I have one of those. If not should I try one with it?
I just am using the default master track, and two other tracks for violin and piano. They are stereo, would that make a difference?
In reply to Okay well that is cool then… by mnmwert
What I mean by "control track" is a track containing only tempo and other related information, separate from any actual notes. I think MuseScore doesn't do it that way, it combines this information into the first regular data track.
Stereo shouldn't matter, unless your sequencer is doing something unusual with that.
In reply to What I mean by "control… by Marc Sabatella
Ah.
In reaper you don't control tempo via tracks. There is a seperate function for that. I'm not sure if it assigns the tempo to a track while exporting the middle though. Musescore receives the tempos just fine.
In reply to What I mean by "control… by Marc Sabatella
FYI reaper is a DAW
In reply to It doesn't automatically… by Marc Sabatella
Stepping through with a debugger, it appears MuseScore thinks both tracks are set to channel "0" (1, for humans), which is why it treats them as a grand staff.
In reply to Stepping through with a… by Marc Sabatella
Okay sweet now we have something to work with!
Now, I just have no idea on how to actually fix that xD
In reply to Okay sweet now we have… by mnmwert
That's not an MS bug, that's what the MIDI had.
In reply to That's not an MS bug, that's… by [DELETED] 1831606
Using a MIDI tool of mine that I may upload to github some day, we see
Resolution 960, format 1, 3 tracks.
TME 0: @ticks 0 m 1, sig (6, 8) beat 3/8 tpb 1440 bpm 2 len T/B/M (123840 86 43)
END at tick 123840 = m. 44
t# chn relT absT m+beat
Track 0: Meta 14
Track 1: Meta 2, Control/ch: 0:65, Notes/ch: 0:266
Track 2: Meta 2, Control/ch: 0:9, Notes/ch: 0:1032
[bsg@bsg-mbp-2019 MuseScore (plugin-object-comparison-fix)]$
All the notes are on channel 0, but in 2 tracks. Track 0 is the control track.
In reply to Using a MIDI tool of mine… by [DELETED] 1831606
Try "Split staff" in the midi import box and see if you like that better (hit "Apply").
@♩♫𝓂𝓃𝓂𝓌𝑒𝓇𝓉♫♩, have you tried with: https://musescore.org/en/handbook/3/tools#explode ?
In reply to @♩♫𝓂𝓃𝓂𝓌𝑒𝓇𝓉♫♩, have you tried… by Shoichi
No I haven't. Although I don't see the point of using it. Copying and Pasting might be easier and that is what I'm trying to avoid having to do right now...
In reply to No I haven't. Although I don… by mnmwert
Copy-paste from each staff to a new independent staff (I looked at it) would take less than 60 seconds. That's what I would do.
No!
The software you used (Reaper) put both instruments on the same midi channel, but on different tracks. (Do not confuse the track with the channel)
Try the attached file where I changed the just channel numbers and added patch info (violin and piano).
In reply to No! The software you used … by Ziya Mete Demircan
Okay thanks it works!
How did you change the channel numbers?
In reply to Okay thanks it works! How… by mnmwert
with free midi editor Sekaiju. : https://openmidiproject.osdn.jp/Sekaiju_en.html
In reply to with free midi editor… by Ziya Mete Demircan
Okay thanks!
Do you know of any way to do the same thing in REAPER?
In reply to Okay thanks! Do you know of… by mnmwert
You said the violin was already set to MIDI channel 2, but that is apparently not the case. So the more relevant question, I think, is, what did you do originally to cause you to believe you had set the violin to channel 2? I would think if you had actualyly done that, there would be no need to fix it later. So rather than try to repair this MIDI file, maybe you just need to go back to place you thought you set up the channel assignments, check to see what you did wrong, then re-export the MIDI file?
In reply to You said the violin was… by Marc Sabatella
I had thought it was.
Under the midi editor there was a selection for channel. I set the violin to channel 2 in there. Apparently it isn't the same thing.
There is also a way to change the channel of the midi input, but I don't think that is what I need to do. I think I'll need to post something in the REAPER forum to figure it out. if I still can't.
Sounds like the problem is just my sheer incompetence xD