> I hope it is permissible, I am adding the file zipped.

That's perfect.  Thanks.

I tried changing the program on track 5 and exporting back to .mid

I'm not in a position to listen to anything right now, so literally all 
I did was look.  I opened the resulting .mid file in MusE, and compared 
the structure.

The structure looks the same at a glance.

For giggles, I started over from scratch, loaded your file again, and 
exported it straight out without changing anything.  Next, I changed the 
one program, and exported it again.  Finally, I compared hex dumps of 
the two binary files.

The ONLY difference between the hex dumps is that one has 0x13 where the 
other has 0x38.  I used Trumpet instead of Clarinet.  0x38 is 56 decimal 
is Trumpet, 0x13 is 20 decimal is Church Organ.

There's your change.  That is the ONLY change.

If one file plays, the other file should play too.  If one of them 
doesn't, the other one won't either.  The kind of gross behavioral 
differences you're describing cannot possibly be explained by these two 
bytes alone.

I conclude, therefore, I have not successfully repeated your bug.  It's 
just not happening here.

Why don't we get on the same page and see what results you get repeating 
my experiment (including using Trumpet instead of Clarinet) in your own 
laboratory?

1. ./rosegarden or-pine2.mid

2. File -> Export -> Export MIDI File - export it as "before.mid"

3. Change the program on track 5 from Church Organ to Trumpet

4. File -> Export -> Export MIDI File - export it as "after.mid"

5. hexdump before.mid > before.hex

6. hexdump after.mid > after.hex

7. diff -U 0 before.hex after.hex

Here is my result:

-> diff -U 0 before.hex after.hex
--- before.hex   2013-01-19 05:39:09.000000000 -0500
+++ after.hex    2013-01-19 05:40:49.000000000 -0500
@@ -1179 +1179 @@
-0005b20 002e 00b4 0000 0020 c400 0013 79b4 0000
+0005b20 002e 00b4 0000 0020 c400 0038 79b4 0000
@@ -1511 +1511 @@
-0007510 2e72 b500 0000 2000 0000 13c5 b500 0079
+0007510 2e72 b500 0000 2000 0000 38c5 b500 0079

I repeated this entire procedure twice with the same results both times. 
  What do you get?
-- 
D. Michael McIntyre

------------------------------------------------------------------------------
Master Visual Studio, SharePoint, SQL, ASP.NET, C# 2012, HTML5, CSS,
MVC, Windows 8 Apps, JavaScript and much more. Keep your skills current
with LearnDevNow - 3,200 step-by-step video tutorials by Microsoft
MVPs and experts. SALE $99.99 this month only -- learn more at:
http://p.sf.net/sfu/learnmore_122912
_______________________________________________
Rosegarden-user mailing list
[email protected] - use the link below to unsubscribe
https://lists.sourceforge.net/lists/listinfo/rosegarden-user

Reply via email to