GithubHelp home page GithubHelp logo

zvk / stretcher Goto Github PK

View Code? Open in Web Editor NEW
27.0 5.0 5.0 54.6 MB

A time stretching UI using soundtouch-js built for Berklee PULSE.

Home Page: http://zackzukowski.com/TAP-audio-player

HTML 5.76% JavaScript 78.36% Jupyter Notebook 15.16% CSS 0.72%

stretcher's Introduction

Stretcher

A time stretching web app using soundtouch-js and wavesurfer-js.

WaveSurfer Documentation:

this.states = [playing, paused, finished] this.backend.source.buffer.extract()

SoundTouch Basics:

The following code exposes soundtouch objects to the browser window:


window.soundtouch = {
    'RateTransposer': RateTransposer,
    'Stretch': Stretch,
    'SimpleFilter': SimpleFilter,
    'SoundTouch': SoundTouch,
    'WebAudioBufferSource': WebAudioBufferSource,
    'getWebAudioNode': getWebAudioNode
};

Here are the required argument types each of these constructors will take:

  • RateTransposer createBuffer=bool
  • Stretch createBuffers=bool, sampleRate=int
  • SimpleFilter sourceSound=obj, pipe=obj
  • SoundTouch sampleRate=int
  • WebAudioBufferSource buffer=obj
  • getWebAudioNode context=obj, filter=obj

Browser Requirements

MP3 Support: Chrome >= 3.0 Safari >= 3.1 Safari Mobile >= 3.2 Opera >= 10.50 Firefox >= 3.5 A note from: Mozilla's Browser Compatibility Table

[5]To avoid patent issues, support for MP3 is not built directly into Firefox. Instead it relies on support from the OS. Firefox supports this format on the following platforms: Windows Vista+ since Firefox 22.0, Android since Firefox 20.0, Firefox OS since Firefox 15.0, Linux since Firefox 26.0 (relies on GStreamer codecs) and OS X 10.7 since Firefox 35.0.

stretcher's People

Contributors

zvk avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar  avatar  avatar

stretcher's Issues

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.