C# Class mml2vgm.clsVgm

显示文件 Open project: kuma4649/mml2vgm Class Usage Examples

Public Properties

Property Type Description
Composer string
ComposerJ string
Converted string
GameName string
GameNameJ string
Notes string
OPN_FNumTbl_7670454 int[]
OPN_FNumTbl_8000000 int[]
ReleaseDate string
SystemName string
SystemNameJ string
TitleName string
TitleNameJ string
Version float
aliesData Dictionary>
chips List
instENV int[]>.Dictionary
instFM byte[]>.Dictionary
instPCM clsPcm>.Dictionary
lClock long
lSample long
lineNumber int
monoPart List
note string
partData Dictionary>>
pcmMTbl float[]
psgFNumTbl int[]
rf5c164 mml2vgm.RF5C164[]
sn76489 SN76489[]
ssgFNumTbl_8000000 int[]
ym2610b YM2610B[]
ym2612 YM2612[]

Public Methods

Method Description
analyze ( string buf ) : int
clsVgm ( ) : System
getByteData ( ) : byte[]

Private Methods

Method Description
addAlies ( string buf, int lineNumber ) : int
addInformation ( string buf, int lineNumber ) : int
addInstrument ( string buf, int lineNumber ) : int
addPart ( string buf, int lineNumber ) : int
canUsePCM ( enmChipType chipNumber ) : bool
checkEnvelopeVolumeRange ( int lineNumber, int env, int i, int max, int min ) : void
checkRange ( int n, int min, int max ) : int
cmdClockLength ( partWork pw ) : void
cmdDetune ( partWork pw ) : void
cmdEnvelope ( partWork pw ) : void
cmdGatetime ( partWork pw ) : void
cmdGatetime2 ( partWork pw ) : void
cmdInstrument ( partWork pw ) : void
cmdKeyShift ( partWork pw ) : void
cmdLength ( partWork pw ) : void
cmdLfo ( partWork pw ) : void
cmdLfoSwitch ( partWork pw ) : void
cmdLoop ( partWork pw ) : void
cmdMixer ( partWork pw ) : void
cmdMode ( partWork pw ) : void
cmdNoise ( partWork pw ) : void
cmdNote ( partWork pw, char cmd ) : void
cmdOctave ( partWork pw ) : void
cmdOctaveDown ( partWork pw ) : void
cmdOctaveUp ( partWork pw ) : void
cmdPan ( partWork pw ) : void
cmdRepeatEnd ( partWork pw ) : void
cmdRepeatExit ( partWork pw ) : void
cmdRepeatStart ( partWork pw ) : void
cmdTempo ( partWork pw ) : void
cmdTotalVolume ( partWork pw ) : void
cmdVolume ( partWork pw ) : void
cmdVolumeDown ( partWork pw ) : void
cmdVolumeUp ( partWork pw ) : void
cmdY ( partWork pw ) : void
commander ( partWork pw, char cmd ) : void
convertFtoM ( byte instrumentBufCache ) : byte[]
divInt2ByteAry ( int n ) : byte[]
divParts ( string parts ) : List
envelope ( partWork pw ) : void
getAdpcmBFNum ( int octave, char noteCmd, int shift ) : int
getChMax ( string a ) : int
getChipNumber ( string chipN ) : enmChipType
getFmFNum ( int ftbl, int octave, char noteCmd, int shift ) : int
getPcmNote ( partWork pw ) : void
getPsgFNum ( int octave, char noteCmd, int shift ) : int
getRf5c164PcmNote ( int octave, char noteCmd, int shift ) : int
getSsgFNum ( int octave, char noteCmd, int shift ) : int
makeFooter ( ) : void
makeHeader ( ) : void
outAdpcmBKeyOff ( partWork pw ) : void
outAdpcmBKeyOn ( partWork pw ) : void
outFmAdrPort ( byte port, byte address, byte data ) : void
outFmAllKeyOff ( clsChip chip ) : void
outFmCh3SpecialModeSetFnum ( partWork pw, byte ope, int octave, int num ) : void
outFmKeyOff ( partWork pw ) : void
outFmKeyOn ( partWork pw ) : void
outFmSetAmDr ( partWork pw, int ope, int am, int dr ) : void
outFmSetDtMl ( partWork pw, int ope, int dt, int ml ) : void
outFmSetFeedbackAlgorithm ( partWork pw, int fb, int alg ) : void
outFmSetFnum ( partWork pw, int octave, int num ) : void
outFmSetInstrument ( partWork pw, int n, int vol ) : void
outFmSetKsAr ( partWork pw, int ope, int ks, int ar ) : void
outFmSetSSGEG ( partWork pw, int ope, int n ) : void
outFmSetSlRr ( partWork pw, int ope, int sl, int rr ) : void
outFmSetSr ( partWork pw, int ope, int sr ) : void
outFmSetTl ( partWork pw, int ope, int tl ) : void
outFmSetVolume ( partWork pw, int vol, int n ) : void

FMボリュームの設定

