public override string ToString() { string res = "\n"; if (patternRows[0] != null) { string ln = "===="; for (int i = 0; i < patternRows[0].patternChannels.Count; i++) { ln += "==========="; } res += ln + "\n"; for (int i = 0; i < patternRows.Count; i++) { res += ModuleUtils.GetAsHex((uint)i, 2) + ":|" + patternRows[i] + "\n"; } res += ln + "\n"; } else { res += "empty pattern\n"; } return(res); }
public override string ToString() { string res = "\n"; res += "\n" + "headerLength : " + headerLength; res += "\n" + "packingType : " + packingType; res += "\n" + "numberOfRows : " + numberOfRows; res += "\n" + "packedSize : " + packedSize; res += "\n"; if (patternRows[0] != null) { string ln = "===="; for (int i = 0; i < patternRows[0].patternChannels.Count; i++) { ln += "==============="; } res += ln + "\n"; for (int i = 0; i < patternRows.Count; i++) { res += ModuleUtils.GetAsHex((uint)i, 2) + ":|" + patternRows[i] + "\n"; } res += ln + "\n"; } else { res += "empty pattern\n"; } return(res); }
public override string ToString() { string res = ModuleConst.GetNoteNameToIndex((int)noteIndex); res += ((period == 0 && noteIndex != 0) || (period != 0 && noteIndex == 0)) ? "!" : " "; res += (instrumentIndex != 0) ? ModuleUtils.GetAsHex(instrumentIndex, 2) : ".."; res += " "; res += ((effekt != 0) || (effektOp != 0)) ? ModuleUtils.GetAsHex(effekt, 1) + ModuleUtils.GetAsHex(effektOp, 2) : "..."; return(res); }
public override string ToString() { string res = GetNoteNameToIndex(noteIndex); //res += ((period == 0 && noteIndex != 0) || (period != 0 && noteIndex == 0)) ? "!" : " "; res += " " + ((instrumentIndex != 0) ? ModuleUtils.GetAsDec(instrumentIndex, 2) : ".."); res += " " + getVolumeEffectString(volumeEffect) + " "; res += ((effekt != 0) && (effekt < 34)) ? effectStrings[effekt] + ModuleUtils.GetAsHex(effektOp, 2) : "..."; return(res); }
public string InstrumentsToString() { string res = "Samples info : \n"; int i = 0; foreach (MOD_Instrument inst in Instruments.List) { res += ModuleUtils.GetAsHex((uint)i++, 2) + ':' + inst.ToString() + "\n"; } return(res); }