# cadence-js

> A typescript library to create music with code.

Latest version **0.0.4** (published 2024-01-11) · MIT license · 0 weekly downloads

## Install

```sh
npm install cadence-js
pnpm add cadence-js
yarn add cadence-js
bun add cadence-js
```

## Health

**Score 15/100 (F)** — status: abandoned.

Positive: no vulnerabilities.

Warnings: low downloads; no types; no esm support; pre 1.0.

Negative: abandoned; low maintenance score.

## Facts

| | |
|---|---|
| Version | 0.0.4 |
| Published | 2024-01-11 |
| First published | 2023-10-27 |
| Weekly downloads | 0 |
| License | MIT |
| TypeScript types | none |
| Module format | CommonJS |
| Dependencies | 0 |
| Unpacked size | 21.2 KB |
| Known vulnerabilities | 0 |
| Install scripts | no |
| GitHub stars | 1 |
| Maintainers | timothee-durand |
| Keywords | music, typescript, sample |

## Links

- npm: https://www.npmjs.com/package/cadence-js
- Repository: https://github.com/timothee-durand/cadence
- Homepage: https://github.com/timothee-durand/cadence#readme
- Issues: https://github.com/timothee-durand/cadence/issues
- npm.io page: https://npm.io/package/cadence-js

## Alternatives

- [@openai/codex-sdk](https://npm.io/package/@openai/codex-sdk.md) — 731.4K weekly downloads
- [babel-plugin-transform-react-jsx](https://npm.io/package/babel-plugin-transform-react-jsx.md) — 565.0K weekly downloads
- [babel-helper-remove-or-void](https://npm.io/package/babel-helper-remove-or-void.md) — 508.5K weekly downloads
- [@pnpm/store-controller-types](https://npm.io/package/@pnpm/store-controller-types.md) — 186.9K weekly downloads
- [react-native-signature-canvas](https://npm.io/package/react-native-signature-canvas.md) — 155.6K weekly downloads

## Recent versions

- 0.0.4 (latest) — 2024-01-11
- 0.0.3 — 2023-12-08
- 0.0.2 — 2023-11-17
- 0.0.1 — 2023-10-27

## README

# Cadence

# What's Cadence ?
- Play standards sample with function which is includes.
- Make loop with music.
- Educational purpose.
- Easy to handle.
- Open source.
- Easy to create software based on.
- Develop in Typescript.
- High possibility of creativity.

# Features :
- Can read samples.
- Can create intervale between different samples.
- Possible to modify some paramaters on Samples like the amplitudes, speed, volume... and more possibly.
- Can made loop with the sample.
- Can add effect like reverb, reverse, echo, distortion.

Demo [here](http://timothee-durand.github.io/cadence) 

# How to use it ?

## Installation

```bash
npm install cadence-js
```

## Usage

```typescript
import {Cadence, Loop} from "cadence-js";

const cadence = new Cadence();

const loop: Loop = {
    sample: A3Piano,
    interval: "1s",
    speed: 1
}

cadence.play(loop);
```

---
_Source: https://npm.io/package/cadence-js · Machine-readable twin of the npm.io package page. Health data is recomputed on every publish._
