GithubHelp home page GithubHelp logo

echo-synth's People

Contributors

avesk avatar dragonprevost avatar gohsato avatar

Watchers

 avatar  avatar

echo-synth's Issues

Extract Envelope Features

Given a signal, return an dict of envelope values. Each value represents the duration of each feature.

Input:

  • signal - array of signal data points

Output:

  • attack - float
  • decay - float
  • sustain - float
  • release - float

Maybe wrap this into a dictionary

envelope = {
    "attack": 0.00,
    "decay": 0.00,
    "sustain": 0.00,
    "release": 0.00,
}

Apply Amplitude Track of Envelope to Signal

Given a signal and an amplitude track construct the resulting signal. Multiply each signal point with corresponding amp track value

Input:

  • signal - array of signal data points
  • amp track - array of amplitude data points

Output:

  • signal

Construct Envelope Amplitude Track

given attack, decay, sustain, release, produce an amplitude track that models this envelope

Input:

  • envelope - probably a dictionary containing 'attack', 'decay', 'sustain', 'release'

Output:

  • Amplitude track of envelope

Oscillator Function

Function to generate signal data given a freq, amplitude, and osc type

Input:

freq - int between 20 - 20K
amplitude - float between 0-1
type - string ['sinusoid', 'square', 'triangle', etc...]
duration - float

Output:

resulting signal

Extract Frequency Domain

Given a signal return the top (10?) frequencies that are present in the signal. Make sure these frequencies are percievable by the human ear and regular hardware(within 40hz-4Khz maybe?)

Input:

  • Signal - array of signal data points

Output:

  • List of most relevant frequencies in the signal with an amplitude
output = [(440, 0.8), (250, 0.3), (200, 0.1) ... ]

Implement Sliders in Jupyter Notebook

For these note books to be usable by others we will need some level of interaction. Sliders will be used to modify the state of the envelope for example. Implement sliders into jupyter notebook so we can use the sliders to adapt the values of our envelope interactively.

docs

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.