private int[] GenerateBarLengths(int patternLen) { var barLengths = Song.GenerateBarLengths(patternLen); #if !FAMISTUDIO_WINDOWS Array.Reverse(barLengths); #endif return(barLengths); }