Exemplo n.º 1
0
        private static void append(StringBuilder sb, int remainder, WavCollection samples)
        {
            sb.AppendLine();
            sb.AppendLine("-------------------------- OCTATRACK --------------------------");

            int n = 0;

            for (int k = 0; k < samples.NumSamples; k++)
            {
                sb.AppendFormat("Slice #{0,3} => {1}", n++, samples.GetName(k));
                sb.AppendLine();
            }
            for (int k = 0; k < remainder; k++)
            {
                sb.AppendFormat("Slice #{0,3} => (silence)", samples.NumSamples + k);
                sb.AppendLine();
            }
            sb.AppendLine();
        }
Exemplo n.º 2
0
        private static void append(StringBuilder sb, int increment, int remainder, WavCollection samples)
        {
            sb.AppendLine();
            sb.AppendLine("-------------------------- ANALOG RYTM --------------------------");
            int n = 0;

            for (int k = 0; k < samples.NumSamples; k++)
            {
                sb.AppendFormat("STA = {0,3} END = {1,3} => {2} ", n, n + increment, samples.GetName(k));
                n += increment;
                sb.AppendLine();
            }
            for (int k = 0; k < remainder; k++)
            {
                sb.AppendFormat("STA = {0,3} END = {1,3} => (silence) ", n, n + increment);
                n += increment;
                sb.AppendLine();
            }

            sb.AppendLine();
        }