Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/iddan/shepard-tone

Web Audio implementation of Shepard Tone
https://github.com/iddan/shepard-tone

audio shepard tone typescript web

Last synced: 3 months ago
JSON representation

Web Audio implementation of Shepard Tone

Awesome Lists containing this project

README

        

# Shepard Tone

Web Audio implementation of [Shepard Tone](https://en.wikipedia.org/wiki/Shepard_tone)
Based on [Jordan Eldredge's article](https://jordaneldredge.com/blog/creating-the-shepard-tone-audio-illusion-with-javascript/)

```
npm install shepard-tone
```

### Usage

```javascript
import { ShepardTone, createAudioContext } from "shepard-tone";

const shepardTone = new ShepardTone(createAudioContext());
shepardTone.play();
```

### [Demo](https://515ut.csb.app/)