Code Monkey home page Code Monkey logo

dsp's Introduction

---------------------------------------------
explorations
by ramona a •w•                      ←-___←↑→__-→
9-3-20                              ←-///π\//π \\-→
><>|^*^|<><                         ←-\\π↓|↑|↓π//-→
_______                              ←-\\π+r+π//-→
--___--                               ←-\\π+π//-→
  |||___-π-___...                      ←-\\↑//-→
  |||---|||---|||                       ←-\π/-→
 / π \       / π \                       ←-|-→
 \___/       \___/                        ←↓→
---------------------------------------------------
              DSP tests & studies
---------------------------------------------------
---------------------------------------------------

• mv_avg - moving average filter by convolution
  • this program takes a mono 8bit wav file of arbitary length as input
  • the output samples are calculated by convolving the input signal
    with a 45 point impulse response equal to 1/45 at all points
  • applies the algorithm to the entire input waveform, storing the filtered
    output as a new wav file in the same directory
  
• mv_avg_rec - moving average filter by recursive convolution
  • this program takes a mono 8bit wav file of arbitary length as input
  • by recursion, the output samples are calculated from prior outputs,
    averting the need for M - 2 additions every output sample
    ♪ still requires one multiplication
  • applies the algorithm to the entire input waveform, storing the filtered
    output as a new wav file in the same directory

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.