Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
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
- Host: GitHub
- URL: https://github.com/iddan/shepard-tone
- Owner: iddan
- Created: 2020-06-27T16:34:56.000Z (over 4 years ago)
- Default Branch: master
- Last Pushed: 2022-03-27T00:14:19.000Z (almost 3 years ago)
- Last Synced: 2024-09-14T22:06:29.025Z (4 months ago)
- Topics: audio, shepard, tone, typescript, web
- Language: TypeScript
- Homepage: https://iddan.github.io/shepard-tone
- Size: 126 KB
- Stars: 2
- Watchers: 2
- Forks: 1
- Open Issues: 4
-
Metadata Files:
- Readme: README.md
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/)