For those I have not met, I used to play live sets using the Elektron Machinedrum circa 2010. More recently I made some 808/909 inspired drum packs for the Machinedrum and RYTM.
In 2012 and 2013 I worked on a large firmware for the R&W Minicommand (midi controller), called Minicommand Live. MCL was designed to allow you to Mix and Match MachineDrum patterns on the fly. Think of Ableton Live, but using MD tracks instead of clips.
After a long absence I blew the dust from my Machinedrum and Minicommand and started to code Minicommand Live again.
I’ve discovered a reliable/repeatable exploit that allows the Machinedrum to send Midi Note messages when a trigger is pressed, but not trigger the internal sounds/sequencer. In addition the activated notes have a different channel to the notes transmitted by the running sequence. This might not seem amazing on the surface, but it means that finger presses of the 16 trigger buttons on the MD can be detected and used as control input for Minicommand Live.
Curious if there are still Minicommand users out there?
It’s been a while since Ive touched mine, and I’m inspired to make music with the MD again. I have a large back catalog of unreleased sound design and music that is hidden away in snapshots and kits. The goal is to flesh some of it out with the help of the new firmware.
Would you also make it possible to buy or build a MidiCommand ?
There were a lot of MD sold recently due to Elektron smart marketing
I guess quite a bunch of people (me included) would be interested to get crazy with a MidiCommand + MD combo.
So far, I have fun with Guga’s SMD but I wouldn’t mind expanding the set of tools for more MD fun !
Same here, been too tied up to dig into mine recently, but am factoring them in as core part of new studio/live rig… one day when I have some spare time…
It shouldn’t be that difficult to build a new Minicommand. It’s based on the Arduino platform.
It would be interesting to see if we could could create an open source build guide based on Wesen specs for the Midiuno API. And then piece it together using Arduino components and simple support circuitry.
First things first, I need to work on the firmware.
I was curious if you were still around, this is a pleasant surprise!
You were extremely helpful back when I was coding this. I could use those testing skills again.
Ready to seamlessly pick up from where we left off 3 years ago?
I’ll keep the discussion here for the time being. No need to partition the community further.
I’ve got 2 1/2 MiniCommands, so I was looking at creating some mega firmware with three linked together, along with a gugabox SMD to control bunny rabbits and generate moonbeams… tie all that into an Octatrack, Rytm, Virus and Carbon… should be fun…
Vaugely interested in chipping in for a custom thingamajig… I’m a bit time poor right now for the obvious reasons…
I’ve successfully coded the exploit in to MinicommandLive (MCL). This required more time than expected, as I had to fix a nasty bug/feature in Wesen’s Midi stack that caused midi callbacks to behave strangely.
We can now reliably use the MachineDrum (MD) triggers as GUI input for MCL when the sequencer is running (without triggering internal sounds).
Storing tracks in the MC works as followed: Press the read button, then select the tracks to be stored by holding down the corresponding track triggers on the MD. Releasing all triggers stores the tracks.
Writing tracks to the MC works as followed: Press the write button, then hold down the tracks to be written by pressing the corresponding track triggers on the MD. Releasing all tracks writes the tracks to the MD.
I’ve started refactoring the code, debugging, removing excess, and hopefully freeing up more space.
Still a lot of work to be done.
Planned improvements:
Store master fx settings for each row (this would make MCL functionally equivalent to the +drive). If full pattern read, then store globals. If full pattern write then write global.
Add version information in project files.
Display overhaul (considering). Display row as a single 16 character line. One character/symbol representing each track type.
Second line of display will show full kit name.
Synchronous muting during pattern write operations. Mute tracks and only unmute when at bar divisions of the sequencer.
Another quick victory: Turbo Midi stable at 2x Speed.
The midi ctrl framework attempts to create a turbo midi link at 4x speed. I’ve discovered that this is just too much for the gutsy 16Mhz processor to handle, particularly when you have a lot of midi call backs going on. I’ve modified the TurboMidi classes such that the link connects at 2x and the link is stable.
TurboMidi is really essential as it makes the Kit and Pattern transfers between the minicommand and md much smoother.
It should be possible now to have a turbo midi link between the MC and MD, but have an external clock signal coming in at a regular midi speed on the MC 2nd input. Pretty cool!
So we have turbo midi between MC and MCL at 2x (stable) with external clock coming in via regular midi signal.
The fix involves pausing and unpausing the sequencer in quick succession when executing the trigger exploit.
Clock seems pretty tight and I haven’t noticed any drift. Can probably code in a clock reset every 64 measures to keep it locked if we end up drifting apart.
–
Just noticed the occasional sysex error when running turbo 2x. bummer.
For the Machinedrum there are 4 possible error codes:
-1 length error
-2 checksum error
-3 memory full/position out of range
-4 version error
Seeing both 1 and 2 with turbo engaged, occasionally.
Been a long time for me also, great to see some Minicommand interest still out there. I still have mine although all my gear has been in storage for a while now , i’ve had to swap drum machines/synths for power tools (major house renovations)
I think the last thing I tried writing on the MC was a copy/port of the drum pattern generator similar to this, I got it working to a point and was quite fun but need to finish it off, i’ll holler back if/when I do get the time to complete it.
If anyone out there is up for the challenge of a DIY minicommand (and possibly re-design/enhance it?) then for extra credit - one game changing feature to add would be the ability to store/load multiple firmwares on the SD card…
I am actively researching the easiest way to resurrect the Minicommand hardware.
The biggest issue thus far appears to be that no dev-boards have large amounts of SRAM.
Wesen expanded the microprocessor ram by adding in 128KB of external SRAM. .
Regarding improving the original design: I would like a larger LCD, more encoders, more buttons, another MIDI OUT. But it ends up being a new product.
Adding functionality to load firmwares off the SD Card would be cool. The bootloader would need to hold the SD Card libraries and they’re quite large. In short, I doubt there’s enough flash to accomplish this with the current microprocessor, perhaps one with larger flash storage could though!
Spent a romantic evening understanding the lower levels of the Midi Stack.
Fixing Read:
There are read and write ring buffers that are used to collect and send Midi data. The incoming buffer size was too small resulting in overflow and causing large sysesx data to become truncated at high Turbo Speeds.
Fixing Write:
The write commands of sysex were too fast. No delay between sends, and were relying on the speed of the midi link to throttle the data transfer. I’ve added in a delay that throttles the midi output such that the MD can handle the
sysex data no matter what the Turbo Speed.
More testing to follow here, but the logic is sound and Midi stack is no longer a mystery.