3D Touch with pressure.js
Since a few weeks I have an iPhone 6S. It has 3D Touch, Apple’s technology to detect pressure on the phone’s screen. It takes some time getting used to. Things unexpectedly happen when you press down on the screen. But it feels naturally very soon. It’s like a third dimension after swiping across the surface of the screen.
The possibilities for audio and music are exciting. Drum rhythms can be tapped in much more expressively. All kinds of sound parameters can be controlled by pressure.
This is an idea for an application that generates MIDI notes from moving machine parts. Not real machines however, but software simulations. Cogs, wheels and gears that rhythmically rotate and drive each other and while doing so transmit their rotation, torque and most importantly their collisions as MIDI notes and CC messages.
Metasepia by Don’t DJ
Musician Don’t DJ uses the Euclidean Pattern Generator in his music. A record was released and I became involved.
It’s been about five years since I posted anything in this blog, so this is a nice opportunity to try and bring it back to life.
Travel By Goods
Last year artist Thomas Baldischwyler contacted me. He runs the Hamburg based Travel By Goods record label and was to release a record by Berlin musician Florian Meyer under his artist name Don’t DJ. From Thomas I learned that Florian uses the Euclidean Pattern Generator in his music. Not only to produce music in the studio, but also to perform live on stage!
Pure Data OSC test patch
Summer is at it’s end and it’s time to do some programming again. The Euclidean rhythms application I made earlier this year still has a lot of potential for new functionality, so here is the new version 1.1.
The main new feature in this version is support for Open Sound Control (OSC). After the last version a great offer came from programmer Michael Heuer to collaborate and add OSC support to the application. So this part of the program is very much his work. You can view more of his projects on GitHub.
In January I posted a Euclidean rhythm generator in Flash. Polyrhythms generated by a mathematical algorithm. I wanted the next version to be able to send MIDI, so I could use it with software like Ableton Live and hardware music machines like my Elektron Machinedrum.
Since Flash doesn’t do MIDI I spent the last few months learning Java and rebuilt the pattern generator to add MIDI capabilities.
E(5, 13) pattern
There’s an error in the Euclidean rhythms generator I posted in January. A few days ago I got a comment by Thomas pointing out the app generates wrong patterns. And he’s absolutely right.
Here’s an updated version in which I rewrote the algorithm code. I checked it with several patterns and they all came out correct, so hopefully I have it right this time.
Audio Editor 1.1
While cleaning up my laptop’s hard drive I found an update to the audio editor I posted here last year. Not radically different, but maybe useful to someone.
Its new feature is the loop function. Toggle the loop button and playback loops between the start marker (S) and the end marker (E). Just like you’d expect.
Next to this single new feature there’s a new waveform display that I really like.
In the old version the waveform shape was rendered by drawing vertical lines next to each other for each pixel from left to right. The new version draws a much nicer vector shape that is less processor intensive as well.
Last week I read a really interesting article about computer generated rhythms: “Generating African rhythms using the euclidean algorithm” on Ruin & Wesen’s website. Usually I’m not so impressed by generative and algorithmic music, but this formula gives some very cool results.
Audio Editor 1.0
A useful application!
I posted a lot of experimental stuff on this weblog over the past year. Or components that might have their use when built into proper applications. But this is my first web app that’s useful on it’s own.
This is a simple Flash audio editor that works in the browser. Everything it does is done by ActionScript code inside the application. There’s no backend that does the difficult work. So it would function just as well in the standalone Flash Player or exported as an Air application as it does in the browser.
Sync test screenshot
It’s not that easy to synchronize programmed animation and dynamic sound in Flash. To have something happen on screen at exactly the same time a sound starts to play.
I thought about it a bit and came up with two different scenarios where audio and visuals need to be synchronized:
- The first is where a sound plays and something visual on screen happens to accompany that audio event.
- The second is the other way around. Something happens on screen that should be accompanied by a sound.
In the first case the animation is the initiator, in the second case the sound. For the second case I included a Flash example here with the source code available.