<?xml version="1.0" encoding="UTF-8"?><rss xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:atom="http://www.w3.org/2005/Atom" version="2.0" xmlns:cc="http://cyber.law.harvard.edu/rss/creativeCommonsRssModule.html">
    <channel>
        <title><![CDATA[Stories by Smelldischatommie on Medium]]></title>
        <description><![CDATA[Stories by Smelldischatommie on Medium]]></description>
        <link>https://medium.com/@sss999369?source=rss-2ff733a1aee------2</link>
        <image>
            <url>https://cdn-images-1.medium.com/fit/c/150/150/1*0Ha8inQib698DfXNl0slSA@2x.jpeg</url>
            <title>Stories by Smelldischatommie on Medium</title>
            <link>https://medium.com/@sss999369?source=rss-2ff733a1aee------2</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Fri, 20 Nov 2026 19:01:38 GMT</lastBuildDate>
        <atom:link href="https://medium.com/@sss999369/feed" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[[M4L] Step Sequencer for AKAI APC40 MKII]]></title>
            <link>https://medium.com/@sss999369/m4l-step-sequencer-for-akai-apc40-mkii-2a71f73ac85d?source=rss-2ff733a1aee------2</link>
            <guid isPermaLink="false">https://medium.com/p/2a71f73ac85d</guid>
            <category><![CDATA[maxmsp]]></category>
            <category><![CDATA[sequencer]]></category>
            <category><![CDATA[electro-music]]></category>
            <category><![CDATA[ableton-live]]></category>
            <dc:creator><![CDATA[Smelldischatommie]]></dc:creator>
            <pubDate>Thu, 23 Nov 2023 02:08:11 GMT</pubDate>
            <atom:updated>2025-09-19T03:34:57.428Z</atom:updated>
            <content:encoded><![CDATA[<p><strong>[M4L] Step Sequencer for AKAI APC40 MKII</strong></p><p>Hello friends! Recently I made a step sequencer for AKAI APC40 MKII for my own live performance demand. And this article is to document my development track and leave a manual for anyone who might be interested in using it or make their own device. Hope this will help!</p><p><strong>User Interface</strong></p><p>First and first, let’s start with the user interface.</p><p>This device essentially is a MIDI Effect, which means you need to give it an “instrument” to play. It’s possible to play anything you like, like drum rack, synthesizer, sampler…but for this demonstration I will just choose a preset drum rack in Ableton, 808 Core Kit.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*JsQyZeJ-wlsvspqewvpt5w.png" /><figcaption>Device flow in Ableton</figcaption></figure><p><strong>MIDI Setup</strong></p><p>Then please open your MIDI Setup in preference-Link/Tempo/MIDI. Adjust control interface 1 to APC MKII.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/988/1*MCj1uI09LyhxDBGUeD_l4g.png" /><figcaption>MIDI Setup</figcaption></figure><p>After you finish the setup, click “DEVICE ON/OFF” toggle to engine the sequencer, then we can jump into the APC40.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KsSnudM-ik-LUC73CjLCDg.png" /><figcaption>Basics on AKAI APC40 MKII</figcaption></figure><ol><li>16-STEP MATRIX _ This 4x4 grid matrix displays 16-steps of the currently selected sound step program.</li><li>SOUND SELECTION _ Each has midi-note assigned to it, from C1 to D#2. It exactly represents 16 sounds in drum rack matrix by default.</li><li>FUNCTION VIEW TOGGLE _ This toggle can switch default function of AKAI APC40 MKII and the sequencer.</li><li>TRANSPORT ON/OFF _ This button let you start/pause the transport of the sequencer.</li><li>RESET CURRENT SELECTED SOUND STEPS _ This button can clear all existing steps in current sound selection.</li><li>RESET ALL STEPS _ This button can clear all existing steps all sound selections.</li></ol><p>Here is a quick note to play with the sequencer. Adjust the bpm, make sure you start the playback in Ableton and turn on record button of the track you put device in. Then, press FUNCTION VIEW TOGGLE on APC40 to enter sequencer view, start the transport with the toggle, select the sound you wish to play and start programming. Remember you still can twist the parameter with 8 dials on your APC40 to create more dynamic.</p><ul><li><strong><em>function view toggle</em></strong><em> and </em><strong><em>transport on/off</em></strong><em> will be functional after you engine the device on/off in Ableton. And others buttons will be functional only if you enter the sequencer view.</em></li><li><em>If the plugin doesn’t response, press the edit button on the top right of the plugin to initialize it.</em></li></ul><p>There are all you need to know to play with the sequencer! Demonstration video is on my behance as below.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.behance.net%2Fembed%2Fproject%2F179658359%3Filo0%3D1&amp;display_name=Behance&amp;url=https%3A%2F%2Fwww.behance.net%2Fgallery%2F179658359%2FM4L-AKAI-APC40-MKII-_-Step-Sequencer&amp;image=https%3A%2F%2Fmir-s3-cdn-cf.behance.net%2Fprojects%2Fmax_808%2F65feb2179658359.Y3JvcCwxNjc3LDEzMTEsMCwxNzg.png&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=behance" width="404" height="316" frameborder="0" scrolling="no"><a href="https://medium.com/media/c56d0964a25e02010a8d19d36c945112/href">https://medium.com/media/c56d0964a25e02010a8d19d36c945112/href</a></iframe><p>For troubleshooting, here is a set up demo for your reference.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FOdtcOV8V05E%3Ffeature%3Doembed&amp;display_name=YouTube&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DOdtcOV8V05E&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FOdtcOV8V05E%2Fhqdefault.jpg&amp;key=a19fcc184b9711e1b4764040d3dc5c07&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/1926b95256e4a4d414e0db6b456114b9/href">https://medium.com/media/1926b95256e4a4d414e0db6b456114b9/href</a></iframe><p>Then I’m going to dive into the code in MAX MSP.</p><p><strong>Global Transport</strong></p><p>For step sequencer design principle, its’ very important to synchronize transport with the clock (for here is Ableton). Thanks for M4L , there is a very simple solution.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/440/1*9OyQz51N3iEcskyXyjIc_Q.png" /></figure><p>By Specifying metro’s attribute interval with note value (8n means eight note) and turning active on, the metro will synchronize with the playback button in Ableton automatically. Besides, interval is also adjustable, multi types of note value are accepted.</p><p><strong>Step Sequencer Design</strong></p><p>Then let’s talk about basic idea of step sequencer.</p><p>First, sequencer needs to know where is the current step playing on. I achieve it with a bunch of bangs from metro and counter to assign them into 16 steps.</p><p>Second, there are two things necessary when you want to generate a midi output to communicate with Ableton, <strong>note pitch and velocity</strong>. For this project, each note pitch represent different sound selection, and velocity may modulate the timbre and amplifier.</p><p>Third, a 4x4 interactive steps matrix is needed to communicate with program and APC40, which should show current playing step position and with programable buttons.</p><p>Dial and matrixctrl exactly fit these demands. I adjust dial width to 0–67 for restricting the velocity width and make a 4x4 clickable matrix as I mentioned. Then send current playing step position, sound selection, velocity width and programable matrix info all into patch sequencer.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*qszhr4TnW9MYjjmn4fCOIg.png" /></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*90RanET-Uxtv5UYvE8pHcw.png" /><figcaption>p sequencer _ distribution</figcaption></figure><p>I use some mathematic formula to route out 4x4 matrix info into 16 steps, and use object “&amp;&amp;” to judge if the sequencer should make the note or not. And on the right side of the patch, it’s a little tricky way to store and recall the 4x4 program matrix info when I switch between sound selections.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*V_-vzxFwmVM8mkU-yzL5aA.png" /><figcaption>p sequncerC1 _ assigned midi-note</figcaption></figure><p><strong>Toggle between Sequencer and APC40</strong></p><p>This part includes a lot of number process and API application, so I want just shortly introduce some critical principles.</p><p>When you plug any kind of interface into Ableton, M4L provides you a bunch of features to customize with API. You can check it out on Max Msp help document by Cycling74.</p><p>For this project, I wish to switch between the default function and the sequencer on APC40, and “Grab/Release Control” exactly fits my demand.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8gxVJhVRVPbw-KYzX4lQ1Q.png" /><figcaption>Grab Surface Control</figcaption></figure><p>After I grab some specific buttons control from APC40, they just become blank. I can send midi signal to light specific color at specific timing or send midi signal to Ableton by pressing them. I will explain how “Current playing steps” blink program works as an example.</p><p>As we know, “Current playing steps” actually just numbers from 0 to 15 that locate different step positions. Selector can distribute numbers to each button, then coll library convert them to specific number. Finally both midi signal and surface ID are sent into live.object to interact with APC40. Besides, if the program steps have already been occupied, gate will bypass this lighting program.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jERm5nmuQBO9QEe22dbbEA.png" /><figcaption>p beat-transporter</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*AQZjBKvZdmzwO1O6hOddHQ.png" /><figcaption>p beat-transporter</figcaption></figure><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*KoKfGsqMY0SlEMPc9LrNkw.png" /><figcaption>p c1_beat_deployer</figcaption></figure><p>So do others functions be programmed by similar logic.</p><p>There are pretty much all I want to present! You can download the patch from below link. Feel free to contact me if you have any question.</p><p>Happy patching and producing. :)</p><p><a href="https://ko-fi.com/s/0dc7437e91">https://ko-fi.com/s/0dc7437e91</a></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=2a71f73ac85d" width="1" height="1" alt="">]]></content:encoded>
        </item>
    </channel>
</rss>