n combination using stack()
        code += 'stack(\n';
        code += currentLines
            .filter(({notes}) => notes && notes.length > 0)
            .map(({type}) => `  ${type.id}Pattern`)
            .join(',\n');
        code += '\n).cpm(cpm);\n';
        
        strudelCodeDiv.querySelector('code').textContent = code;
    }
</script>

</body>
</html>
