C# Class RocksmithToolkitLib.Song2014ToTab.Rs1Converter

Inheritance: IDisposable
ファイルを表示 Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Public Methods

Method Description
AverageBPM ( RocksmithToolkitLib.Xml.Song rsSong ) : float
Dispose ( ) : void
SngFilePathToAsciiTab ( string inputFilePath, string outputDir, bool allDif ) : void

SngFilePath to ASCII Tablature

Song2SngFile ( RocksmithToolkitLib.Xml.Song rs1Song, string outputDir ) : RocksmithToolkitLib.Sng.SngFile

Converts RS1 Song Object to RS1 SngFile Object

SongFile2Song2014File ( string songFilePath, bool overWrite ) : string
SongToSngFilePath ( RocksmithToolkitLib.Xml.Song rs1Song, string outputPath ) : string

Converts RS1 Song Object to *.sng File

SongToSong2014 ( RocksmithToolkitLib.Xml.Song rsSong ) : Song2014

Convert RS1 Song Object to RS2 Song2014 Object RS1 to RS2014 Mapping Method

SongToXml ( RocksmithToolkitLib.Xml.Song rsSong, string outputPath, bool overWrite ) : string

Convert RS1 Song Object to XML file

ToneToTone2014 ( RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone rs1Tone, RocksmithToolkitLib.Xml.Song rs1Song ) : RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone2014
XmlToSong ( string xmlFilePath ) : RocksmithToolkitLib.Xml.Song

Convert XML file to RS1 (Song)

Private Methods

Method Description
ConvertChordTemplates ( RocksmithToolkitLib.Xml.Song rsSong, Song2014 rsSong2014 ) : Song2014
ConvertLevels ( RocksmithToolkitLib.Xml.Song rsSong, Song2014 rsSong2014 ) : Song2014
ConvertPhraseIterations ( RocksmithToolkitLib.Xml.Song rsSong, Song2014 rsSong2014 ) : Song2014
DecodeChordTemplate ( RocksmithToolkitLib.Xml.SongChord songChord, int gString, int fret ) : SongNote2014
GetNoteInfo ( RocksmithToolkitLib.Xml.SongNote songNote ) : SongNote2014

Method Details

AverageBPM() public method

public AverageBPM ( RocksmithToolkitLib.Xml.Song rsSong ) : float
rsSong RocksmithToolkitLib.Xml.Song
return float

Dispose() public method

public Dispose ( ) : void
return void

SngFilePathToAsciiTab() public method

SngFilePath to ASCII Tablature
public SngFilePathToAsciiTab ( string inputFilePath, string outputDir, bool allDif ) : void
inputFilePath string
outputDir string
allDif bool
return void

Song2SngFile() public method

Converts RS1 Song Object to RS1 SngFile Object
public Song2SngFile ( RocksmithToolkitLib.Xml.Song rs1Song, string outputDir ) : RocksmithToolkitLib.Sng.SngFile
rs1Song RocksmithToolkitLib.Xml.Song
outputDir string
return RocksmithToolkitLib.Sng.SngFile

SongFile2Song2014File() public method

public SongFile2Song2014File ( string songFilePath, bool overWrite ) : string
songFilePath string
overWrite bool
return string

SongToSngFilePath() public method

Converts RS1 Song Object to *.sng File
public SongToSngFilePath ( RocksmithToolkitLib.Xml.Song rs1Song, string outputPath ) : string
rs1Song RocksmithToolkitLib.Xml.Song
outputPath string
return string

SongToSong2014() public method

Convert RS1 Song Object to RS2 Song2014 Object RS1 to RS2014 Mapping Method
public SongToSong2014 ( RocksmithToolkitLib.Xml.Song rsSong ) : Song2014
rsSong RocksmithToolkitLib.Xml.Song
return RocksmithToolkitLib.Xml.Song2014

SongToXml() public method

Convert RS1 Song Object to XML file
public SongToXml ( RocksmithToolkitLib.Xml.Song rsSong, string outputPath, bool overWrite ) : string
rsSong RocksmithToolkitLib.Xml.Song
outputPath string
overWrite bool
return string

ToneToTone2014() public method

public ToneToTone2014 ( RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone rs1Tone, RocksmithToolkitLib.Xml.Song rs1Song ) : RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone2014
rs1Tone RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone
rs1Song RocksmithToolkitLib.Xml.Song
return RocksmithToolkitLib.DLCPackage.Manifest.Tone.Tone2014

XmlToSong() public method

Convert XML file to RS1 (Song)
public XmlToSong ( string xmlFilePath ) : RocksmithToolkitLib.Xml.Song
xmlFilePath string
return RocksmithToolkitLib.Xml.Song