Difference between revisions of "MOONBLASTER FILE FORMAT JP"

From MSX MUSIC WIKI
Jump to: navigation, search
Line 44: Line 44:
 
|$0157 ||03      ||Drum volumes MSX-MUSIC
 
|$0157 ||03      ||Drum volumes MSX-MUSIC
 
|-
 
|-
|$015A |20      ||Drum frequencies MSX-MUSIC
+
|$015A ||20      ||Drum frequencies MSX-MUSIC
 
|-
 
|-
|$016E |09      ||Start detune
+
|$016E ||09      ||Start detune
 
|-
 
|-
 
|$0177 ||01      ||Loop position
 
|$0177 ||01      ||Loop position
Line 61: Line 61:
 
{|
 
{|
 
|-
 
|-
Data    Description
+
|Data    ||Description
 
|-
 
|-
000    Empty
+
|000    ||Empty
 
|-
 
|-
001-096 Note (data/12=octave, rest is note)
+
|001-096 ||Note (data/12=octave, rest is note)
 
|-
 
|-
097    Note OFF
+
|097    ||Note OFF
 
|-
 
|-
098-113 Instrument change
+
|098-113 ||Instrument change
 
|-
 
|-
114-176 Volume change
+
|114-176 ||Volume change
 
|-
 
|-
177-179 Stereo set
+
|177-179 ||Stereo set
 
|-
 
|-
180-198 Note LINK
+
|180-198 ||Note LINK
 
|-
 
|-
199-217 Pitch
+
|199-217 ||Pitch
 
|-
 
|-
218-223 Brightnes negative
+
|218-223 ||Brightnes negative
 
|-
 
|-
224-230 (de-)Tune
+
|224-230 ||(de-)Tune
 
|-
 
|-
231-236 Brightnes positive
+
|231-236 ||Brightnes positive
 
|-
 
|-
237    Sustain
+
|237    ||Sustain
 
|-
 
|-
238    Modulation (Frequency!)
+
|238    ||Modulation (Frequency!)
 
|-
 
|-
237-242 Free
+
|237-242 ||Free
 
|-
 
|-
243-255 Crunched Line data (Empty steps)
+
|243-255 ||Crunched Line data (Empty steps)
 
|-
 
|-
Link:  180 -> L-9
+
|Link:  ||180 -> L-9
 
      189 -> L+0
 
      189 -> L+0
 
      198 -> L+9
 
      198 -> L+9
 
|-
 
|-
Pitch:  199 -> P-9
+
|Pitch:  ||199 -> P-9
 
      208 -> P+0
 
      208 -> P+0
 
      217 -> P+9
 
      217 -> P+9
 
|-
 
|-
(de)tune: 224 -> T-3
+
|(de)tune:|| 224 -> T-3
 
      227 -> T+0
 
      227 -> T+0
 
      230 -> T+3
 
      230 -> T+3
Line 109: Line 109:
 
=Case: パターンデータとコマンドチャンネル=
 
=Case: パターンデータとコマンドチャンネル=
 
{|
 
{|
Data    Description
+
|Data    ||Description
 
|-
 
|-
000    Empty
+
|000    ||Empty
 
|-
 
|-
001-023 Change Tempo
+
|001-023 ||Change Tempo
 
|-
 
|-
024 End Of Pattern
+
|024 ||End Of Pattern
 
|-
 
|-
025-027 Change Drumset MSX-MUSIC
+
|025-027 ||Change Drumset MSX-MUSIC
 
|-
 
|-
028-039 Set status-byte
+
|028-039 ||Set status-byte
 
|-
 
|-
049-... Transpose
+
|049-... ||Transpose
 
|}
 
|}
  
Line 128: Line 128:
 
{|
 
{|
 
|-
 
|-
IY+00  Note nr.
+
|IY+00  ||Note nr.
 
|-
 
|-
+01  MSX-AUDIO frequency
+
| +01  ||MSX-AUDIO frequency
 
|-
 
|-
+03  MSX-MUSIC frequency
+
| +03  ||MSX-MUSIC frequency
 
|-
 
|-
+05  .
+
| +05  ||.
 
|-
 
|-
+06  Frequency mode: 0, normal. 1, pitch. 2, modulation
+
| +06  ||Frequency mode: 0, normal. 1, pitch. 2, modulation
 
|-
 
|-
+07  .
+
| +07  ||.
 
|-
 
|-
+09  Tuning
+
| +09  ||Tuning
 
|-
 
|-
+0A  Instrument
+
| +0A  ||Instrument
 
|-
 
|-
+0B  .
+
| +0B  ||.
 
|-
 
|-
+0E  Pitch value
+
| +0E  ||Pitch value
 
|-
 
|-
+0F  ,,    ,,    0, positive. -1, negative.
+
| +0F  ||,,    ,,    0, positive. -1, negative.
 
|-
 
|-
+10  MSX-AUDIO基本周波数
+
| +10  ||MSX-AUDIO基本周波数
 
|-
 
|-
+12  MSX-MUSIC ,,   ,,
+
| +12  ||MSX-MUSIC ,,   ,,
 
|-
 
|-
+14  MSX-AUDIOブライトネス
+
| +14  ||MSX-AUDIOブライトネス
 
|-
 
|-
+15  .
+
| +15  ||.
 
|-
 
|-
+16  MSX-AUDIOボリューム
+
| +16  ||MSX-AUDIOボリューム
 
|-
 
|-
+17  .
+
| +17  ||.
 
|-
 
|-
+18  Value of last OPL register (MSX-AUDIO)
+
| +18  ||Value of last OPL register (MSX-AUDIO)
 
|}
 
|}
  

Revision as of 09:51, 24 December 2020

MBM (User file!)

Ext.name: *.MBM (User file!) Length: Variable (min $0180 bytes) Type: Data Contains: Music settings etc., pattern data


Case:メモリオフセット

オフセット ||長さ ||説明
$0000 3 Song Length + ID
$0003 16*9 Voice data MSX-AUDIO (incl. volume)
$0093 16 Instrument list MSX-AUDIO
$00A3 32 Instrument/Volume list MSX-MUSIC

(Instr: 1-15:Hardware, 16-22:Original)

$00C3 10 Channel chip set.
$00CD 01 Start tempo
$00CE 01 Sustain MSX-AUDIO
$00CF 41 Track name
$00F8 09 Start instruments MSX-AUDIO
$0101 09 Start instruments MSX-MUSIC
$010A 6*8 MSX-MUSIC original instrument OPL data (6xOPL)
$013A 06 ,, ,, ,, ,, prog.number.
$0140 08 Sample-Kit name
$0148 15 Drum set-up MSX-MUSIC/PSG
$0157 03 Drum volumes MSX-MUSIC
$015A 20 Drum frequencies MSX-MUSIC
$016E 09 Start detune
$0177 01 Loop position
$0178 snglen Position table
$0xxx hipat*2 Pattern Address table
$0xxx .. Pattern data

Case: パターンデータとミュージックチャンネル

offsets: 00-08

Data Description
000 Empty
001-096 Note (data/12=octave, rest is note)
097 Note OFF
098-113 Instrument change
114-176 Volume change
177-179 Stereo set
180-198 Note LINK
199-217 Pitch
218-223 Brightnes negative
224-230 (de-)Tune
231-236 Brightnes positive
237 Sustain
238 Modulation (Frequency!)
237-242 Free
243-255 Crunched Line data (Empty steps)
Link: 180 -> L-9

189 -> L+0 198 -> L+9

Pitch: 199 -> P-9

208 -> P+0 217 -> P+9

(de)tune: 224 -> T-3

227 -> T+0 230 -> T+3


Case: パターンデータとコマンドチャンネル

Data Description
000 Empty
001-023 Change Tempo
024 End Of Pattern
025-027 Change Drumset MSX-MUSIC
028-039 Set status-byte
049-... Transpose

Case:チャンネルバッファとリプレイヤ

      > Case: Channel buffer, at replayer
IY+00 Note nr.
+01 MSX-AUDIO frequency
+03 MSX-MUSIC frequency
+05 .
+06 Frequency mode: 0, normal. 1, pitch. 2, modulation
+07 .
+09 Tuning
+0A Instrument
+0B .
+0E Pitch value
+0F ,, ,, 0, positive. -1, negative.
+10 MSX-AUDIO基本周波数
+12 MSX-MUSIC ,, ,,
+14 MSX-AUDIOブライトネス
+15 .
+16 MSX-AUDIOボリューム
+17 .
+18 Value of last OPL register (MSX-AUDIO)

MBK (Sample Kit)

Ext.name: *.MBK (Sample Kit) Length: 56 bytes (hdr) + 32k. ADPCM data Type: Data Contains: Sample start addresses and ADPCM samples

これらはMoonblasterではいわゆるドラムキットと呼ばれます。サウンドトラッカーのファイル以外は(ヘッダを除き)32kBのファイルです。

      header:
      00-56	   サンプルスタートアドレス (サンプルごとに16 bit、全14 サンプル)
      data:
      57-xxxx	   ADPCM data

バージョン1.4ではファイルは常に56+32k byteの長さになります! (標準的な 32k ADPCM ファイル)