GithubHelp home page GithubHelp logo

synth-widget's Introduction

Synthesizer Widget

This is a synthesizer widget built with the HTML5 Web Audio API and Javascript. No external libraries are used (e.g. JQuery), to reduce the weight and dependencies. The widget is designed to be embedded into webpages with as little work as possible.

Alt text

Features

  • Waveform: Click the waveform icons to change the timbre of the notes.
  • On/Off: Turn the synthesizer on and off by clicking the power button.

API

To embed the widget, add the following lines in the body of your HTML file:

  <div id="synth-widget">
  <script async src="https://rawgit.com/jjjreisss/lib/synth-widget/master/widget.js"></script>

This will default to a 400px by 300px widget. In order to specify your own dimensions, change the code to:

  <div id="synth-widget" width=[your-width] height=[your-height]>
  <script async src="https://rawgit.com/jjjreisss/lib/synth-widget/master/widget.js"></script>

History

This widget is part of a series of similar widgets. The first of these is a drawing widget which you can find here.

Demo

You can see the widget demo'd on my portfolio page.

synth-widget's People

Contributors

jjjreisss avatar

Watchers

James Cloos avatar Jonathan Reasor avatar

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.