C# Class RocksmithToolkitLib.Sng2014HSL.Sng2014FileWriter

Show file Open project: rscustom/rocksmith-custom-song-toolkit Class Usage Examples

Public Methods

Method Description
GetMidiNote ( Int16 tuning, Byte str, Byte fret, bool bass, int capo ) : Int32
GetMidiNote ( Int16 tuning, Byte str, Byte fret, bool bass, int capo, bool template = false ) : Int32
ReadSong ( Song2014 songXml, Sng2014File sngFile ) : void
ReadVocals ( string xmlFile, string cdata = null ) : Sng2014File
addChordNotes ( Sng2014File sng, SongChord2014 chord ) : Int32
getChordNote ( Int16 tuning, SongChord2014 crd, SongChordTemplate2014 handShape, bool bass, int capo ) : Int32

Showlights only.

readString ( string From, Byte To ) : void

Private Methods

Method Description
getIngoreCount ( Song2014 xml ) : Int32

Counts total ignore statuses for notes and chords.

getMaxDifficulty ( Song2014 xml ) : Int32
getNoteCount ( Sng2014File sng, int Level ) : int
getPhraseIterationId ( Song2014 xml, float time, bool end ) : Int32
numberNotes ( Sng2014File sng, Notes notes ) : void

Sign notes with fret number. (each 8 notes)

parseActions ( Song2014 xml, Sng2014File sng ) : void
parseArrangements ( Song2014 xml, Sng2014File sng ) : void
parseBendData ( SongNote2014 note, bool single ) : BendData32[]
parseChord ( Song2014 xml, Sng2014File sng, SongChord2014 chord, Notes n, Int32 chordNotesId ) : void
parseChordNotes ( Song2014 xml, Sng2014File sng ) : void
parseChords ( Song2014 xml, Sng2014File sng, Int16 tuning, bool bass ) : void
parseDNAs ( Song2014 xml, Sng2014File sng ) : void
parseEbeats ( Song2014 xml, Sng2014File sng ) : void
parseEvents ( Song2014 xml, Sng2014File sng ) : void
parseMetadata ( Song2014 xml, Sng2014File sng, Int16 tuning ) : void
parseNLD ( Song2014 xml, Sng2014File sng ) : void
parseNote ( Song2014 xml, SongNote2014 note, Notes n, Notes prev ) : void
parseNoteMask ( SongNote2014 note, bool single ) : UInt32
parsePhraseExtraInfo ( Song2014 xml, Sng2014File sng ) : void
parsePhraseIterations ( Song2014 xml, Sng2014File sng ) : void
parsePhrases ( Song2014 xml, Sng2014File sng ) : void
parseSections ( Song2014 xml, Sng2014File sng ) : void
parseTones ( Song2014 xml, Sng2014File sng ) : void
parseVocals ( Vocals xml, Sng2014File sng ) : void

Method Details

GetMidiNote() public static method

public static GetMidiNote ( Int16 tuning, Byte str, Byte fret, bool bass, int capo ) : Int32
tuning System.Int16
str Byte
fret Byte
bass bool
capo int
return System.Int32

GetMidiNote() public static method

public static GetMidiNote ( Int16 tuning, Byte str, Byte fret, bool bass, int capo, bool template = false ) : Int32
tuning System.Int16
str Byte
fret Byte
bass bool
capo int
template bool
return System.Int32

ReadSong() public method

public ReadSong ( Song2014 songXml, Sng2014File sngFile ) : void
songXml RocksmithToolkitLib.Xml.Song2014
sngFile Sng2014File
return void

ReadVocals() public static method

public static ReadVocals ( string xmlFile, string cdata = null ) : Sng2014File
xmlFile string
cdata string
return Sng2014File

addChordNotes() public method

public addChordNotes ( Sng2014File sng, SongChord2014 chord ) : Int32
sng Sng2014File
chord RocksmithToolkitLib.Xml.SongChord2014
return System.Int32

getChordNote() public static method

Showlights only.
public static getChordNote ( Int16 tuning, SongChord2014 crd, SongChordTemplate2014 handShape, bool bass, int capo ) : Int32
tuning System.Int16
crd RocksmithToolkitLib.Xml.SongChord2014
handShape RocksmithToolkitLib.Xml.SongChordTemplate2014
bass bool
capo int
return System.Int32

readString() public static method

public static readString ( string From, Byte To ) : void
From string
To Byte
return void