[SOLVED] Importing MIDI Type 1 and/or Type 0 from Zrythm?

I’ve wanted to import some MIDI files I have from a project on Zrythm (since MIDI regions work on Ardour again after a PipeWire update), but couldn’t. I attempted to import both Type 0 and Type 1 MIDI files, and was unable to do anything on that front.

I don’t want to have to redo the work I’ve already done on the Zrythm project and translate it into Ardour if possible, but I am willing to do that as a last resort if needed.

Edit: I messed something up when doing something with Ardour, and no I can’t do squat right now… Well…

Ardour should have no difficulty importing type 0 or type 1 SMF’s. What happens when you try?

I don’t think Zrythm has the ability to do an SMF. I’ll take a look and see, though.

Edit: That’s coming soon in V2.0.0, and I’m using V1.0.0. I wonder if I did something wrong, then.

SMF is Type 0 or Type 1 …

I tried importing the Type 0 and Type 1, and it wouldn’t work no matter what I tried. I can see if I can do something with the Master.

Edit: Same thing that I’ve had before, despite doing Type 1 with Master.

I don’t really understand what you mean with some of this terminology. Type 0 and Type 1 files are types of SMF, and I don’t know what “somewhat with the Master” might mean here.

SMF = Standard MIDI file (ie a .mid).

can you run

file /path/to/the/file/exported_fromzrythm.mid

As a last resort you can play the MIDI in Zrhythm and route the MIDI to Ardour with JACK and record in Ardour. Although it seems like just exporting files and importing would be more straight forward.

Wait, you are exporting a SMF file from Zrythm and not trying to directly import a Zrythm project file, right?

This is what I got:

/mnt/Cuda1/Audio Files/Zrythm/projects/The VST Test: The Secret Tests/Session 7/exports/stems/Master.mid: Standard MIDI data (format 1) using 13 tracks at 1/960

I must’ve been confused at this type of thing, Paul. Thanks to Robin for having me confirm this.

Looks like I solved it myself.

It was a silly PipeWire thing. I just got rid of PipeWire-Pulse, installed Pulseaudio, and then cleared the Ardour cache, located at ~/.cache/ardour8. After doing exactly as I described here, I was able to pull it off. I’m marking this solved because of it.

Edit: It also looks like I solved that segfault issue by doing this as well, so I killed two birds with one stone here.

Edit 2: PipeWire wasn’t an issue, for it was actually some cache issue, as I described. At least I won’t segfault too easily again.

“Ardour cache” ? What is that?

That would be ~/.cache/ardour8 in particular. Resetting that helped with the MIDI import and PipeWire thing. What also seems to be happening is that since I have Zrythm installed (for when I was unable to use Ardour), I seem to be having the plugins I have installed rivaling both DAWs, especially when using Yabridge with WINE 9.21 Staging installed (I had a pre-built by Kro4nek, or whatever the individual goes by).