const_hoisted_1=/* @__PURE__ */createStaticVNode('<h1id="sequencer"tabindex="-1">Sequencer<aclass="header-anchor"href="#sequencer"aria-label="Permalink to "Sequencer""></a></h1><p>SinceQMKhasexperimentalsupportforMIDI,youcannowturnyourkeyboardintoa<ahref="https://en.wikipedia.org/wiki/Music_sequencer#Step_sequencers"target="_blank"rel="noreferrer">stepsequencer</a>!</p><divclass="warningcustom-block"><pclass="custom-block-title">WARNING</p><p>Thisfeatureishighlyexperimental,ithasonlybeentestedonaPlanckEZsofar.Also,thescopewillbelimitedtosupportthedrummachineuse-casetostartwith.</p></div><h2id="enable-the-step-sequencer"tabindex="-1">Enablethestepsequencer<aclass="header-anchor"href="#enable-the-step-sequencer"aria-label="Permalinkto"Enablethestepsequencer""></a></h2><p>Addthefollowinglinetoyour<code>rules.mk</code>:</p><divclass="language-makevp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang">make</span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><spanstyle="--shiki-light:#24292E;--shiki-dark:#E1E4E8;">SEQUENCER_ENABLE=yes</span></span></code></pre></div><p>Bydefaultthesequencerhas16steps,butyoucanoverridethissettinginyour<code>config.h</code>:</p><divclass="language-cvp-adaptive-theme"><buttontitle="CopyCode"class="copy"></button><spanclass="lang">c</span><preclass="shikishiki-themesgithub-lightgithub-darkvp-code"><code><spanclass="line"><spanstyle="--shiki-light:#D73A49;--shiki-dark:#F97583;">#define</span><spanstyle="--shiki-light:#6F42C1;--shiki-dark:#B392F0;">SEQUENCER_STEPS</span><spanstyle="--shiki-light:#005CC5;--shiki-dark:#79B8FF;">32</span></span></code></pre></div><h2id="tracks"tabindex="-1">Tracks<aclass="header-anchor"href="#tracks"aria-label="Permalinkto"Tracks""></a></h2><p>Youcanprogramupto8independenttrackswiththestepsequencer.Selectthetracksyouwanttoedit,enableordisablesomesteps,andstartthesequence!</p><h2id="resolutions"tabindex="-1">Resolutions<aclass="header-anchor"href="#resolutions"aria-label="Permalinkto"Resolutions""></a></h2><p>Whilethetempodefinestheabsolutespeedatwhichthesequencergoesthroughthesteps,theresolutiondefinesthegranularityofthesesteps(fromcoarsertofiner).</p><table><thead><tr><th>Resolution</th><th>Description</th></tr></thead><tbody><tr><td><code>SQ_RES_2</code></td><td>Everyotherbeat</td></tr><tr><td><code>SQ_RES_2T</code></td><td>Every1.5beats</td></tr><tr><td><code>SQ_RES_4</code></td><td>Everybeat</td></tr><tr><td><code>SQ_RES_4T</code></td><td>Threetimesper2beats</td></tr><tr><td><code>SQ_RES_8</code></td><td>Twiceperbeat</td></tr><tr><td><code>SQ_RES_8T</code></td><td>Threetimesperbeat</td></tr><tr><td><code>SQ_RES_16</code></td><td>Fourtimesperbeat</td></tr><tr><td><code>SQ_RES_16T</code></td><td>Sixtimesperbeat</td></tr><tr><td><code>SQ_RES_32</code></td><td>Eighttimesperbeat</td></tr></tbody></table><h2id="keycodes"tabindex="-1">Keycodes<aclass="header-anchor"href="#keycodes"aria-label="Permalinkto"Keycodes""></a></h2><table><thead><tr><th>Key</th><th>Aliases</th><th>Description</th></tr></thead><tbody><tr><td><code>QK_SEQUENCER_ON</code></td><td><code>SQ_ON</code></td><td>Startthestepsequencer</td></tr><tr><td><code>QK_SEQUENCER_OFF</code></td><td><code>SQ_OFF</code></td><td>Stopthestepsequencer</td></tr><tr><td><code>QK_SEQUENCER_TOGGLE</code></td><td><code>SQ_TOGG</code></td><td>Togglethestepsequencerplayback</td></tr><tr><td><code>QK_SEQUENCER_STEPS_ALL</code></td><td><code>SQ_SALL</code></td><td>Enableallthesteps</td></tr><tr><td><code>QK_SEQUENCER_STEPS_CLEAR</code></td><td><code>SQ_SCLR</code></td><td>Disableallthesteps</td></tr><tr><td><code>QK_SEQUENCER_TEMPO_DOWN</code></td><td><code>SQ_TMPD</code></td><td>Decreasethetempo</td></tr><tr><td><code>QK_SEQUENCER_TEMPO_UP</code></td><td><co