Log in
Register

  • The MIDI Messages Forum  Ask and you shall receive

    The MIDI Messages Forum
    Ask and you shall receive

  1. Bruna Wundervald
  2. MIDI Specifications
  3. Saturday, 14 October 2017
  4.  Subscribe via email
I'm new at dealing with MIDI data and I'm using music21 right now. As I didn't found the specific MIDI files I wanted, I converted mp3 files. But I have a question about the results I got: is it normal for a MIDI file to have more than 20.000 notes? I believe this is too much but the files seem just fine to me.
Comment
There are no comments made yet.
Geoff Accepted Answer Pending Moderation
0
Votes
Undo
Hello,

I've played with some fairly large midi files, but never checked the number of 'notes'. The important thing would be midi EVENTS though, there could be a lot of them as well. And each note would be at least two events.

Apart from that, it's going to depend on the software you're using to read/process the midi file. Most systems load the complete file into memory, so you'd need enough RAM to handle the size of file. If the file is a type 0 file, then a playing prog COULD treat the data as a single stream, so maybe it COULD play the file without loading the full file first, but it's unlikely any prog would work that way.

I have however had cases when a midi file could NOT be loaded, not enough memory, but that will be dependant on specific prog, computer, operating system. NOT due to any limitation of the midi system.

So, if it SEEMS to work, then it's prob OK. Maybe just slow?

Geoff
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Specifications
  3. # 1
Geoff Accepted Answer Pending Moderation
0
Votes
Undo
Of course, you don't provide much information.

If you've converted a 30 minute orchestral score and the conversion has generated 16 tracks for different instruments, then 20,000 midi events could be quite reasonable.

But if it's a 5 minute solo piece, with 1 track, then it's WAY too many? The conversion from MP3 to MIDI could be detecting a LOT of spurious events that should be handled by the parameters of the playback sound/tone, and NOT by explicit midi events. For example, a guitar sound would contain a lot of detail to portray one note, whereas a good playback device would include most of that same data within the sample/etc of it's 'Guitar' preset sound.

Effective conversion of an MP3 to Midi is somewhere between VERY difficult and impossible, depending on the nature of the sounds recorded within the MP3. But you don't say what the material is, so again, I'm guessing!

Just WHAT material were you needing, but couldn't find. I'd be surprised if there was NOTHING hiding somewhere on the web!

Geoff
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Specifications
  3. # 2
Geoff Accepted Answer Pending Moderation
0
Votes
Undo
Just as a guide...

I've just had a quick look, and from the midi files readily accessible on my PC - the biggest file I see is of the 1st Movement of the 2nd Brandenburg.

This file is 79,099 bytes long. The data comprises 1 header track, and 10 music tracks. The track with the most notes has 1,490 notes. The total number of notes over all the tracks is 9,892. The file is 91,560 midi ticks long, if I remember rightly, this movement will be somewhere about 10 minutes. This file is fairly old, and there are VERY few non-note events showing. Just over 20 in total.

So, compare the 20,000 in your file, depending on the duration of the music, and the number of tracks (parts).

Oh, out of technical interest, I'd be FASCINATED to see a midi file generated automatically from an MP3 file! I dread to think what it'll look like!!

Geoff
Comment
There are no comments made yet.
  1. more than a month ago
  2. MIDI Specifications
  3. # 3
  • Page :
  • 1


There are no replies made for this post yet.
However, you are not allowed to reply to this post.