enum Yuno::ChipType

Overview

Represents the type of a single chip. The numerical value associated with one of these values will always match the CHIP_ID of the chips.

Defined in:

yunosynth/common.cr

Enum Members

Sn76489 = 0

Texas Instruments SN76489

Ym2413 = 1

Yamaha YM2413 (OPLL)

Ym2612 = 2

Yamaha YM2612 (OPN2)

Ym2151 = 3

Yamaha YM2151 (OPM)

SegaPcm = 4

Sega SegaPCM (315-5218)

Rf5c68 = 5

Ricoh RF5C69 (aka RF5C164, RF5C105). RF5C164 has a separate entry.

Ym2203 = 6

Yamaha YM2203 (OPN)

Ym2608 = 7

Yamaha YM2608 (OPNA)

Ym2610 = 8

Yamaha YM2610 and YM2610B (OPNB)

Ym3812 = 9

Yamaha YM3812 (OPL2)

Ym3526 = 10

Yamaha YM3526 (OPL)

Y8950 = 11

Yamaha Y8950 (MSX-Audio)

Ymf262 = 12

Yamaha YMF262 (OPL3)

Ymf278b = 13

Yamaha YMF278B (OPL4)

Ymf271 = 14

Yamaha YMF271 (OPX)

Ymz280b = 15

Yamaha YMZ280B (PCMD8)

Rf5c164 = 16

Ricoh RF5C164

Pwm = 17

Sega PWM (32x)

Ay8910 = 18

General Instruments AY-1-8910 / AY-3-8910 / AY-3-8912 / AY-3-8913 / Yamaha YM2149 / Yamaha YM2149F

Dmg = 19

Nintendo DMG (GameBoy/GameBoy Color)

NesApu = 20

Nintendo APU (NES)

MultiPcm = 21

Sega MultiPCM / Yamaha YMW258-F

Upd7759 = 22

NEC µPD7759

Okim6258 = 23

OKI M6258

Okim6295 = 24

OKI M6295

K051649 = 25

Konami 051649

K054539 = 26

Konami 054539

Huc6280 = 27

Hudson HuC6280

C140 = 28

Namco C140 / C219

K053260 = 29

Konami 053260

Pokey = 30

Atari POKEY

Qsound = 31

QSound DSP16A (Capcom CP System II)

Scsp = 32

Sega Saturn Custom Sound Processor / Yamaha YMF292

Wonderswan = 33

Bandai Wonderswan/Wonderswan Color

VsuVue = 34

Nintendo VSU-VUE (Virtual Boy)

Saa1099 = 35

Philips SAA1099

Es5503 = 36

Ensoniq ES5503

Es5506 = 37

Ensoniq ES5506

C352 = 38

Namco C352

X1_010 = 39

Sega X1-010

Ga20 = 40

Irem GA20

Unknown = 255

A special value indicating an uninitialized value.

Instance Method Summary

Instance Method Detail

def ay8910? #

[View source]
def c140? #

[View source]
def c352? #

[View source]
def dmg? #

[View source]
def es5503? #

[View source]
def es5506? #

[View source]
def ga20? #

[View source]
def huc6280? #

[View source]
def k051649? #

[View source]
def k053260? #

[View source]
def k054539? #

[View source]
def makeInstance(curCount : Int32, absChipCount : Int32, vgm : VgmFile, sampleRate : UInt32, samplingMode : UInt8, playerSampleRate : UInt32, settings : VgmPlayerSettings) : AbstractChip | Nil #

Creates a new AbstractChip instance of the type that is represented by self.


[View source]
def multi_pcm? #

[View source]
def nes_apu? #

[View source]
def niceName : String #

Returns the long name of this ChipType as a string.

Note: for the most accurate name when using a VGM file, instantiating a chip instance and using the AbstractChip#name method will be much more accurate. This is because some chips have a different name depending on what they were used for, and this can only be determined after parsing the VGM."


[View source]
def okim6258? #

[View source]
def okim6295? #

[View source]
def pokey? #

[View source]
def pwm? #

[View source]
def qsound? #

[View source]
def rf5c164? #

[View source]
def rf5c68? #

[View source]
def saa1099? #

[View source]
def scsp? #

[View source]
def sega_pcm? #

[View source]
def shortName : String #

Returns the short name of this ChipType as a string.

Note: for the most accurate name when using a VGM file, instantiating a chip instance and using the AbstractChip#shortName method will be much more accurate. This is because some chips have a different name depending on what they were used for, and this can only be determined after parsing the VGM."


[View source]
def sn76489? #

[View source]
def unknown? #

[View source]
def upd7759? #

[View source]
def vsu_vue? #

[View source]
def wonderswan? #

[View source]
def x1_010? #

[View source]
def y8950? #

[View source]
def ym2151? #

[View source]
def ym2203? #

[View source]
def ym2413? #

[View source]
def ym2608? #

[View source]
def ym2610? #

[View source]
def ym2612? #

[View source]
def ym3526? #

[View source]
def ym3812? #

[View source]
def ymf262? #

[View source]
def ymf271? #

[View source]
def ymf278b? #

[View source]
def ymz280b? #

[View source]