     case 'bass':
                defaultPattern = `${lineType.defaultK}/${lineType.defaultN} 1 4`;
                break;
            case 'top':
                defaultPattern = `${lineType.defaultK}/${lineType.defaultN} t 4`;
                break;
            case 'random':
                defaultPattern = `${lineType.defaultK}%${lineType.defaultN} r 4`;
                break;
        }
        patternInput.value = defaultPattern;
        patternInput.addEventListener('change', updateControls);
        