https://github.com/praseetha-kr/mustic
📱🎶 Device as music stick
https://github.com/praseetha-kr/mustic
device-orientation web-audio-api
Last synced: about 1 year ago
JSON representation
📱🎶 Device as music stick
- Host: GitHub
- URL: https://github.com/praseetha-kr/mustic
- Owner: Praseetha-KR
- License: mit
- Created: 2017-07-11T18:56:42.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2017-07-14T15:52:15.000Z (almost 9 years ago)
- Last Synced: 2025-02-16T15:51:05.593Z (over 1 year ago)
- Topics: device-orientation, web-audio-api
- Language: JavaScript
- Size: 401 KB
- Stars: 0
- Watchers: 2
- Forks: 0
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# mustic
> 📱🎶 Device as music stick
[](https://travis-ci.org/Praseetha-KR/mustic)
[](https://coveralls.io/github/Praseetha-KR/mustic?branch=master)
[](https://david-dm.org/Praseetha-KR/mustic)
[](https://david-dm.org/Praseetha-KR/mustic?type=dev)
**Mustic** is an Experimental app which takes input from the *Device Orientation API* and gives to *Web Audio API*. Basically what it does is listening to the orientation change, combines the (alpha, beta, gamma) value to produce frequency for the audio output.

## Getting started
### Setting up Dev
Install local dependencies from project's root folder:
```
yarn
```
`gulp-cli` is required as global npm dependency.
### Building
For the initial build:
```
npm run build
```
Watch for build changes:
```
npm run dev
```
### Testing
To run test:
```
npm test
```
Watch for test changes:
```
npm run test-watch
```
Generate test coverage report:
```
npm run test-coverage
```
### Running
```
npm start
```
This will start the server up and running at [http://localhost:5000](http://localhost:5000)
## Demo
> ### ⚠️ Warning
> This app's generated sound is not optimized. **The sound is really creepy** which might affect your ear/brain, please be aware!! ..and keep mobile volume down if you are testing.
#### [Demo](https://praseetha-kr.github.io/mustic/) - works only in mobile devices