Git Product home page Git Product logo

phono's Introduction

GoDoc Build Status Go Report Card codecov FOSSA Status

phono is a framework for floating point signal processing. It utilizes pipeline pattern to build fast, asynchronomous and easy-to-extend pipes for sound processing. Each pipe consists of one Pump, zero or multiple Processors and one or more Sinks. Phono also offers a friendly API for new pipe components implementations.

diagram

Getting started

Find examples in phono/_example package:

  • Read wav file and play it with portaudio link
  • Read wav file, process it with vst2 plugin and save to another wav file link
  • Read two wav files, mix them and save result into new wav file link
  • Read wav file, sample it, compose track, save result into wav file link

Implemented packages

Please, note that since phono is in active development stage, all packages are in experimental state. One of the main focus points is the stability of all listed and future packages.

  1. phono/wav - Pump and Sink to read/write files
  2. phono/vst2 - Processor to utilize plugins
  3. phono/mixer - simple mixer without balance and volume settings, Sink for inputs and Pump for output
  4. phono/asset - structures to reuse Buffers
  5. phono/track - Sink for sequential reads of asset and its slices
  6. phono/portaudio - Sink for playback

Dependencies

phono/vst2 and portaudio packages do have external non-go dependencies. To use these packages, please check the documentation:

Testing

phono/mock package can be used to test custom Pumps, Processors and Sinks. It allows to mock up pipe elements and then assert the data metrics.

phono/wav package contains Pump and Sink which allows to read/write wav files respectively. Its test is a good example of phono/mock package in use.

Contributing

For a complete guide to contributing to phono, see the Contribution giude

License

FOSSA Status

phono's People

Contributors

dudk avatar datalinke avatar fossabot avatar

Watchers

James Cloos avatar Steve Manuel avatar  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.