Module moa_peripherals_yamaha::ym2612

source ·
Expand description

Emulate the YM2612 FM Sound Synthesizer (used by the Sega Genesis)

This implementation is mostly based on online references to the YM2612’s registers and their function, forum posts that describe the details of operation of the chip, and looking at source code that emulates the chip. It is still very much a work in progress

Resources:

Structs§

Enums§

Constants§

Functions§

  • get_ch 🔒
  • get_ch_op 🔒
    Get the channel and operator to target with a given register number and bank number. Bank 0 refers to operators for channels 1-3, and bank 1 refers to operators for channels 4-6.
  • get_index 🔒
  • Generate the keycode required for detune calculations using the block and fnumber

Type Aliases§