<?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[DrumPants: Wearable Drum Machine - Medium]]></title>
        <description><![CDATA[Musings on the future of musicianship, IoT, and wearables. - Medium]]></description>
        <link>https://medium.com/drumpants-wearable-drum-machine?source=rss----32433adf5117---4</link>
        <image>
            <url>https://cdn-images-1.medium.com/proxy/1*TGH72Nnw24QL3iV9IOm4VA.png</url>
            <title>DrumPants: Wearable Drum Machine - Medium</title>
            <link>https://medium.com/drumpants-wearable-drum-machine?source=rss----32433adf5117---4</link>
        </image>
        <generator>Medium</generator>
        <lastBuildDate>Thu, 19 Nov 2026 04:21:04 GMT</lastBuildDate>
        <atom:link href="https://medium.com/feed/drumpants-wearable-drum-machine" rel="self" type="application/rss+xml"/>
        <webMaster><![CDATA[yourfriends@medium.com]]></webMaster>
        <atom:link href="http://medium.superfeedr.com/" rel="hub"/>
        <item>
            <title><![CDATA[What We’ve Learned from DrumPants 1.0]]></title>
            <link>https://medium.com/drumpants-wearable-drum-machine/what-we-ve-learned-from-drumpants-1-0-64b126574109?source=rss----32433adf5117---4</link>
            <guid isPermaLink="false">https://medium.com/p/64b126574109</guid>
            <category><![CDATA[hardware]]></category>
            <category><![CDATA[wearables]]></category>
            <category><![CDATA[music]]></category>
            <dc:creator><![CDATA[Tyler Freeman]]></dc:creator>
            <pubDate>Mon, 06 Jul 2015 22:44:16 GMT</pubDate>
            <atom:updated>2015-07-07T03:24:09.206Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*J7-IVssNsqDYXtDzCQu0pA.jpeg" /></figure><p>We deeply care about capturing and expressing the musician’s true intention as accurately as possible. That’s why <a href="https://www.indiegogo.com/projects/drumpants-2-0-make-music-with-your-body/x/4429387">DrumPants</a> is velocity sensitive. It is also why we’ve worked hard to give DrumPants 2.0 the lowest latency possible, and to make it easy to adjust the sensitivity settings so you can play the way that you want.</p><p>Designing an electronic musical instrument takes a lot of signal processing and testing. Designing a <em>wearable</em> instrument is even more involved, since users may wear it on different parts of their body, under thinner/thicker clothes, and play in different styles: meaning the design has to be open and easily customizable (just like a real drum set).</p><p>Here is some tech we developed in order to test the DrumPants as we built them and implemented feedback from our customers.</p><h3>Rhythmic Robots</h3><p>The key to making a reliable product is to test in the physical world. We needed to test our algorithms against real-world situations. Enter <em>Robo Starr</em>, our drumming robot, that helps us run tests in a controlled, reproducible manner.</p><iframe src="https://cdn.embedly.com/widgets/media.html?src=https%3A%2F%2Fwww.youtube.com%2Fembed%2FsDEzFxmH2qQ%3Ffeature%3Doembed&amp;url=https%3A%2F%2Fwww.youtube.com%2Fwatch%3Fv%3DsDEzFxmH2qQ%26feature%3Dyoutu.be&amp;image=https%3A%2F%2Fi.ytimg.com%2Fvi%2FsDEzFxmH2qQ%2Fhqdefault.jpg&amp;key=d04bfffea46d4aeda930ec88cc64b87c&amp;type=text%2Fhtml&amp;schema=youtube" width="854" height="480" frameborder="0" scrolling="no"><a href="https://medium.com/media/fe134add430b48362d76d25d2eaf7339/href">https://medium.com/media/fe134add430b48362d76d25d2eaf7339/href</a></iframe><p>Very few human drummers can hit a DrumPad the exact same way every time, but Starr is designed to do just that, at a steady pulse. This allowed us to test the latency in our algorithms, and make sure there were no hiccups in the chain from firmware to MIDI to Bluetooth to the app.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*C_ndVUPfAIlLfdKpVIeW0A.jpeg" /></figure><p>The robot is made from a solenoid, attached to an Arduino with a Relay Shield. A third-hand holds the solenoid in place above the DrumPad, (and anthropomorphises the little guy so it’s harder to get mad at him.)</p><p>When we apply current to the solenoid, electromagnetic coils that are wrapped around the solenoid rod suck it back into the solenoid body. The Relay Shield then interrupts the flow of current, and gravity brings the rod back down to hit the DrumPad. Tempo is adjustable by sending MIDI CC messages to the Arduino. He can play all day long and never get tired!</p><h3><strong>Artificial Drummer Intelligence</strong></h3><p>We wanted DrumPants 2.0 to be playable in a wide variety of applications. We ran tests to determine the best default settings so that DrumPants will work well in most common situations. We also added popular customizations as presets into the DrumPants 2.0 app so you can easily and quickly find a setting that works for you. Lastly, we allow you to individually customize the sensitivity of each trigger based on your playing style.</p><p>Since small changes in the DrumPants code could make big differences in expected output; the last thing we wanted was to fix one issue, just to have it not work at all for a different playing style. We made sure to check all the changes we made to sensitivity or the filtering equations against the many different ways you can play DrumPants.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/600/1*6aumIpHGA-LoW8loRJfLuA.gif" /></figure><p>For instance, one of the most common issues DrumPants users experienced was accidental foot pedal triggering. To fix this, we added in some special high-pass filter magic to get rid of those unwanted retriggers, and tested it with a wide variety of playing styles to make sure it was still responsive when worn in the shoe or mounted to the ground.</p><p>We wrote testing software we called our “artificial drummer” to help us visualize the inputs of the DrumPants sensors and how the various settings and algorithms changed the final output — which decides when a hit happens, and how hard the hit is:</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/900/1*8JrYJH2w1iQOBuzFsClhzA.gif" /><figcaption>Adjusting sensitivity and velocity scaling in the artificial drummer app. The red lines are raw sensor input, the blue dots the resulting MIDI output velocity.</figcaption></figure><p>Our testing app has recordings of real drummers playing the DrumPants in different styles along to the same song: wearing them in clothes, on top of clothes, with the foot pedal worn in the shoe or with the foot pedal placed on the floor. These recording are the raw sensor input from the DrumPads.</p><p>The “artificial drummer” app then runs the actual DrumPants algorithms (called the Sensorizer library) on the input, and shows you the results on a graph. You can adjust the sliders to tweak the algorithms in real time.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/294/1*yq9e3PnomCXq3kWKs7xo5Q.png" /><figcaption>Adjusting parameters in the DrumPants app.</figcaption></figure><p>All these sliders are the same sensitivity parameters that you, the user, can customize in the DrumPants app. Visualizing the changes in the output lets you easily make a DrumPad more sensitive, or a foot pedal harder to accidentally trigger.</p><p>If you’d like to check out the test simulator app for yourself, you can download it for Mac <a href="http://download.drumpants.com/SensorizerTester-DrumPants-9faed5ddf.zip">here</a>.</p><p>Stay tuned for Part 2, where we dive into the new MIDI over Bluetooth LE features of the DrumPants 2.0, and how we’ve improved wireless latency and what it means for the future of wireless instruments.</p><p>Our DrumPants 2.0 Indiegogo campaign ends Monday 7/13. Less than one week left to <a href="https://www.indiegogo.com/projects/drumpants-2-0-make-music-with-your-body/x/4429387#/story">pre-order your DrumPants kit</a> for this production run!</p><p><em>Special thanks to </em><a href="https://twitter.com/leilavi"><em>Lei Yu</em></a><em> and the DrumPants team for editing.</em></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=64b126574109" width="1" height="1" alt=""><hr><p><a href="https://medium.com/drumpants-wearable-drum-machine/what-we-ve-learned-from-drumpants-1-0-64b126574109">What We’ve Learned from DrumPants 1.0</a> was originally published in <a href="https://medium.com/drumpants-wearable-drum-machine">DrumPants: Wearable Drum Machine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
        <item>
            <title><![CDATA[The Wireless Future of Music]]></title>
            <link>https://medium.com/drumpants-wearable-drum-machine/the-wireless-future-of-music-f397441e683?source=rss----32433adf5117---4</link>
            <guid isPermaLink="false">https://medium.com/p/f397441e683</guid>
            <category><![CDATA[apple]]></category>
            <category><![CDATA[musicians]]></category>
            <category><![CDATA[ios]]></category>
            <dc:creator><![CDATA[Tyler Freeman]]></dc:creator>
            <pubDate>Thu, 25 Jun 2015 02:30:02 GMT</pubDate>
            <atom:updated>2015-06-25T03:46:01.530Z</atom:updated>
            <content:encoded><![CDATA[<figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*8uatrazsLxJBvhsUfgPTZw.png" /></figure><p>A big new feature of the <a href="https://www.indiegogo.com/projects/drumpants-2-0-make-music-with-your-body/x/4429387">DrumPants 2.0 Wearable Drum Machine</a> is that it now works with Apple’s MIDI over BLE, built-in natively to iOS and OS X. In typical Apple style, this eliminates the myriad cables and ports that musicians are constantly dealing with, and gives you <strong>wireless </strong>control over music software like Abelton Live, GarageBand, and FL Studio. Just turn on your instrument, turn on your laptop, and you’re done. No cables or adapters or power supplies to fuss with.</p><p>Using Apple’s open protocol allows the DrumPants to get the lowest wireless latency possible* on a Mac, making them much more responsive than the DrumPants 1.0 (which were built before Apple released their spec).</p><p>As our test users have been using Apple’s native Bluetooth MIDI interface in live performance situations, we’ve compiled a few of their suggestions on how it can be made more seamless and robust:</p><h3>Autoconnect</h3><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*ZAbIWAFk7C0rRyuNpTqiwA.png" /><figcaption>I have a lot of DrumPants, ok?</figcaption></figure><p>An important feature users requested early on in the DrumPants app is to automatically reconnect to the MIDI instrument if the connection is lost. The musician could have wandered out of Bluetooth range, or turned their DrumPants off to save power until they needed them, but musicians expect an instrument to be usable as soon as they turn it on. iOS and Mac should be periodically scanning for any available instruments and reconnect if they were previously connected.</p><p>Now, one caveat we found is that if you give your extra DrumPants to a friend, and they try to connect with <em>their</em> app, <em>your </em>app’s autoconnect might “steal” the connection before <em>their</em> device sees it. In this case, manually clicking the “Disconnect” button in the Audio MIDI Setup should cancel any autoconnection option, so other devices have a chance to connect to the instrument.</p><h3><strong>Same Treatment as a “Wired” MIDI Instrument</strong></h3><p>Right now, to use MIDI over BLE with iOS, you need a 3rd party app like <a href="https://itunes.apple.com/app/midi-le/id925495245?mt=8#">midimittr</a> to translate. This means that your BLE instrument is a <em>virtual midi instrument</em>, which for some reason is not as respected as a physically-connected USB MIDI instrument (e.g. doesn’t work in GarageBand). Yes, the iOS SDK has a separate interface for connecting BLE instruments that developers can elect to integrate into their apps, but they shouldn’t have to if they already support CoreMIDI!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*u51j9Rvt6nBS4VZlyrKW8w.jpeg" /><figcaption>The DrumPants foot pedals give you a wireless looping pedal in your shoe.</figcaption></figure><p>I’d like to see one central location in iOS where you can manage your BLE instruments, and once connected, they should appear to other apps as a bona-fide, plugged-in, CoreMIDI instrument — treated no differently than the “wireds” on those clunky old USB adapters.</p><p>This way, all music apps that already support CoreMIDI instruments can use the BLE ones automatically. This is already how it works on OS X, so I’m guessing the iOS equivalent will be here soon.</p><h3>The Latency Arms Race</h3><p>Although the connection latency is quite good and barely noticeable unless playing a ton of notes at once, it’s literally not as good as it could be.</p><p>Apple’s spec limits the connection interval to 10ms on OS X, and 15ms on iOS. Now, this is amazingly good (10ms is at the edge of being noticeable to experienced musicians) — and much faster than the <a href="http://venturebeat.com/2013/09/19/apples-iphone-5-touchscreen-is-2-5-times-faster-than-android-devices/">55–80ms of a touchscreen</a> — however, the official Bluetooth Low Energy spec allows for connection intervals as low as 7.5ms! That’s almost 25% faster than OS X, and twice the speed of iOS! The DrumPants Android app fares better: it can connect at 7.5ms on some Android devices.</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/1024/1*jl9K7SytM0PHhZ4IFvHZEg.png" /><figcaption>The DrumPants iPad app</figcaption></figure><p>Apple’s reasoning is that connecting at the fastest interval drains the battery more quickly, and it can also slow down the Wifi connection (since they are on a shared chip). Apple is insistent on preserving the user experience for other apps — even though a musician would prefer to have the most responsive experience possible, at the expense of their web-browsing and emailing capability (which they shouldn’t be doing at a show!)</p><p>I think Apple could solve this gracefully by connecting at the fastest 7.5ms interval <em>only when the device is plugged in.</em> That way, there’s no worry about battery drain, and musicians can be assured they’re getting the best performance simply by charging their iPad when performing.</p><h3>Untethered Possibilities</h3><p>Other than those main considerations for high-pressure, live performance situations, the experience Apple has made is solid. Once the DrumPants are connected and set up with an app, the connection is fast, reliable, and jitter-free, even from pretty large distances in large crowds. I’ve performed with them walking up to the stage from the back of the venue, and they played every note as I meandered through the EM-soaked, signal-absorbing bodies of the audience!</p><figure><img alt="" src="https://cdn-images-1.medium.com/max/536/1*vE-CMuB1f4CSFsMOhYWWPA.gif" /><figcaption>San Francisco band Battlehooch jamming on their way to a gig.</figcaption></figure><p>Playing other wireless musical instruments like the JamStik and Livid Instruments’ Guitar Wing gives us a glimpse at the future of music tech, and it is an exciting one! At DrumPants, we’re committed to this vision of the future, and so we are <a href="https://www.indiegogo.com/projects/drumpants-2-0-make-music-with-your-body/x/4429387">releasing all our Bluetooth firmware as open-source</a>. We hope this will provide a solid base for the DIY community to create their own wireless musical instruments, and really push the envelope up!</p><p>To support our vision, see professional musicians playing wireless music, and get your own pair of DrumPants, please check out the <a href="https://www.indiegogo.com/projects/drumpants-2-0-make-music-with-your-body/x/4429387"><strong>DrumPants 2.0 IndieGoGo Campaign</strong></a><strong>.</strong></p><img src="https://medium.com/_/stat?event=post.clientViewed&referrerSource=full_rss&postId=f397441e683" width="1" height="1" alt=""><hr><p><a href="https://medium.com/drumpants-wearable-drum-machine/the-wireless-future-of-music-f397441e683">The Wireless Future of Music</a> was originally published in <a href="https://medium.com/drumpants-wearable-drum-machine">DrumPants: Wearable Drum Machine</a> on Medium, where people are continuing the conversation by highlighting and responding to this story.</p>]]></content:encoded>
        </item>
    </channel>
</rss>