C# Class FamiStudio.FamitrackerFileBase

Show file Open project: BleuBleu/FamiStudio

Protected Properties

Property Type Description
ChanIdLookup int[]
EffectToTextLookup char>.Dictionary
EnvelopeTypeLookup int[]
FdsTextToEffectLookup int>.Dictionary
InstrumentTypeLookup int[]
ReverseEnvelopeTypeLookup int[]
TextToEffectLookup byte>.Dictionary
VibratoSpeedExportLookup int[]
VibratoSpeedImportLookup int[]
barLength int
patternFxData Dictionary
patternLengths byte>.Dictionary
project Project

Protected Methods

Method Description
ApplyHaltEffect ( FamiStudio.Song s, Dictionary patternFxData ) : void
ApplySimpleEffects ( RowFxData fx, FamiStudio.Pattern pattern, int n, Dictionary patternLengths, bool allowSongEffects ) : void
ConvertExpansionAudio ( int exp ) : int
CreateUniquelyNamedInstrument ( int expansion, string baseName ) : FamiStudio.Instrument
CreateUniquelyNamedSampleFromDmcData ( string baseName, Array data ) : FamiStudio.DPCMSample
CreateUniquelyNamedSong ( string baseName ) : FamiStudio.Song
FinishImport ( ) : bool
GetOrCreateArpeggio ( int param ) : FamiStudio.Arpeggio
PrintAdditionalWarnings ( ) : void
RenameInstrumentEnsureUnique ( Instrument instrument, string baseName ) : void

Private Methods

Method Description
CreateArpeggios ( FamiStudio.Song s, Dictionary patternFxData ) : void
CreateSlideNotes ( FamiStudio.Song s, Dictionary patternFxData ) : void
FindBestMatchingNote ( Array noteTable, int pitch, int sign ) : int
FindNextSlideEffect ( FamiStudio.Channel channel, NoteLocation location, NoteLocation &nextLocation, Dictionary patternFxData ) : bool
FindPrevNoteForPortamento ( FamiStudio.Channel channel, int patternIdx, int noteIdx, Dictionary patternFxData ) : int
GetPatternString ( FamiStudio.Pattern pattern, int n ) : string

Method Details

ApplyHaltEffect() protected method

protected ApplyHaltEffect ( FamiStudio.Song s, Dictionary patternFxData ) : void
s FamiStudio.Song
patternFxData Dictionary
return void

ApplySimpleEffects() protected method

protected ApplySimpleEffects ( RowFxData fx, FamiStudio.Pattern pattern, int n, Dictionary patternLengths, bool allowSongEffects ) : void
fx RowFxData
pattern FamiStudio.Pattern
n int
patternLengths Dictionary
allowSongEffects bool
return void

ConvertExpansionAudio() protected method

protected ConvertExpansionAudio ( int exp ) : int
exp int
return int

CreateUniquelyNamedInstrument() protected method

protected CreateUniquelyNamedInstrument ( int expansion, string baseName ) : FamiStudio.Instrument
expansion int
baseName string
return FamiStudio.Instrument

CreateUniquelyNamedSampleFromDmcData() protected method

protected CreateUniquelyNamedSampleFromDmcData ( string baseName, Array data ) : FamiStudio.DPCMSample
baseName string
data Array
return FamiStudio.DPCMSample

CreateUniquelyNamedSong() protected method

protected CreateUniquelyNamedSong ( string baseName ) : FamiStudio.Song
baseName string
return FamiStudio.Song

FinishImport() protected method

protected FinishImport ( ) : bool
return bool

GetOrCreateArpeggio() protected method

protected GetOrCreateArpeggio ( int param ) : FamiStudio.Arpeggio
param int
return FamiStudio.Arpeggio

PrintAdditionalWarnings() protected method

protected PrintAdditionalWarnings ( ) : void
return void

RenameInstrumentEnsureUnique() protected method

protected RenameInstrumentEnsureUnique ( Instrument instrument, string baseName ) : void
instrument Instrument
baseName string
return void

Property Details

ChanIdLookup protected static property

protected static int[] ChanIdLookup
return int[]

EffectToTextLookup static protected property

static protected Dictionary EffectToTextLookup
return char>.Dictionary

EnvelopeTypeLookup protected static property

protected static int[] EnvelopeTypeLookup
return int[]

FdsTextToEffectLookup static protected property

static protected Dictionary FdsTextToEffectLookup
return int>.Dictionary

InstrumentTypeLookup protected static property

protected static int[] InstrumentTypeLookup
return int[]

ReverseEnvelopeTypeLookup protected static property

protected static int[] ReverseEnvelopeTypeLookup
return int[]

TextToEffectLookup static protected property

static protected Dictionary TextToEffectLookup
return byte>.Dictionary

VibratoSpeedExportLookup protected static property

protected static int[] VibratoSpeedExportLookup
return int[]

VibratoSpeedImportLookup protected static property

protected static int[] VibratoSpeedImportLookup
return int[]

barLength protected property

protected int barLength
return int

patternFxData protected property

protected Dictionary patternFxData
return Dictionary

patternLengths protected property

protected Dictionary patternLengths
return byte>.Dictionary

project protected property

protected Project project
return Project