Jeremy Sawruk <[EMAIL PROTECTED]> writes:

> I suspect the problem is one of the following: 1) The MIDI data is not
> correct, but in some non-obvious way that I have not been able to
> identify 2) There is a problem with the soundfont. I didn't create the
> soundfont, so I cannot guarantee that it is correct 3) There is a
> problem with this port to Windows. I haven't been able to try it on
> Linux yet.

On Linux, I see / hear nothing abnormal.
The note events start with a note_on/off of note pitch 0, very
unusual...

-- Johan

MIDI::Opus->new({
  'format' => 1,
  'ticks'  => 480,
  'tracks' => [   # 1 tracks...

    # Track #0 ...
    MIDI::Track->new({
      'type' => 'MTrk',
      'events' => [  # 104 events.
        ['patch_change', 0, 0, 1],                #       0  001-01-00-00  
Channel 0, patch = Bright Acoustic
        ['patch_change', 0, 2, 1],                #       0  001-01-00-00  
Channel 2, patch = Bright Acoustic
        ['time_signature', 0, 4, 2, 24, 8],       #       0  001-01-00-00  Time 
= 4/4, Click = 24, NoteQ = 8
        ['key_signature', 0, 0, 0],               #       0  001-01-00-00  Key 
= C
        ['set_tempo', 0, 600000],                 #       0  001-01-00-00  
Tempo: q = 100
        ['note_on', 0, 1, 0, 1],                  #       0  001-01-00-00  On:  
C-2
        ['note_off', 2462, 1, 0, 1],              #    2462  002-02-02-04  Off: 
C-2
        ['note_on', 0, 0, 73, 100],               #    2462  002-02-02-04  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    2462  002-02-02-04  On:  
C#4
        ['note_off', 150, 0, 73, 0],              #    2612  002-02-07-04  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    2612  002-02-07-04  Off: 
C#4
        ['note_on', 1, 0, 70, 100],               #    2613  002-02-07-06  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #    2613  002-02-07-06  On:  
A#3
        ['note_off', 147, 0, 70, 0],              #    2760  002-02-12-00  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #    2760  002-02-12-00  Off: 
A#3
        ['note_on', 9, 0, 70, 100],               #    2769  002-02-12-18  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #    2769  002-02-12-18  On:  
A#3
        ['note_off', 141, 0, 70, 0],              #    2910  002-03-01-00  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #    2910  002-03-01-00  Off: 
A#3
        ['note_on', 14, 0, 82, 100],              #    2924  002-03-01-28  On:  
A#4
        ['note_on', 0, 2, 82, 94],                #    2924  002-03-01-28  On:  
A#4
        ['note_off', 154, 0, 82, 0],              #    3078  002-03-06-36  Off: 
A#4
        ['note_off', 0, 2, 82, 0],                #    3078  002-03-06-36  Off: 
A#4
        ['note_on', 1, 0, 73, 100],               #    3079  002-03-06-38  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    3079  002-03-06-38  On:  
C#4
        ['note_off', 71, 0, 73, 0],               #    3150  002-03-09-00  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    3150  002-03-09-00  Off: 
C#4
        ['note_on', 227, 0, 77, 100],             #    3377  002-04-00-34  On:  
F4
        ['note_on', 0, 2, 77, 94],                #    3377  002-04-00-34  On:  
F4
        ['note_off', 342, 0, 77, 0],              #    3719  002-04-11-58  Off: 
F4
        ['note_off', 0, 2, 77, 0],                #    3719  002-04-11-58  Off: 
F4
        ['note_on', 1231, 0, 72, 100],            #    4950  003-03-05-00  On:  
C4
        ['note_on', 0, 2, 72, 94],                #    4950  003-03-05-00  On:  
C4
        ['note_off', 135, 0, 72, 0],              #    5085  003-03-09-30  Off: 
C4
        ['note_off', 0, 2, 72, 0],                #    5085  003-03-09-30  Off: 
C4
        ['note_on', 16, 0, 67, 100],              #    5101  003-03-10-02  On:  
G3
        ['note_on', 0, 2, 67, 94],                #    5101  003-03-10-02  On:  
G3
        ['note_off', 145, 0, 67, 0],              #    5246  003-03-14-52  Off: 
G3
        ['note_off', 0, 2, 67, 0],                #    5246  003-03-14-52  Off: 
G3
        ['note_on', 8, 0, 73, 100],               #    5254  003-03-15-08  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    5254  003-03-15-08  On:  
C#4
        ['note_off', 96, 0, 73, 0],               #    5350  003-04-02-20  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    5350  003-04-02-20  Off: 
C#4
        ['note_on', 60, 0, 70, 100],              #    5410  003-04-04-20  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #    5410  003-04-04-20  On:  
A#3
        ['note_off', 142, 0, 70, 0],              #    5552  003-04-09-04  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #    5552  003-04-09-04  Off: 
A#3
        ['note_on', 8, 0, 73, 100],               #    5560  003-04-09-20  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    5560  003-04-09-20  On:  
C#4
        ['note_off', 78, 0, 73, 0],               #    5638  003-04-11-56  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    5638  003-04-11-56  Off: 
C#4
        ['note_on', 199, 0, 85, 100],             #    5837  004-01-02-34  On:  
C#5
        ['note_on', 0, 2, 85, 94],                #    5837  004-01-02-34  On:  
C#5
        ['note_off', 273, 0, 85, 0],              #    6110  004-01-11-40  Off: 
C#5
        ['note_off', 0, 2, 85, 0],                #    6110  004-01-11-40  Off: 
C#5
        ['note_on', 1313, 0, 73, 100],            #    7423  004-04-07-26  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    7423  004-04-07-26  On:  
C#4
        ['note_off', 131, 0, 73, 0],              #    7554  004-04-11-48  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    7554  004-04-11-48  Off: 
C#4
        ['note_on', 14, 0, 70, 100],              #    7568  004-04-12-16  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #    7568  004-04-12-16  On:  
A#3
        ['note_off', 142, 0, 70, 0],              #    7710  005-01-01-00  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #    7710  005-01-01-00  Off: 
A#3
        ['note_on', 2, 0, 70, 100],               #    7712  005-01-01-04  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #    7712  005-01-01-04  On:  
A#3
        ['note_off', 140, 0, 70, 0],              #    7852  005-01-05-44  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #    7852  005-01-05-44  Off: 
A#3
        ['note_on', 6, 0, 82, 100],               #    7858  005-01-05-56  On:  
A#4
        ['note_on', 0, 2, 82, 94],                #    7858  005-01-05-56  On:  
A#4
        ['note_off', 144, 0, 82, 0],              #    8002  005-01-10-44  Off: 
A#4
        ['note_off', 0, 2, 82, 0],                #    8002  005-01-10-44  Off: 
A#4
        ['note_on', 6, 0, 73, 100],               #    8008  005-01-10-56  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #    8008  005-01-10-56  On:  
C#4
        ['note_off', 92, 0, 73, 0],               #    8100  005-01-14-00  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #    8100  005-01-14-00  Off: 
C#4
        ['note_on', 191, 0, 77, 100],             #    8291  005-02-04-22  On:  
F4
        ['note_on', 0, 2, 77, 94],                #    8291  005-02-04-22  On:  
F4
        ['note_off', 433, 0, 77, 0],              #    8724  005-03-02-48  Off: 
F4
        ['note_off', 0, 2, 77, 0],                #    8724  005-03-02-48  Off: 
F4
        ['note_on', 1140, 0, 72, 100],            #    9864  006-01-08-48  On:  
C4
        ['note_on', 0, 2, 72, 94],                #    9864  006-01-08-48  On:  
C4
        ['note_off', 156, 0, 72, 0],              #   10020  006-01-14-00  Off: 
C4
        ['note_off', 0, 2, 72, 0],                #   10020  006-01-14-00  Off: 
C4
        ['note_on', 2, 0, 67, 100],               #   10022  006-01-14-04  On:  
G3
        ['note_on', 0, 2, 67, 94],                #   10022  006-01-14-04  On:  
G3
        ['note_off', 145, 0, 67, 0],              #   10167  006-02-02-54  Off: 
G3
        ['note_off', 0, 2, 67, 0],                #   10167  006-02-02-54  Off: 
G3
        ['note_on', 5, 0, 73, 100],               #   10172  006-02-03-04  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #   10172  006-02-03-04  On:  
C#4
        ['note_off', 136, 0, 73, 0],              #   10308  006-02-07-36  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #   10308  006-02-07-36  Off: 
C#4
        ['note_on', 28, 0, 70, 100],              #   10336  006-02-08-32  On:  
A#3
        ['note_on', 0, 2, 70, 94],                #   10336  006-02-08-32  On:  
A#3
        ['note_off', 148, 0, 70, 0],              #   10484  006-02-13-28  Off: 
A#3
        ['note_off', 0, 2, 70, 0],                #   10484  006-02-13-28  Off: 
A#3
        ['note_on', 6, 0, 73, 100],               #   10490  006-02-13-40  On:  
C#4
        ['note_on', 0, 2, 73, 94],                #   10490  006-02-13-40  On:  
C#4
        ['note_off', 60, 0, 73, 0],               #   10550  006-02-15-40  Off: 
C#4
        ['note_off', 0, 2, 73, 0],                #   10550  006-02-15-40  Off: 
C#4
        ['note_on', 221, 0, 85, 100],             #   10771  006-03-07-02  On:  
C#5
        ['note_on', 0, 2, 85, 94],                #   10771  006-03-07-02  On:  
C#5
        ['note_off', 374, 0, 85, 0],              #   11145  006-04-03-30  Off: 
C#5
        ['note_off', 0, 2, 85, 0],                #   11145  006-04-03-30  Off: 
C#5
        ['text_event', 1, ''],                    #   11146  006-04-03-32
      ]
    }),
    
  ]
});

-------------------------------------------------------------------------
Sponsored by: SourceForge.net Community Choice Awards: VOTE NOW!
Studies have shown that voting for your favorite open source project,
along with a healthy diet, reduces your potential for chronic lameness
and boredom. Vote Now at http://www.sourceforge.net/community/cca08
_______________________________________________
Timidity-talk mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/timidity-talk

Reply via email to