MIDI File Player
Re: MIDI File Player
I have removed my efforts to help others understand and resolve this issue.
Last edited by Steve W on Sun Apr 23, 2023 4:00 pm, edited 1 time in total.
-
- Posts: 146
- Joined: Sun Jan 22, 2023 5:18 am
- Location: Melbourne
- Contact:
Re: MIDI File Player
That’s interesting. I originally saved that file from Logic as a type 1 and it wouldn’t load in VM so I used a Windows program to convert it to type 0 but it still wouldn’t load. So, you seem to be saying that loading the converted type 0 into Logic and re-saving it as type 1 works.huggermugger wrote: ↑Sun Mar 12, 2023 1:44 pmIt wouldn't load in VM for me either, but it did open in Logic. I saved it out of Logic as Type 1, which loaded properly in VM and played back all the parts. Now I'm going to set up a multi channel split.Centripidity wrote: ↑Sun Mar 12, 2023 1:05 pm
One of the problem files is here:
http://vm.centripidity.com/misc/Format% ... 20Demo.mid
I wasn’t sure which file formats the module can load as there doesn’t appear to be any documentation for it.
Re: MIDI File Player
I have removed my efforts to help others understand and resolve this issue.
Last edited by Steve W on Sun Apr 23, 2023 4:01 pm, edited 2 times in total.
-
- Posts: 146
- Joined: Sun Jan 22, 2023 5:18 am
- Location: Melbourne
- Contact:
Re: MIDI File Player
Sorry, Steve, certainly not aimed at criticising you in any way. I was just restating the issue that the file is readable by other MIDI file players but not VM so there seems to be something different about VM and standard MIDI files rather than necessarily being a Logic or or Apple issue.Steve W wrote: ↑Sun Mar 12, 2023 2:09 pmHUH? You already said this:Centripidity wrote: ↑Sun Mar 12, 2023 12:13 pm I have some stand-alone MIDI players and they load these file but not the VM MIDI File Player.
Did I say something that led you to believe I didn't understand you the first time?Centripidity wrote: ↑Sun Mar 12, 2023 2:06 am Anyone have any experience with the Cherry Audio MIDI File Player module? I can't get it to load my MIDI file, which loads fine in other players.
- huggermugger
- Posts: 381
- Joined: Tue Jun 29, 2021 6:42 pm
Re: MIDI File Player
OK so this time I exported a single clip from Logic as Type 0 and it opened and played in VM. Puzzling.Centripidity wrote: ↑Sun Mar 12, 2023 2:19 pm
That’s interesting. I originally saved that file from Logic as a type 1 and it wouldn’t load in VM so I used a Windows program to convert it to type 0 but it still wouldn’t load. So, you seem to be saying that loading the converted type 0 into Logic and re-saving it as type 1 works.
Surprising that there's zero documentation for this module. It has a few features that deserve an explanation.Centripidity wrote: ↑Sun Mar 12, 2023 2:19 pm
I wasn’t sure which file formats the module can load as there doesn’t appear to be any documentation for it.
- Attachments
-
- Screen Shot 2023-03-12 at 11.29.46 AM.png (181.33 KiB) Viewed 2019 times
-
- Posts: 146
- Joined: Sun Jan 22, 2023 5:18 am
- Location: Melbourne
- Contact:
Re: MIDI File Player
The other thing I should mention is that when I open the file in VM it throws an array out of bounds exception so there is something in that file that, whether or not it follows the MIDI spec, the VM module is not handling properly.
Re: MIDI File Player
I have removed my efforts to help others understand and resolve this issue.
Last edited by Steve W on Sun Apr 23, 2023 4:01 pm, edited 2 times in total.
-
- Posts: 146
- Joined: Sun Jan 22, 2023 5:18 am
- Location: Melbourne
- Contact:
Re: MIDI File Player
Yes, that's old but you're right, that shouldn't make a difference. As far as I know there haven't been any changes to the file standard that would stop it being backward or forward compatible. The standard says that there may be new chunks and meta-events in the future so any software should be written to ignore any data it doesn't recognise. Such data will always have its length embedded in the chunk or meta-event so it's possible to write code to ignore it.Steve W wrote: ↑Sun Mar 12, 2023 3:59 pm Here's one source: http://www.music.mcgill.ca/~ich/classes ... ormat.html .
Its from 1999, so there might be more updated details somewhere. Still, the header, chunks, structure, etc. is basically the same.
It looks as though Logic is putting something in the file that VM can't handle.
I sent the file to CA and they sent me back a copy that had been imported and exported from some other DAW and which now works in VM. So, I should be able to work out what the difference is.
Thank you to everyone for all of your help.
Peter
Re: MIDI File Player
I have removed my thanks and expression of optimism.
Last edited by Steve W on Sun Apr 23, 2023 4:02 pm, edited 1 time in total.
-
- Posts: 146
- Joined: Sun Jan 22, 2023 5:18 am
- Location: Melbourne
- Contact:
Re: MIDI File Player
Yeah, there is an easy solution in the short - medium term in that I've found I can load the Logic MIDI file into Reaper, re-export it and VM reads it with no problems.
Curiosity got the better of me I so a wrote a little program to read a midi file and produce a text file description of what's in there. There are a couple of more obscure meta-events in the Logic file that Reaper stripped out so perhaps that's the issue.