Instrument chunk (of a Wave file)

When a wave file is used as wave samples in a MIDI synthesizer, the instrument chunk helps the MIDI synthesizer define the sample pitch and relative volume of the samples.

The instrument chunk has the following structure.

Byte sequence description Length in bytes Starts at byte in the chunk Value
chunk ID 4 0x00 The ASCII character string "inst"
size 4 0x04 The size of the chunk less 8 (less the "chunk ID" and the "size")
unshifted note 1 0x08 The MIDI note that corresponds to the original (unshifted) pitch of the sample. This value is between 0 to 127 (see MIDI Note On message)
fine tuning 1 0x09 Fine tuning of the pitch in cents. Values are between -50 to 50
gain 1 0x0A The volume setting (suggested) for the sample in decibels
low note 1 0x0B The lowest usable MIDI note for the sample (suggested). This value is between 0 and 127
high note 1 0x0C The highest usable MIDI note for the sample (suggested). This value is between 0 and 127
low velocity 1 0x0D The lowest usable MIDI velocity for the sample (suggested). This value is between 0 and 127 (see MIDI Note On message)
high velocity 1 0x0E The highest usable MIDI velocity for the sample (suggested). This value is between 0 and 127

See also:
Wave file format

Add new comment

Filtered HTML

  • Freelinking helps you easily create HTML links. Links take the form of [[indicator:target|Title]]. By default (no indicator): Click to view a local node.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.

Plain text

  • No HTML tags allowed.
  • Web page addresses and e-mail addresses turn into links automatically.
  • Lines and paragraphs break automatically.
CAPTCHA
This question is for testing whether or not you are a human visitor and to prevent automated spam submissions.
Image CAPTCHA
Enter the characters shown in the image.