GithubHelp home page GithubHelp logo

toolbits / gpdsp Goto Github PK

View Code? Open in Web Editor NEW
12.0 5.0 1.0 189.24 MB

[C++ / POSIX] A real time / non-real time General Purpose DSP library, written in C++.

Home Page: https://toolbits.github.io/GPDSP/

License: MIT License

C++ 79.23% Makefile 1.98% Python 12.48% HTML 6.30%
dsp cpp real-time digital-signal-processing library general-purpose openframeworks c-plus-plus

gpdsp's Introduction

GPDSP

A real time / non-real time General Purpose DSP library, written in C++.

This is a Digital Signal Processing Library for general purpose use (for example
audio stream, data sensing, etc...) in C++ application.
Very tiny implementation enables you to use this library under the small resource environment.
It is simple to use, normally you have to use only GPDSPNodeRenderer class.
GPDSP supports generatively constructed filters from external XML files (.gpdsp file).
Both 32bits and 64bits floating point operations are supported.

GPDSP supports next operations:

o GPDSPBufferInputNode: inputs data from some data stream
o GPDSPBufferOutputNode: outputs data to some data stream
o GPDSPConstantNode: makes a constant value (such as DC bias)
o GPDSPSignNode: compare value with zero
o GPDSPGateNode: rectifies or clips a value (such as Diode)
o GPDSPPeekNode: keeps the maximum amplitude
o GPDSPAmplifyNode: amplifies a value (such as Transistor)
o GPDSPDelayNode: makes single sample delay
o GPDSPBufferNode: makes N samples delay
o GPDSPSumNode: adds all input values
o GPDSPMultiplyNode: multiplies all input values
o GPDSPSquareRootNode: gets square rooted value
o GPDSPGenericNode: generatively constructed filter
o GPDSPSinWaveNode: generate sin wave with customizable frequency and phase
o GPDSPTriangleWaveNode: generate triangle wave with customizable frequency and phase
o GPDSPSawtoothWaveNode: generate sawtooth wave with customizable frequency and phase
o GPDSPSquareWaveNode: generate square wave with customizable frequency and phase

An audio processing example application for openFrameworks:  

screenshot

screenshot

The openFrameworks exmaple code needs ofxDatGui addon.
Please install ofxDatGui first:
https://github.com/braitsch/ofxDatGui

When you compile the example, please locates the project under:

of_v0.9.8_osx_release/
  apps/
      myApps/
          someCode/
          ...
  GPDSP/  <<-- here
      openFrameworks/
          GPDSP/
              GPDSP.xcodeproj
              ...

Compiled binary is here:
https://github.com/toolbits/GPDSP/tree/master/release

Document is here:
https://toolbits.github.io/GPDSP/

Development environment:

o macOS High Sierra (10.13.3)
o Xcode 9.2 (Apple LLVM 9.0.0)
o openFrameworks 0.9.8

gpdsp's People

Contributors

toolbits avatar

Stargazers

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

Watchers

 avatar  avatar  avatar  avatar  avatar

Forkers

wangjinquan

gpdsp'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.