Coder Social home page Coder Social logo

spectrum's Introduction

Spectrum

AudioUnit ports of popular open source eurorack modules

Available on App Store for iOS: https://apps.apple.com/us/app/spectrum-synthesizer-bundle/id1467384251

Building

Spectrum depends on two other git repositories to build: BurnsAudioCore and BurnsAudioUnit. The Spectrum xcode workspace expects these three git repositories to all be siblings in a directory. So for example,

mkdir auv3
cd auv3
git clone [email protected]:boourns/Spectrum.git
git clone [email protected]:boourns/BurnsAudioCore.git
git clone [email protected]:boourns/BurnsAudioUnit.git
open Spectrum/Spectrum.xcworkspace

Exploring the code

Each AudioUnit is broken down into the following components. You can find the code under the Instrument subdirectory. Audio Units with both an Effect and an Instrument version have a Shared folder holding the shared code. For example, here is the code for the Spectrum instrument.

AudioUnit.mm / AudioUnit.h (Objective-C)

Root AudioUnit class. Responsible for parameter registration, initializing and managing buffers, instantiating the C++ "kernel" where the DSP code is written. The internalRenderBlock callback is in this class, which the host calls for every render block.

ViewController (swift)

Provides the UI for the Audio Unit. The parent class, BaseAudioUnitViewController, is provided in BurnsAudioCore and handles connecting the UI to the Audio Unit instance.

Kernel (C++)

The exciting DSP code. Reads/writes parameter values into the C++ engine, contains the DSP render block. In our case it mostly manages the Mutable Instruments code and calls those DSP engines.

There are many independent, reusable components available in the other repositories, for example helper classes for initializing AudioUnit buffers, a tempo-synced LFO, or a MPE-capable MIDI processor / voice manager in BurnsAudioUnit.

License

MIT

spectrum's People

Contributors

boourns avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

spectrum's Issues

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.