Giter Club home page Giter Club logo

peaks's Introduction

$peaks, a fully-functional low-cost reversion of Mutable instrument's Peaks

Photo of the finished build

Motivation

Where I am from it is sometimes very difficult to source components for digital Eurorack modules, but I had my eyes on Peaks for a long time and I wanted to do something cheap with the same functionality. The basic premise was to use a bluepill (stm32f103c8t6 development board) and omit the DAC IC, relying on a technic called dual PWM as it is described in openmusiclabs blog and used, for example, in the popular Mozzi Library for Arduino.

Description

The project uses a single sided home-etched PCB with a couple of jumper wires, the potentiometers are regular 16mm ones mounted at the side, also helping with the mechanical stability of the build.
You will need a bluepill capable of 128kb of flash, I bought mine advertised as only having 64kb, but it ended up not being the case, so it's worth the try

Firmwares

There's the option to flash one of two firmwares that where ported. The original Mutable Instruments one is in the firmware/peaks directory. The Mutated Mutables Dead Man's Catch is in the firmware/peaks2. The later adds a lot of functionality to the module, although the UI becomes a bit confusing.
Compiled binaries and HEX files are provided for both under firmware/build.

Changes

  • Added a driver for the PWM DAC running at 14 bit depth, 48Khz sampling rate. (File in firmware/peaks/drivers/pwm_dac.h)
  • Activated the clock for the TIM4 in firmware/peaks/drivers/system.cc
  • Bypassed the bootloader: This was done as to simplify the code, it does not interfere with the calibration functionality of the module.
  • Redesigned the output portion of the hardware to accommodate to the PWM levels.

Flashing and development

To make it easier I have left binaries and .HEX files in firmware/build, this can be flashed directly to the bluepill using STM32CubeProgrammer.
Another option is to install the mutable-dev-environment and replace the peaks folder with the one inside /firmware, then executing

make -f peaks/makefile upload_serial

We use this command because the bootloader is bypassed.

Thanks

I want to thank Emilie Gillet for open-sourcing her work which is a constant inspiration for many musicians and makers, and encourage everyone interested in this project to checkout the Mutable instrument's Forum in which Emilie is a very active member.

peaks's People

Contributors

matias-levy avatar

Stargazers

MODUMATICS avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.