; Note info
 GET TimLib:hdr.Streams

                        ^ 0
note_stream             # size_stream
note_previous           # 4
note_next               # 4
note_pchannel           # 4
note_pinstrument        # 4 ; pointer to instrument descriptor block or NULL
note_psample            # 4 ; pointer to sample descriptor block or NULL
note_finetune           # 4 ; sample finetune in 1/256 semitone
note_ch_pitch           # 4 ; pitch in 1/256 semitone, before envelope/vibrato
note_ch_volume          # 4 ; before envelope/fading
note_ch_panning         # 4 ; before envelope
note_inst_volume        # 4 ; sample scale volume amended by volume swing
note_pitch              # 4 ; pitch, finally converted freq multiplier in 1/65536
note_volume             # 4 ; [0-65536]
note_panning            # 4 ; [0-256], 384 for surround
note_frequency          # 4 ; in Hz
note_smp_vibr_rdepth    # 3 ; running depth of sample vibrato
note_smp_vibr_pos       # 1 ; current pos within vibrato envelope
note_inst_nr            # 1 ; instrument number
note_inst_note          # 1 ; instrument note
note_smp_nr             # 1 ; sample number
note_inst_flags         # 1 ; instrument flags
note_vol_envelope_pos   # 4 ; pos in volume envelope
note_pan_envelope_pos   # 4 ; pos in panning envelope
note_pitch_envelope_pos # 4 ; pos in pitch envelope
note_filter_envelope_pos # 4 ; pos in resonant filter envelope
note_fadeout_volume     # 4 ; 65536 in sustain mode, then decrease by instrument fadeout
note_envelope_volume    # 4 ;  [0, 256]
note_new_volume         # 4 ; new volume to obtain after ramping     | [0 ... 65536 ...]
note_old_volume         # 4 ; volume before ramping                  | [0 ... 65536 ...]
note_new_panning        # 4 ; new panning to obtain after ramping    |
note_old_panning        # 4 ; panning before ramping                 | don't change
note_new_frequency      # 4 ; new frequency to obtain after ramping  |
note_old_frequency      # 4 ; frequency before ramping               |
note_newnoteaction      # 1
note_resonance          # 1
note_cutoff             # 1
note_envelope_flags     # 1 ; envelopes flags
note_realcutoff         # 4 ; cutoff * 256 * (filter env / 64)
note_frame_count        # 4
size_note               # 0

note_inst_flag_sustain      * &01 ; note sustain mode is active
note_inst_flag_invert       * &02 ; use sample backwards
note_inst_flag_forceloop    * &04 ; force sample loop from flags below
note_inst_flag_loop         * &08 ; = smp_type_loop, forced setting
note_inst_flag_loop_bidi    * &10 ; = smp_type_loop_bidi, forced setting
note_inst_flag_fadeout      * &40 ; note is in fadeout phase
note_inst_default_flags     * &01

note_envelope_flag_vol      * &01 ; use volume envelope if present
note_envelope_flag_pan      * &02 ; use panning envelope if present
note_envelope_flag_pitch    * &04 ; use pitch envelope if present
note_envelope_flag_filter   * &08 ; use filter envelope if present

 END
