-
After that this 51 00 is actually an abbreviation for a MIDI file. If the event type and channel of the next MIDI event are the same as those of the previous event, then the next MIDI event omits the event type byte. So, the last red box should be 90 51 64, the next one is delta-time, which is 3c, and then the event is 90 51 00.
Then 00 is delta-time, then 53 64 is actually 90 53 64, then 3c is delta-time again, then 53 00 is 90 53 00, and so on. The 90 event stands for Note On, which is followed by two bytes of data, the first data byte represents the note, and the second represents the velocity. If the strength is 00, it is equivalent to note off, which is equivalent to 80 51 This method is widely used in documents to represent note off, and the instruction word 90 is omitted to achieve the purpose of saving file size.
As for how to determine whether the byte after delta-time is a data word or an instruction word, it depends on whether the highest bit of the byte is 0 or 1. If it's 0, it's a data word; If it's 1, it's a command word. The landlord can refer to the MIDI document I wrote myself, in my library.
-
Recently, I received a lot of private messages from friends.,Everyone came to ask what format of MIDI file is.,I didn't know at first.,After collecting relevant information on the Internet.,I finally know what MIDI is.,Now I'll introduce the specific introduction of MIDI files and the opening method of MIDI files to you.,Let's take a look.。
The details are as follows:
MIDI files belong to binary files, and this kind of file generally has the following basic structure: file header + data description file header generally includes the type of file, because MIDI Wenhuai is only used. There are two types of mid as the extension, class 0 and class 1, and the format of the familiar bit ** file is more, so there is such a thing as a file header.
Unlike waveform files, MIDI files do not sample, but record each note of ** as a number, so the file size is much smaller than waveform files, which can meet the needs of long-term **. The MIDI standard specifies the mixing and pronunciation of various tones, and the numbers can be resynthesized into ** by means of an output device.
The main limitation of MIDI** is that it lacks the ability to reproduce real, natural sounds, so it cannot be used in situations where voice is required. In addition, MIDI can only record a limited number of combinations of instruments as specified in the standard, and the playback quality is limited by the synthesis chip of the sound card. In recent years, foreign popular sound cards have generally used the wavetable method for synthesis, which has greatly improved the quality of MIDI.
MIDI files have several workarounds such as RMI and CIF, among others. The CMF file (creativemusicformat) is the ** file that is used with the sound blaster card. The RMI file is a sub-format of the RIFF (ResourceInterChangeFileFormat) file used by Windows, called RMID, which is the format that contains the MIDI file.
How do I open a midi file?
The specific steps are as follows:
Here we use it:cubaseThis software;
After opening the software, click "File" in the menu bar and select "Import";
Pick the roll family choice"MIDI files";
Select in the pop-up box"Create"or"Nope"Both;
Select the MIDI file you want to import and click Open;
At this point, the MIDI file is opened, and the notes of each track can be seen in the software;
-
MIDI is a binary. This kind of file generally has the following basic structure: file header + data description, the file header generally includes the type of file.
The header of the document generally includes the type of file; MIDI data, on the other hand, is made up of several sub-data of the same format, which record all the information of a track in a multi-track format.
Composition of MIDI format:MIDI data is made up of several identically formatted sub-data that record all the information of a track in a multi-track format. To add an extra track, simply append the data to the previous track, but don't forget to change the nn nn in the file header.
Let's start with the global audio track. Global audio tracks include additional information about the song (such as title and copyright), song tempo, and system code (sysx). Both global tracks and tracks with notes start with "4d 54 72 6b", which is actually the ASCII character "mtrk", followed by a 4-byte integer that indicates the number of bytes of the track, not including the first 4 bytes and the 4 bytes itself.
We can understand this in the following examples.
-
MIDI is the most widely used standard format in the world of arrangement, and can be described as "computer-readable sheet music". It records with a digital control signal of the notes. A complete MIDI** is only a few dozen kb in size, and can contain dozens of ** tracks.
Almost all modern ** synthesizers are made with MIDI plus a sound library.
MIDI transmits not sound signals, but instructions such as notes, control parameters, etc., which instruct the MIDI device to do what and how to do it, such as which note to play, how loud, etc. They are uniformly represented as MIDI messages. Asynchronous serial communication is used for transmission, and the standard communication baud rate is 1 kbaud.
-
Symbolized instruction.
The MIDI** format, with a strong sense of electronic, as well as wide applicability and convenience, gave birth to a large number of ** types in that era. Reinventing the pop of the 1980s.
The early concept of the "open source" spirit of the MIDI format made it possible for everyone to create "complex fragments", and the proponents of the MIDI standard pushed it to become a free link connecting the world. Thirty years later, MIDI is still going strong and alive as a key component of professional** recording and production.
You don't need to fight at the beginning of the first year of high school, just do it step by step, you can do what the teacher says, and what you should do is to adapt to the rhythm of life and learning in high school, you must adapt as soon as possible, and early adaptation means that learning is faster and more efficient than others! High. >>>More
hurry: It's [.]'hari ]
The "Hurui" you say is the word hooray. >>>More
Graphics card replaced: Sapphire X800GTO3 frequency 400 700, RV430 core, native 16 pipelines, shielded 4 pipelines (it is said that 100 open the remaining 4 pipelines), 256bit video memory If you care about the game and HDR special effects, this card is definitely worth it. >>>More
Hehe, the landlord and I are quite similar. I told him that he also helped me tidy up the drawers later, which was a touch, but after a long time, I felt that he was not suitable for me. Has the landlord also thought about whether he is suitable for you?
Kindness. Don't be too one-sided.
Only a few of what you see. >>>More