亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來到蟲蟲下載站! | ?? 資源下載 ?? 資源專輯 ?? 關(guān)于我們
? 蟲蟲下載站

?? midi.txt

?? 關(guān)于midi 文件得介紹 關(guān)于midi 文件得介紹
?? TXT
?? 第 1 頁(yè) / 共 2 頁(yè)
字號(hào):

                           Standard MIDI File Format
                                Dustin Caldwell

      The standard MIDI file format is a very strange beast. When viewed as a
whole, it can be quite overwhelming. Of course, no matter how you look at it,
describing a piece of music in enough detail to be able to reproduce it
accurately is no small task. So, while complicated, the structure of the midi
file format is fairly intuitive when understood. 
      I must insert a disclaimer here that I am by no means an expert with
midi nor midi files. I recently obtained a Gravis UltraSound board for my PC,
and upon hearing a few midi files (.MID) thought, "Gee, I'd like to be able to
make my own .MID files." Well, many aggravating hours later, I discovered that
this was no trivial task. But, I couldn't let a stupid file format stop me.
(besides, I once told my wife that computers aren't really that hard to use,
and I'd hate to be a hypocrite) So if any errors are found in this
information, please let me know and I will fix it. Also, this document's scope
does not extend to EVERY type of midi command and EVERY possible file
configuration. It is a basic guide that should enable the reader (with a
moderate investment in time) to generate a quality midi file.

1. Overview

      A midi (.MID) file contains basically 2 things, Header chunks and Track
chunks. Section 2 explains the header chunks, and Section 3 explains the track
chunks. A midi file contains ONE header chunk describing the file format,
etc., and any number of track chunks. A track may be thought of in the same
way as a track on a multi-track tape deck. You may assign one track to each
voice, each staff, each instrument or whatever you want. 

2. Header Chunk

      The header chunk appears at the beginning of the file, and describes the
file in three ways. The header chunk always looks like:

4D 54 68 64 00 00 00 06 ff ff nn nn dd dd

The ascii equivalent of the first 4 bytes is MThd. After MThd comes the 4-byte
size of the header. This will always be 00 00 00 06, because the actual header
information will always be 6 bytes. 

ff ff is the file format. There are 3 formats:

0 - single-track 
1 - multiple tracks, synchronous
2 - multiple tracks, asynchronous

Single track is fairly self-explanatory - one track only. Synchronous multiple
tracks means that the tracks will all be vertically synchronous, or in other
words, they all start at the same time, and so can represent different parts
in one song. Asynchronous multiple tracks do not necessarily start at the same
time, and can be completely asynchronous. 

nn nn is the number of tracks in the midi file.

dd dd is the number of delta-time ticks per quarter note. (More about this
later)


3. Track Chunks

The remainder of the file after the header chunk consists of track chunks.
Each track has one header and may contain as many midi commands as you like.
The header for a track is very similar to the one for the file:

4D 54 72 6B xx xx xx xx

As with the header, the first 4 bytes has an ascii equivalent. This one is
MTrk. The 4 bytes after MTrk give the length of the track (not including the
track header) in bytes. 
      Following the header are midi events. These events are identical to the
actual data sent and received by MIDI ports on a synth with one addition. A
midi event is preceded by a delta-time. A delta time is the number of ticks
after which the midi event is to be executed. The number of ticks per quarter
note was defined previously in the file header chunk. This delta-time is a
variable-length encoded value. This format, while confusing, allows large
numbers to use as many bytes as they need, without requiring small numbers to
waste bytes by filling with zeros. The number is converted into 7-bit bytes,
and the most-significant bit of each byte is 1 except for the last byte of the
number, which has a msb of 0. This allows the number to be read one byte at a
time, and when you see a msb of 0, you know that it was the last (least
significant) byte of the number. According to the MIDI spec, the entire delta-
time should be at most 4 bytes long. 
      Following the delta-time is a midi event. Each midi event (except a
running midi event) has a command byte which will always have a msb of 1 (the
value will be >= 128). A list of most of these commands is in appendix A. Each
command has different parameters and lengths, but the data that follows the
command will have a msb of 0 (less than 128). The exception to this is a meta-
event, which may contain data with a msb of 1. However, meta-events require a
length parameter which alleviates confusion. 
      One subtlety which can cause confusion is running mode. This is where
the actual midi command is omitted, and the last midi command issued is
assumed. This means that the midi event will consist of a delta-time and the
parameters that would go to the command if it were included. 

4. Conclusion

      If this explanation has only served to confuse the issue more, the
appendices contain examples which may help clarify the issue. Also, 2
utilities and a graphic file should have been included with this document: 

DEC.EXE - This utility converts a binary file (like .MID) to a tab-delimited
text file containing the decimal equivalents of each byte.

REC.EXE - This utility converts a tab-delimited text file of decimal values
into a binary file in which each byte corresponds to one of the decimal
values.

MIDINOTE.PS - This is the postscript form of a page showing note numbers with
a keyboard and with the standard grand staff.
                                                                         Appendix A

1. MIDI Event Commands

Each command byte has 2 parts. The left nybble (4 bits) contains the actual
command, and the right nybble contains the midi channel number on which the
command will be executed. There are 16 midi channels, and 8 midi commands (the
command nybble must have a msb of 1).
In the following table, x indicates the midi channel number. Note that all
data bytes will be <128 (msb set to 0).

Hex      Binary       Data          Description
8x       1000xxxx     nn vv         Note off (key is released)
                                    nn=note number
                                    vv=velocity

9x       1001xxxx     nn vv         Note on (key is pressed)
                                    nn=note number
                                    vv=velocity

Ax       1010xxxx     nn vv         Key after-touch
                                    nn=note number
                                    vv=velocity

Bx       1011xxxx     cc vv         Control Change
                                    cc=controller number
                                    vv=new value

Cx       1100xxxx     pp            Program (patch) change
                                    pp=new program number

Dx       1101xxxx     cc            Channel after-touch
                                    cc=channel number

Ex       1110xxxx     bb tt         Pitch wheel change (2000H is normal or no
                                    change)
                                    bb=bottom (least sig) 7 bits of value
                                    tt=top (most sig) 7 bits of value
The following table lists meta-events which have no midi channel number. They
are of the format:

FF xx nn dd

All meta-events start with FF followed by the command (xx), the length, or
number of bytes that will contain data (nn), and the actual data (dd).

Hex      Binary       Data          Description
00       00000000     nn ssss       Sets the track's sequence number.
                                    nn=02 (length of 2-byte sequence number)
                                    ssss=sequence number

01       00000001     nn tt ..      Text event- any text you want.
                                    nn=length in bytes of text
                                    tt=text characters

02       00000010     nn tt ..      Same as text event, but used for
                                    copyright info.
                                    nn tt=same as text event

03       00000011     nn tt ..      Sequence or Track name
                                    nn tt=same as text event

04       00000100     nn tt ..      Track instrument name
                                    nn tt=same as text event

05       00000101     nn tt ..      Lyric
                                    nn tt=same as text event

06       00000110     nn tt ..      Marker
                                    nn tt=same as text event

07       00000111     nn tt ..      Cue point
                                    nn tt=same as text event

2F       00101111     00            This event must come at the end of each
                                    track

51       01010001     03 tttttt     Set tempo
                                    tttttt=microseconds/quarter note

58       01011000     04 nn dd ccbb Time Signature
                                    nn=numerator of time sig.
                                    dd=denominator of time sig. 2=quarter
                                    3=eighth, etc.
                                    cc=number of ticks in metronome click
                                    bb=number of 32nd notes to the quarter
                                    note

59       01011001     02 sf mi      Key signature
                                    sf=sharps/flats (-7=7 flats, 0=key of C,
                                    7=7 sharps)
                                    mi=major/minor (0=major, 1=minor)

?? 快捷鍵說明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
亚洲色图19p| 国产v综合v亚洲欧| 欧美一区二区精品在线| 精品一区二区久久| 一区二区三区精品视频| 欧美一区二区日韩一区二区| 成人综合在线观看| 蜜臀av性久久久久蜜臀aⅴ| 亚洲欧洲日韩av| 日韩欧美激情四射| 精品污污网站免费看| 国产69精品久久久久毛片 | 欧美一区二区三区不卡| 成人免费毛片高清视频| 国精品**一区二区三区在线蜜桃| 有码一区二区三区| 国产日韩欧美综合在线| 日韩免费在线观看| 欧美精品成人一区二区三区四区| 91香蕉视频在线| 国产乱色国产精品免费视频| 伦理电影国产精品| 午夜激情一区二区三区| 亚洲精品欧美专区| 中文字幕亚洲精品在线观看| 久久亚洲影视婷婷| 欧美一区二区三区在线电影| 欧美喷潮久久久xxxxx| 欧美在线不卡视频| 一本到不卡精品视频在线观看| 大胆欧美人体老妇| 国产精品亚洲第一| 国产一区二区三区av电影| 精品在线播放免费| 国产综合一区二区| 久久国内精品视频| 免费人成精品欧美精品| 日本不卡视频在线观看| 蜜桃一区二区三区在线| 蜜臂av日日欢夜夜爽一区| 奇米精品一区二区三区在线观看一| 日韩中文字幕亚洲一区二区va在线| 亚洲一区二区三区四区在线免费观看| 中文字幕一区二区三区视频| 国产精品素人一区二区| 国产日本欧洲亚洲| 国产精品美女一区二区| 亚洲精品视频在线看| 一卡二卡三卡日韩欧美| 午夜精品久久久久久久99水蜜桃| 偷拍自拍另类欧美| 蜜臀久久99精品久久久画质超高清| 九色综合国产一区二区三区| 精品一区二区免费在线观看| 国产成人精品一区二| 成人高清免费在线播放| 色婷婷激情一区二区三区| 欧美性色综合网| 91麻豆精品国产自产在线 | 婷婷综合在线观看| 亚洲第一在线综合网站| 日韩中文字幕91| 午夜精品福利久久久| 自拍偷拍亚洲激情| 亚洲一区二区三区四区不卡| 亚洲一区二区三区视频在线 | 国产剧情在线观看一区二区| 亚洲男女一区二区三区| 日韩在线卡一卡二| 日日摸夜夜添夜夜添亚洲女人| 青青草视频一区| 国产精品自拍三区| 色国产精品一区在线观看| 777午夜精品视频在线播放| 日韩视频在线你懂得| 亚洲精品网站在线观看| 久久99国产精品免费| 91蜜桃婷婷狠狠久久综合9色| 这里只有精品免费| 婷婷成人激情在线网| 日韩电影在线一区二区| 成人app网站| 亚洲精品一区二区三区蜜桃下载| 久久综合九色综合欧美就去吻| 国产区在线观看成人精品| 另类欧美日韩国产在线| 欧美最新大片在线看| 国产精品日韩成人| 国产91精品一区二区麻豆亚洲| 成人激情小说乱人伦| 欧美电影免费观看完整版| 亚洲乱码中文字幕综合| 激情文学综合网| 91一区在线观看| 精品国产成人在线影院| 爽好久久久欧美精品| 欧美日韩一区二区在线观看视频| 国产在线一区二区综合免费视频| 欧美mv日韩mv国产网站app| 免费成人在线观看视频| 成人污污视频在线观看| 欧美一区二区视频免费观看| 亚洲欧洲精品天堂一级| 狠狠色伊人亚洲综合成人| 欧美日韩美少妇| 亚洲丝袜制服诱惑| 国产精品亚洲成人| 91精品国产综合久久福利软件 | 国产成人av一区| 色综合久久久久综合体桃花网| 一区二区三区在线视频免费| 精品日韩99亚洲| 成人黄色片在线观看| 精品国产污污免费网站入口| 亚洲一区二区高清| 91碰在线视频| 国产区在线观看成人精品| 韩国三级电影一区二区| 日韩一级大片在线观看| 五月激情综合网| 欧美三级中文字幕| 亚洲精品菠萝久久久久久久| 成人午夜激情在线| 国产欧美一区二区精品仙草咪| 久久99精品久久久久婷婷| 日韩视频在线一区二区| 无吗不卡中文字幕| 欧美日韩国产综合一区二区| 亚洲精品乱码久久久久久| 91免费观看国产| 亚洲色图清纯唯美| 91同城在线观看| 亚洲色图欧美在线| 日本福利一区二区| 亚洲最新在线观看| 欧美三级蜜桃2在线观看| 亚洲一区二区三区四区不卡| 欧美日韩在线直播| 亚洲第一综合色| 91精品国产综合久久精品app | 一区二区三区中文在线观看| 91电影在线观看| 香蕉加勒比综合久久| 91精品国产综合久久精品图片| 奇米影视7777精品一区二区| 精品成人一区二区三区| 高清不卡一区二区在线| 中文字幕成人av| 一本大道久久a久久精品综合| 一区二区三区日本| 欧美人体做爰大胆视频| 美国十次了思思久久精品导航| 精品日韩成人av| 成人激情小说网站| 亚洲午夜精品17c| 日韩午夜激情视频| 国产99精品国产| 亚洲欧美激情一区二区| 欧美老年两性高潮| 美洲天堂一区二卡三卡四卡视频| 久久亚洲捆绑美女| av高清久久久| 首页国产丝袜综合| 国产三级精品三级在线专区| 99国产一区二区三精品乱码| 天堂蜜桃一区二区三区| 久久中文娱乐网| 一本一道久久a久久精品综合蜜臀| 欧美三级视频在线| 91一区在线观看| 色域天天综合网| 9i看片成人免费高清| 91婷婷韩国欧美一区二区| 成人av网站大全| 色婷婷久久99综合精品jk白丝| 不卡视频一二三四| 99在线精品一区二区三区| 91在线观看美女| 欧美区视频在线观看| 日韩一区二区三区三四区视频在线观看 | 亚洲一区二区三区四区在线| 中文在线一区二区| 久久国产精品色| 91啪亚洲精品| 久久久久久久一区| 麻豆精品在线看| 不卡视频免费播放| 欧美日韩黄视频| 欧美大胆人体bbbb| 欧美r级电影在线观看| 精品国产免费视频| 国产日韩欧美a| 日韩国产欧美在线播放| 96av麻豆蜜桃一区二区| 天涯成人国产亚洲精品一区av| 2023国产精华国产精品| 福利一区二区在线观看| 亚洲黄色录像片| 成人一区二区视频| 亚洲欧美国产77777|