Code Monkey home page Code Monkey logo

oscilloplasm's Introduction

Almost complete schematics for complex dual analog oscillator in tradition of Buchla 258/259 with redesign from first principles for the digital age. For non-commercial use only, e.g. education, DIY. Modulation oscillator is a self stablizing sine wave based around a trig identity for instant in the loop gain correction. Basic sine wave (harmonic oscillator) equation is:

$$ \frac{d^2x}{dt^2} + \omega^2 x = 0 $$

Where the second differential x'' (with respect to time) is passed through two voltage controlled integrators, and the inversion of the x output connected to the input to solve. Here, ฯ‰ = 2ฯ€f which is the angular frequency of the sine wave.

The trig identity used is:

$$ sin^2 + cos^2 - 1 = 0 $$

Which generates a real time error value, and out of phase sinusoidal outputs of the second harmonic. The complete equation with stabilization is:

$$ \lambda^2 - 2k \epsilon \lambda + (\omega^2 + k^2 \epsilon^2) = 0 $$

Output oscillator is a variable harmonic wavetable that solves Legendre's Ordinary Differential Equation in real time:

$$ (1 - t^2) \frac{d^2x}{dt^2} - 2t \omega \frac{dx}{dt} + (\omega^2 - l(l+1))x = 0 $$

Where L represents the azimuthal quantum number, thus generating polynomial functions in a completely novel (and sometimes frustrating) way.

The stabilization technique in this oscillator is also state of the art, although there is a compromise between harmonic distortion and ampltiude distortion. Ampltitude distortion as the RMS to DC converter gets stuck in a modulation loop is probably the more destructive force here for audio work. It can be mitigated by avoiding rapid changes in oscillator frequency, perhaps by using a slew limiter on your seqeuncer.

Output oscillator uses four quadrant multipliers and is designed for through zero behaviour.

oscilloplasm's People

Contributors

aether-machine avatar

Watchers

 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.