예제 #1
0
 public override string ToString()
 {
     return(String.Format(" [ {0} ]\n {1}{2} {3} >{4} {5}> Nr.:{6} f:{7}Hz\n", time.ToString(), name, octave, length.musical, velocity, velocityOff, midiNumber, frequency));
 }
예제 #2
0
        public override string ToString()
        {
            string timeSigRow = "";

            foreach (var t in timeSignatures)
            {
                timeSigRow += t.ToString() + "\n\n";
            }

            string trRow = "";

            foreach (var tr in tracks)
            {
                trRow += tr.ToString() + "\n";
            }
            string tempoRow = "";

            foreach (var temp in tempo)
            {
                tempoRow += temp.ToString() + "\n";
            }

            return(String.Format("Title: {0} \nMidiformat: {1} \nTime Division: {2} \nDuration: {3}\n{4}\n{5}\n{6}", title, midiFormat, timeDivision, duration.ToString(), tempoRow, timeSigRow, trRow));
        }
예제 #3
0
 public override string ToString()
 {
     return(String.Format("[ {0} ]\nTime Signature: {1}, {2}, {3}", time.ToString(), metrum, clocksPerCklicks, thirtySecondNotesPerBeat));
 }
예제 #4
0
 public override string ToString()
 {
     return(String.Format("[ {0} ]\n {1}", time.ToString(), value));
 }