Step Sequencer Using Mozzi

Recently completed is a step sequencer that combines many different subsystems to yield a nice sounding and playful platform.  We hope that this provides enough documentation so that when I come back to this project, I can actually get up to speed quickly and accurately.  I have decided to document projects both on line via 47meters & via a paper file to keep at my home office.  Here is what the project looks like – the whole system:

Below is the schematic for the project.  Basically it consists of a filter module and a rail splitter block.  The filter module consists of a first order LPF at 7 KHz, followed by a Sallen-Key second order filter at at 8 KHz, followed by another first order LPF at 7 KHz.

Here is the wiring on the white board:

[Software Architecture] – [ Digital Realization] – [ Analog System] – [ Audio Output ]

The project looks like the following two images.  Note, that I think that the so called ‘white boards’, or ‘poke boards’, or ‘solder-less breadboards’ provides an amazing almost permanent construction medium.  I really believe that unless you plan mass production, that you stick with white boards.

I will start with the important Software Architecture (lifted from the Mozzi playbook):

Update Control

The system design consists of a sequence array that contains the notes and their relative position (all notes in MIDI integer values), which is part of a loop that tests a ‘note ready’ condidiont.  If this is satisfied, the the note frequencies are updated, and the next note cycle is initiated.

And the table for the Digital Pins:

Update Audio

This cycle, run at very high speed is responsible for the DAC response to the note(s) instantaneous value, the envelop value, and an overall mixer value to balance the sound between multiple oscillators.

Here is the filter used to reconstruct the audio and filter out excessive (out of band noise):

Just to make sure it was working properly, here is the frequency response, showing approximately a 4th order Low Pass Filter:

Low Pass Filter Response of 4th Order at 8 KHz

 

This entry was posted in How To. Bookmark the permalink.

Comments are closed.