Skip to content

Latest commit

 

History

History
39 lines (27 loc) · 2.42 KB

README.md

File metadata and controls

39 lines (27 loc) · 2.42 KB

gitter

Thank you for taking the time to contribute! Here are a few things to help you:

Naming Convention

Package names tend to fall under the following convention:

  • audio-*: Packages related to audio, audio-buffer, audio-oscillator etc. Typically implement functional interface: a constructor, returning a function. Usually utilise audio-format to solve common problems related to audio data conversions.
  • audio-*-stream: Packages with node stream interface, usually wrappers over plain audio-* packages, enabling audio processing.
  • pull-audio-*: Packages with pull-stream interface, usually wrappers over plain audio-* packages, enabling audio processing.
  • web-audio-*: Packages related to the Web Audio API.
  • audio-*-native: Node addon implementation of audio processing module.
  • audio-*-wasm, audio-*-asm: WebAssembly implementation of a package.

Workflow

  • Please verify new stream components with streams convention.
  • Audiojs uses very loose code style .eslintrc.json, please verify code with at least this rule set, or if you prefer, with stricter versions like standard etc.

How to Contribute

  1. Fork or branch from the master.
  2. Create commits following the commit style
  3. Start a pull request to the master branch
  4. Wait for a @audiojs/core member to review

Commit Style

  • Use the present tense ("Add feature" not "Added feature")
  • Use the imperative mood ("Move cursor to..." not "Moves cursor to...")
  • Limit the first line to 72 characters or less
  • Reference issues and pull requests

(From electron's commit style)

Also See