Skip to content

Commit

Permalink
Init project
Browse files Browse the repository at this point in the history
  • Loading branch information
danigb committed May 16, 2016
1 parent 3398403 commit 383a3a1
Show file tree
Hide file tree
Showing 11 changed files with 101 additions and 6 deletions.
18 changes: 18 additions & 0 deletions .codeclimate.yml
@@ -0,0 +1,18 @@
---
engines:
duplication:
enabled: true
config:
languages:
- javascript
eslint:
enabled: false
fixme:
enabled: true
ratings:
paths:
- "**.js"
exclude_paths:
- dist/
- test/
- example/
2 changes: 2 additions & 0 deletions .gitignore
@@ -0,0 +1,2 @@
node_modules/
tmp/
3 changes: 3 additions & 0 deletions .npmignore
@@ -0,0 +1,3 @@
node_modules/
example/
tmp/
5 changes: 5 additions & 0 deletions .travis.yml
@@ -0,0 +1,5 @@
sudo: false
language: node_js
node_js:
- stable
- "0.12"
1 change: 1 addition & 0 deletions CHANGELOG
@@ -0,0 +1 @@
CHANGELOG
13 changes: 7 additions & 6 deletions LICENSE
@@ -1,6 +1,6 @@
The MIT License
The MIT License (MIT)

Copyright (c) 2015 Daniel Gómez Blasco <danigb@gmail.com>
Copyright (c) 2015 danigb

Permission is hereby granted, free of charge, to any person obtaining a copy
of this software and associated documentation files (the "Software"), to deal
Expand All @@ -9,13 +9,14 @@ to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
copies of the Software, and to permit persons to whom the Software is
furnished to do so, subject to the following conditions:

The above copyright notice and this permission notice shall be included in
all copies or substantial portions of the Software.
The above copyright notice and this permission notice shall be included in all
copies or substantial portions of the Software.

THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
THE SOFTWARE.
OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
SOFTWARE.

33 changes: 33 additions & 0 deletions README.md
@@ -0,0 +1,33 @@
# timestretch [![npm](https://img.shields.io/npm/v/timestretch.svg)](https://www.npmjs.com/package/timestretch)

[![Build Status](https://travis-ci.org/danigb/timestretch.svg?branch=master)](https://travis-ci.org/danigb/timestretch) [![Code Climate](https://codeclimate.com/github/danigb/timestretch/badges/gpa.svg)](https://codeclimate.com/github/danigb/timestretch) [![js-standard-style](https://img.shields.io/badge/code%20style-standard-brightgreen.svg?style=flat)](https://github.com/feross/standard) [![license](https://img.shields.io/npm/l/timestretch.svg)](https://www.npmjs.com/package/timestretch)

Yet another library to timestretch audio on the browser.

## (FA)Q

__Are other implementations available?__

Yes, a lot:
- https://github.com/sebpiq/paulstretch.js
- https://github.com/echo66/OLA-TS.js
- https://github.com/echo66/PhaseVocoderJS
- https://github.com/Infinity/Kali

And pitch shifting:
- https://github.com/mikolalysenko/pitch-shift
- https://github.com/GTCMT/pitchshiftjs

And probably more...

__Which one should I use?__

I don't know by experiencie, but @echo66 repositories looks promising.

__Then, why?__

Because I want to learn.

## License

MIT License
1 change: 1 addition & 0 deletions dist/timestretch.min.js

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

Empty file added lib/index.js
Empty file.
31 changes: 31 additions & 0 deletions package.json
@@ -0,0 +1,31 @@
{
"name": "timestretch",
"version": "0.1.0",
"description": "Simple and fast timestretching for javascript",
"main": "lib/index.js",
"scripts": {
"test": "mocha",
"dist": "mkdir -p dist/ && browserify lib/index.js | uglifyjs > dist/timestretch.min.js && ls -hall dist/",
"prepublish": "npm test && npm run dist"
},
"repository": {
"type": "git",
"url": "https://github.com/danigb/timestretch"
},
"keywords": [
"audio",
"timestretch",
"webaudio"
],
"author": "danigb <danigb@gmail.com>",
"license": "MIT",
"bugs": {
"url": "https://github.com/danigb/timestretch/issues"
},
"dependencies": {},
"devDependencies": {
"browserify": "^13.0.1",
"mocha": "2",
"uglifyjs": "^2.4.10"
}
}
Empty file added test/timestretch-test.js
Empty file.

0 comments on commit 383a3a1

Please sign in to comment.