[Back to SOUND SWAG index] [Back to Main SWAG index] [Original]

    {
    > (3) How can I do *ANYTHING* with an .SBI file?

     .SBI (Sound Blaster Instrument) Format (52 Bytes):
     Offset (Length)   Value        Remark
         00 (1)        = 53           ;'S'
         01 (1)        = 42           ;'B'
         02 (1)        = 49           ;'I'
         03 (1)        = 1A
     04..23 (32)       = xx           ;The Name of Instrument
     24..33 (16)       = xx           ;The Parameter of Instrument for (OPL2/OPL3)
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         24 ³b³b³b³b³b³b³b³b³       ;Modulator
         25 ³7³6³5³4³3³2³1³0³       ;Carrier
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
                b7[1] : (AM) Amplitude Modulation
                b6[1] : (VIB) VIBrato
                b5[1] : (EG-TYP) Envelope Generator TYPe
                b4[1] : (KSR) Key Scale Rate
            b3..b0[4] : (MULTIPLE) Frequency Multiplier
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         26 ³b³b³b³b³b³b³b³b³       ;Modulator
         27 ³7³6³5³4³3³2³1³0³       ;Carrier
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
            b7..b6[2] : (KSL) Key Scale Level
            b5..b0[6] : (TL) Total Level
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         28 ³b³b³b³b³b³b³b³b³       ;Modulator
         29 ³7³6³5³4³3³2³1³0³       ;Carrier
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
            b7..b4[4] : (AR) Attack Rate
            b3..b0[4] : (DR) Decay Rate
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         2A ³b³b³b³b³b³b³b³b³       ;Modulator
         2B ³7³6³5³4³3³2³1³0³       ;Carrier
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
            b7..b4[4] : (SL) Sustain Level
            b3..b0[4] : (RR) Release Rate
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         2C ³b³b³b³b³b³b³b³b³       ;Modulator
         2D ³7³6³5³4³3³2³1³0³       ;Carrier
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
            b7..b2[6] : 0
            b1..b0[2] : (WS) Wave Select *[ Note: OPL3 using 3 bits ]*
            ÚÄÂÄÂÄÂÄÂÄÂÄÂÄÂÄ¿
         2E ³b³b³b³b³b³b³b³b³       ;Modulator
            ³7³6³5³4³3³2³1³0³
            ÀÄÁÄÁÄÁÄÁÄÁÄÁÄÁÄÙ
            b7..b4[4] : 0
            b3..b1[3] : (FB) FeedBack
                b0[1] : (C) Connection

     2F..33 (5) Reserved

                Note: Offset is HEX, (Length) is DEC.

     .IBK (Instrument BanK) Format (3204 Bytes):

      Offset (Length)   Value        Remark
         000 (1)        = 49           ;'I'
         001 (1)        = 42           ;'B'
         002 (1)        = 4B           ;'K'
         003 (1)        = 1A
    004..803 (16*128)   = xx           ;The 128 Parameter of Instrument
                                       ;Equal to .SBI [24..33]
    804..C83 (9*128)    = xx           ;The 128 Name of Instrument
    }

[Back to SOUND SWAG index] [Back to Main SWAG index] [Original]