outOPNSetCh3SpecialMode ( partWork pw, bool sw ) : void
outOPNSetHardLfo ( partWork pw, bool sw, int lfoNum ) : void
outOPNSetPanAMSFMS ( partWork pw, int pan, int ams, int fms ) : void
outPsgKeyOff ( partWork pw ) : void
outPsgKeyOn ( partWork pw ) : void
outPsgPort ( bool isSecondary, byte data ) : void
outRf5c164KeyOff ( partWork pw ) : void
outRf5c164KeyOn ( partWork pw ) : void
outRf5c164Port ( bool isSecondary, byte adr, byte data ) : void
outSsgKeyOff ( partWork pw ) : void
outSsgKeyOn ( partWork pw ) : void
outSsgNoise ( partWork pw, int n ) : void
outWait735Samples ( int repeatCount ) : void
outWait882Samples ( int repeatCount ) : void
outWaitNSamples ( long n ) : void
outWaitNSamplesWithPCMSending ( partWork cpw, long cnt ) : void
outYM2612SetCh6PCMMode ( partWork pw, bool sw ) : void
partInit ( ) : void
procBend ( partWork pw ) : void
procEnvelope ( partWork pw ) : void
procKeyOff ( partWork pw ) : void
procLfo ( partWork cpw ) : void
setAdpcmBFNum ( partWork pw ) : void
setAdpcmBPan ( partWork pw, int pan ) : void
setAdpcmBVolume ( partWork pw ) : void
setEnvelopParamFromInstrument ( partWork pw ) : int
setEnvelopeAtKeyOn ( partWork pw ) : void
setFmFNum ( partWork pw ) : void
setFmF_NumTbl ( string val ) : void
setFmVolume ( partWork pw ) : void
setInstrument ( string vals, int lineNumber ) : int
setLfoAtKeyOn ( partWork pw ) : void
setMonoPart ( string val ) : void
setPsgFNum ( partWork pw ) : void
setPsgF_NumTbl ( string val, int oct ) : void
setPsgVolume ( partWork pw ) : void
setRf5c164AddressIncrement ( partWork pw, int f ) : void
setRf5c164CurrentChannel ( partWork pw ) : void
setRf5c164Envelope ( partWork pw, int volume ) : void
setRf5c164FNum ( partWork pw ) : void
setRf5c164LoopAddress ( partWork pw, int adr ) : void
setRf5c164Pan ( partWork pw, int pan ) : void
setRf5c164SampleStartAddress ( partWork pw, int adr ) : void
setRf5c164Volume ( partWork pw ) : void
setSsgFNum ( partWork pw ) : void
setSsgVolume ( partWork pw ) : void
setYM2610BADPCMAAddress ( partWork pw, int startAdr, int endAdr ) : void
setYM2610BADPCMBAddress ( partWork pw, int startAdr, int endAdr ) : void

Method Details

analyze() public method

public analyze ( string buf ) : int
buf string
return int

clsVgm() public method

public clsVgm ( ) : System
return System

getByteData() public method

public getByteData ( ) : byte[]
return byte[]

Property Details

Composer public_oe property

public string Composer
return string

ComposerJ public_oe property

public string ComposerJ
return string

Converted public_oe property

public string Converted
return string

GameName public_oe property

public string GameName
return string

GameNameJ public_oe property

public string GameNameJ
return string

Notes public_oe property

public string Notes
return string

OPN_FNumTbl_7670454 public_oe property

public int[] OPN_FNumTbl_7670454
return int[]

OPN_FNumTbl_8000000 public_oe property

public int[] OPN_FNumTbl_8000000
return int[]

ReleaseDate public_oe property

public string ReleaseDate
return string

SystemName public_oe property

public string SystemName
return string

SystemNameJ public_oe property

public string SystemNameJ
return string

TitleName public_oe property

public string TitleName
return string

TitleNameJ public_oe property

public string TitleNameJ
return string

Version public_oe property

public float Version
return float

aliesData public_oe property

public Dictionary> aliesData
return Dictionary>

chips public_oe property

public List chips
return List

instENV public_oe property

public Dictionary instENV
return int[]>.Dictionary

instFM public_oe property

public Dictionary instFM
return byte[]>.Dictionary

instPCM public_oe property

public Dictionary instPCM
return clsPcm>.Dictionary

lClock public_oe property

public long lClock
return long

lSample public_oe property

public long lSample
return long

lineNumber public_oe property

public int lineNumber
return int

monoPart public_oe property

public List monoPart
return List

note public_oe property

public string note
return string

partData public_oe property

public Dictionary>> partData
return Dictionary>>

pcmMTbl public_oe property

public float[] pcmMTbl
return float[]

psgFNumTbl public_oe property

public int[] psgFNumTbl
return int[]

rf5c164 public_oe property

public RF5C164[],mml2vgm rf5c164
return mml2vgm.RF5C164[]

sn76489 public_oe property

public SN76489[] sn76489
return SN76489[]

ssgFNumTbl_8000000 public_oe property

public int[] ssgFNumTbl_8000000
return int[]

ym2610b public_oe property

public YM2610B[] ym2610b
return YM2610B[]

ym2612 public_oe property

public YM2612[] ym2612
return YM2612[]