p
-
K
8-7 C o n v e r s i o n
To t r a n s m i t 8 b i t - b y t e d a t a i n
MIDI
SysEx, a n y d a t a b y t e s s h o u l d be 7 b i t - b y t e d a t a .
F i r s t , s t r i p o u t bit7fMSB) from s o u r c e 7 b y t e s o f d a ~ a , a n d b u i l t 1 b y t e d a t a a t t a c h i n g MSB=O.
Then s e n d t h i s b y t e f i r s t , a n d s e n d 1st - 7 t h d a t a w i t h o u t
MSB. These 8 b y t e s a r e
combined
t o 1 b l o c k .
(Fig.1)
I f s t r e a m
of d a t a
i s less
t h a n 7 b y t e s ,
s t r e a m b y t e s
+
1 w i l l b e a
size
o f :he
block.
( F i g . 2 )
AAAAaaaa BBBBbbbb CCCCcccc DDDDdddd EEEEeeee F F F F f f f f SGGGgggg
4
OGFEOCBA
OAAAaaaa OBBBbbbb OCCCcccc ODDDdddd OEEEeeee O F F F f f f f OGGSgggg
Flg.2
RAAAaaaa BBBEbbbb CCCCcccc
OOOOOCBA OAAAaaaa OBBBbbbb OCCCcccc