MB808 is a modification of the MBSEQ designed to emulate the features of the Roland TR-808 Sequencer. This page is to describe the operation of the MB808 Sequencer application. It is a work in progress, comments are welcome and usually appreciated :)
This is a list of planned features. Certian to be changed over time.
The MB808 application will essentially be unchanged from the SEQ v2.4 application and I hope to create an adaptation of the V3 which keeps all the best features for a drum sequencer. The changes that will be made reguard the interface, specifically the LCD screen and encoders will not be present by default, but will still be supported in software. At this time I also think it is best to use TK's drummode for the operation of the sequencer. Although this prevents each step from having it's own flam value, what we gain is much more than what we lose. Firstly using drum mode gives us 12 instrument tracks + accent all in one pattern as opposed to re-working the handling of the pattern sets to allow the use of 12 complete tracks, this keeps things compatible with the base application and hopefully with the upcoming SEQv3 application :) Using drum mode also allows us to use the morph feature, but in a way that mimics the original 808, where each pattern had A and B variations that could be chained together. Instead of accessing 16 banks of 8 patterns the interface and some of the functionality will be modified so that there are only 8 banks of 8 patterns, the remaining 8 banks will become the “B” variations for those patterns. This will take a bit of trickery in code to keep things compatible, so it may not be implemented in the first version. The GP buttons will retain their default function for each mode, but will gain additional functionality through the use of 4 extra menu shortcut buttons (F1-F4) which will allow the user to select a menu, set the cursor position and enter a value without needing a screen. Accessing the 4 additional menus is a matter of holding one of the menu keys down, at which point the 16 GP Led's will display information about the menu page and paramters represented. Once a parameter has been entered the menu can be automatically exited, or the application could simply wait until the menu key has been released. The Select and Exit buttons are still present on the layout, but at this time it is a bit unclear what their function will be. The metronome feature will not be so readily accessable and will instead be replaced by a dedicated button for tap tempo. A dedicated tempo encoder will also be included.
There are 36 elements to the MB808 interface. They are:
NOTE: this is still a hypothetical interface. The changes reguarding V3 are not represented here and this is really just to show how the F buttons can be used as menu buttons to reduce dependancy on an LCD screen.
The MB808 application has 5 different modes that it can operate in, they are:
In each mode the 16 GP buttons have a different function and each mode has it's own set of menus accessed with the menu buttons. The operation of the 16 GP's for each mode and menu are described below
Pattern Play | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
Default | Bank 1 | Bank 2 | Bank 3 | Bank 4 | Bank 5 | Bank 6 | Bank 7 | Bank 8 | Pattern 1 | Pattern 2 | Pattern 3 | Pattern 4 | Pattern 5 | Pattern 6 | Pattern 7 | Pattern 8 |
F2 | Forward | Backward | Ping Pong | Random | BPM / 1 | BPM / 2 | BPM / 4 | BPM / 8 | BPM / 16 | BPM / 32 | BPM / 64 |
Pattern Edit | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
Default | Step 1 | Step 2 | Step 3 | Step 4 | Step 5 | Step 6 | Step 7 | Step 8 | Step 9 | Step 10 | Step 11 | Step 12 | Step 13 | Step 14 | Step 15 | Step 16 |
F1 | BD | SD | LT/LC | MT/MC | HT/HC | CP | MA | RS/CL | CB | CY | OH | CH | Control 1 | Control 2 | Control 3 | Control 4 |
F2 | Forward | Backward | Ping Pong | Random | BPM / 1 | BPM / 2 | BPM / 4 | BPM / 8 | BPM / 16 | BPM / 32 | BPM / 64 |
Song Play | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
Default | Song 1 | Song 2 | Song 3 | Song 4 | Song 5 | Song 6 | Song 7 | Song 8 | Song 9 | Song 10 | Song 11 | Song 12 | Song 13 | Song 14 | Song 15 | Song 16 |
F1 | Position 1 | Position 2 | Position 3 | Position 4 | Position 5 | Position 6 | Position 7 | Position 8 | Position 9 | Position 10 | Position 11 | Position 12 | Position 13 | Position 14 | Position 15 | Position 16 |
Song Edit | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
Default | Bank 1 | Bank 2 | Bank 3 | Bank 4 | Bank 5 | Bank 6 | Bank 7 | Bank 8 | Pattern 1 | Pattern 2 | Pattern 3 | Pattern 4 | Pattern 5 | Pattern 6 | Pattern 7 | Pattern 8 |
F1 | Position 1 | Position 2 | Position 3 | Position 4 | Position 5 | Position 6 | Position 7 | Position 8 | Position 9 | Position 10 | Position 11 | Position 12 | Position 13 | Position 14 | Position 15 | Position 16 |
F2 | Part 1 | Part 2 | Part 3 | Part 4 | Part 5 | Part 6 | Part 7 | Part 8 |
Mute Play | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
Default | BD | SD | LT/LC | MT/MC | HT/HC | CP | MA | RS/CL | CB | CY | OH | CH | Control 1 | Control 2 | Control 3 | Control 4 |
F1 | Group 1 | Group 2 | Group 3 | Group 4 | Group 5 | Group 6 | Group 7 | Group 8 | Group 9 | Group 10 | Group 11 | Group 12 | Group 13 | Group 14 | Group 15 | Group 16 |
Global Functions | ||||||||||||||||
GP# | GP1 | GP2 | GP3 | GP4 | GP5 | GP6 | GP7 | GP8 | GP9 | GP10 | GP11 | GP12 | GP13 | GP14 | GP15 | GP16 |
F3 | Bank 1 | Bank 2 | Bank 3 | Bank 4 | Bank 5 | Bank 6 | Bank 7 | Bank 8 | Pattern 1 | Pattern 2 | Pattern 3 | Pattern 4 | Pattern 5 | Pattern 6 | Pattern 7 | Pattern 8 |
F4 | Next bar | Next quart. | Next 8th | Next 16th | Clear Patt | Clear Track | Copy Track | Copy Patt | Paste | Save | MIDI | SysEx |
Button | Loop | Fwd | Rwd | Stop | Play | Tap | Ins. Select | Datawheel |
Pattern Play | Set loop points | Next MetaBank | Prev MetaBank | Stop | Play | Tap | Ins. Select | |
Pattern Edit | Set loop points | Next Bar | Prev Bar | Stop | Play | Audition | Ins Select | Meter |
Song Play | latch loop | Next Pos. | Prev Pos | Stop | Play | Tap | Ins. Select | |
Song Edit | Jump point | Next MetaBank | Prev MetaBank | Stop | Play | Tap | Ins. Select |
There are 3 main components to this modification:
The 808's instruments are all comprised of a combination of twin-t oscillators, a noise source and simple VCA's. Both the twin-t and the envelope take a breif pulse of varying amplitude to trigger and set the amplitude and each of the 808's instruments have a AND gate made up of 2 transistors to interface with the digital controller. These AND gates have inputs for 2 signals, called common trig and instrument data. Each instrument has it's own data line but there is only one common trig which is shared by all instruments. The common trig signal is active high for 1ms in synchronization with the master clock. Each instrument data signal is a 5v active high 1ms pulse which is only present when that instrument should be triggered. The AND gate insures that both signals are present before sounding an instrument. Creating the instrument data signal is easy using MB hardware, a DOUT pin does the job nicely. Altering the code to flash a DOUT pin on a note event is fairly simple as well. The common trig signal is a little more complicated. The accent data, which is a voltage between 5v and 15v is also represented in the common trig signal. As such it is the pulse present on the common trig input that triggers the instrument while the instrument data signal insures the instrument is only triggered at the right step. Luckily the accent signal only needs two states, on and off, where off is always 5v and on is a higher voltage determined by a potentiometer. Now, this could be be done with a logic switch like the 4016 or 4066, using a DOUT pin to toggle between connecting the common trig line to 5v or the wiper of the accent pot. However, looking over the schematics I've found an even simpler way that only needs a couple transistors. The concept is simple, we still use a pot connected as a voltage divider between the 5v and 15v rails to get our accent voltage but a simple transistor can be used to shunt the voltage of the wiper to the 5v rail when it is turned on. If we invert the common trig signal in code so that it is active low we only need the single transistor ;) It should be noted that the original schematic has 2 47uF capacitors as local resoviors for the common trig line. Testing on the beta unit showed that the current draw on the common trig line could sometimes be high enough that these caps are needed to keep the voltage from sagging.
Now, in the original, the common trig pulsed on every clock tick. This isn't neccessary, instead the common trig line will only be pulsed when a note on occurs.
In order to get the most out of the SEQ application without using a datawheel or an LCD and without risking becoming totally incompatible with future versions I decided it was best to use the 4 function buttons to create additional layers of menu shortcuts. In order to do this I need to modify the code in each of the “F” buttons handlers. These can be found starting on line 681 of seq_buttons.inc. First I cleared out the code that was in there. Now, the simplest way to do this is to set a bit representing when one of the menu buttons is pressed. Since I want them all to be momentary I can then simply clear the bit when the button is released. Code will be needed to be sure that only one bit is set at a time as it makes no sense to edit multiple menu's at once. Now, in order to turn these button presses into additional menu shortcuts the operation of the GP's need to be overloaded with 4 additional cases represented by the bits in the “current_menu” register. Since the operation of the GP buttons and the menus is not exactly straight forward care needs to be taken so that the normal operation of the SEQ application is not interrupted. SO, how, exactly do the GP menu shortcuts work?
This is done using one of TK's macros: “BIFSET” which checks if a specified bit in a specified register is set and then branches to a specified function if it is. The register is SEQ_MODE0, the bit for Menu mode is SEQ_MODE0_MENU. The line of code:
''BIFSET SEQ_MODE0, SEQ_MODE0_MENU, BANKED, rgoto SEQ_GP_Mode4_Button''.
The functionality we want to add is very similar to the Menu shortcut mode, but lets not jump there just yet, there is more to learn right here.
Spend some time reading that file until you get a grasp of it's premise. Menus are created and navigated by indexing through a matrix of function pointers. Take note of some parameters from cs_menu.inc:
Let's allow that to sink in for awhile.
''-------------------------------------------------------------------------- ;; This function adds WREG to CS_MENU_PARAMETER_[LH] and saturates ;; if the max value has been reached ;; IN: add value in WREG ;; OUT: result in CS_MENU_PARAMETER_L ;; branches to menu parameter hook and requests screen update ;; --------------------------------------------------------------------------''
A custom all-in-one PCB is provided
List of pots, buttons, faders and blah - suggestions on good parts and where to buy them + how to hook them up - links
Connection diagrams - links if needed (create in you projects namespace
Enclosure ideas - link to case construction tips? / provide space to encourage other users to wikify their case designs
We recommend you read software before you continue.
Links
Up to you