fbpx
Skip to main content

MIDI Forum

"MIDI ish" multi de...
 
Notifications
Clear all

"MIDI ish" multi device/port sequenser format.

7 Posts
3 Users
0 Reactions
9,777 Views
Jonas
Posts: 207
Reputable Member
Topic starter
 

Midi "file format" does not support playup or record over specific ports.
I am doing a sequenser, that will extend record and playup over multiple ports which i think is more common today then chaining "how do you chain a USB device...".

Should i just have a format that assign a port to the recorded / playedup events on ->tracklevel "it seem crazy to have on eventlevel in format?" and have some mode that default them to statndard port "whatever that may be...."?

The port on tracks could be added to events during the mixdown before playup?

 
Posted : 20/11/2021 3:00 pm
Eddie Lotter
Posts: 295
Reputable Member
 

The MIDI file specification has two event types that can be used to specify a port for a track.
Have a look at the spec for details.

 
Posted : 20/11/2021 3:18 pm
Jonas
Posts: 207
Reputable Member
Topic starter
 

Ok got you, thank you Eddie, i had no idea that ports was supported.
Can i ask what happen if the track port that is suggested in file is not found?
Maybe someone else like a fast explanation just like me.
http://midi.teragonaudio.com/tech/midifile/port.htm

 
Posted : 20/11/2021 10:10 pm
Bavi_H
Posts: 267
Reputable Member
 

[quotePost id=12220]The MIDI file specification has two event types that can be used to specify a port for a track.[/quotePost]
My understanding is there is only one official meta event defined in specs for specifying a port, the Device Name meta event. (On this site, go to Specs > File Formats > Standard MIDI Files > SMF Device Name and Program Name Meta Events.) But there was also a non-standard Port Number meta event that some versions of Cakewalk used, so you may encounter MIDI files or MIDI sequencers that use that non-standard Port Number event.

See previous thread Multi-Port MIDI and Multi-Channel MIDI.

 
Posted : 20/11/2021 10:11 pm
Bavi_H
Posts: 267
Reputable Member
 

[quotePost id=12221] http://midi.teragonaudio.com/tech/midifile/port.htm [/quotePost]
(Be aware that the MIDI Technical Fanatic's Brainwashing Center gets various details about MIDI specs wrong. That page you linked to about the Device Name meta event says "In a format 0 MIDI file, it would be permissible to have numerous [Device] Name events". But the Device Name spec says "There should only be one Device Name [...] per track [...] Since a Type 0 Standard MIDI File has only one track, it can have only one Device Name Meta Event.")

 
Posted : 20/11/2021 10:42 pm
Eddie Lotter
Posts: 295
Reputable Member
 

[quotePost id=12221]Can i ask what happen if the track port that is suggested in file is not found?[/quotePost]
If the port specified in MIDI file is not found, the DAW or sequencer should let the user decide which port to use instead.

 
Posted : 21/11/2021 6:47 am
Eddie Lotter
Posts: 295
Reputable Member
 

[quotePost id=12222]My understanding is there is only one official meta event defined in specs for specifying a port, the Device Name meta event.[/quotePost]
Thanks for the reminder. You are correct. According to the Recommended Practice #19, the "Device Name" meta event is the official method to use.

 
Posted : 21/11/2021 6:57 am
Share: