Skip to content

timothee-durand/cadence

Repository files navigation

Cadence.js

What is Cadence.js?

Cadence.js is a TypeScript library designed for playing standard music samples with customizable functions. It allows you to create loops with music, making it an excellent tool for educational purposes. With its ease of use and open-source nature, Cadence.js provides a platform for creative exploration and software development.

Features

  • Sample Handling: Read and manipulate samples with ease.
  • Interval Creation: Create intervals between different samples.
  • Parameter Modification: Modify various parameters on samples, such as amplitudes, speed, volume, and more.
  • Loop Creation: Easily create loops with your samples.
  • Effects: Add effects like reverb, reverse, echo, and distortion.

Demo

For a demonstration of Cadence.js in action, check out our playground.

Getting Started

Installation

To install Cadence.js in your project, use npm:

npm install cadence

Usage

// Example code snippet using Cadence.js
import { Cadence } from 'cadence';

const cadence = new Cadence();
// Your code here...

For more detailed usage instructions, documentation can be found here.

Contributing

See CONTRIBUTING.md for more information on how to contribute to Cadence.js.