fbpx
Skip to main content

MIDI Forum

When a file has bot...
 
Notifications
Clear all

When a file has both XG and GS resets..

3 Posts
3 Users
0 Reactions
3,005 Views
Nikolai
Posts: 36
Trusted Member
Topic starter
 

I the software I am working on, I use the one with the larger tick. And if they are at same tick, I go with GS.

But is there a smarter way to choose how to treat a file? The main thing I use it for is determining which instruments is used.

 
Posted : 10/09/2023 9:34 pm
Clemens Ladisch
Posts: 324
 

If you were using a hardware synthesizer connected with a MIDI cable, the last message sent would be the one that is effective.

Anyway, trying to send two different settings at the same time is silly. There is just not enough information to deduce what the original intent could be.

 
Posted : 11/09/2023 12:01 am
Carlos
Posts: 86
Estimable Member
 

In my program I keep the last event, although now that I think about it, it depends on the device that receives it, it could stay processing the first event and lose the second.

 
Posted : 11/09/2023 4:16 am
Share: