fbpx


The MIDI Forum

  Saturday, 15 May 2021
  4 Replies
  493 Visits
0
Votes
Undo
  Subscribe
Do the MIDI Specifications provide a mechanism to read the currently selected patch number from a device?
I've scanned a bunch of the specification documents but not found what I'm looking for. It could be that I'm just looking in the wrong documents or that the capability doesn't exist.
What I want to do is read the currently selected patch number from a device and I need to know how to format the message.
I know how to send program change message and am looking for a way to read back the data from the device on the receiving end.
Thanks
more than a month ago
·
#8980
0
Votes
Undo
I have never seen mention of such a command, and I'm not sure there is any point as it's such a trivial task to send midi data to set the channels of ANY device to whatever.

Some devices do set channels to specific instruments on startup or reset, but this is probably different for each device. This may be detailed in the respective manual.

The current setting, where this is stored, would be at a specific memory location in the RAM of the device, but this location will be different for each device. A SysEx command could probably be created to read (and return) this data as a SysEx data dump, but it would need to be different for each device.

As I suggested, the simplest solution would be to create a small midi file that does nothing but send the PC commands to set each channel to your preferred defaults, and 'play' that file before doing anything else. Then you KNOW what the settings are.

Geoff
more than a month ago
·
#8981
0
Votes
Undo
MIDI 1.0 does not have this feature.

We are currently defining extensions for MIDI 2.0 and I'm reasonably certain that this will be a feature in the future.
more than a month ago
·
#8982
0
Votes
Undo
So, the Midi 2.0 Spec may include such a facility.

Then manufacturers will need to implement this, so that devices will send something back.

Then software will need to recognise the data returned, and I assume display this in a useful form. And update this information on a real-time basis?

I wonder how long all this will take?

I didn't mention this before, because it's not really anything to do with the question as asked, but certain devices do NOW display the current setting on their little LCD screen - if they have one. For example, my Yamaha MU90r does this for each channel selected, so does my Korg NS5R. Other devices with a screen may do the same.

Geoff
more than a month ago
·
#8992
0
Votes
Undo
Thank you all for your responses.
My application is for a foot controller for a guitar amp modeler. It sends +/- 1, 5, 20 patch increment (program change) commands.
It would be a nice feature if the controller could read the current patch number and start from there.

Mark
  • Page :
  • 1
There are no replies made for this post yet.
Be one of the first to reply to this post!