GithubHelp home page GithubHelp logo

angular_drumsequencer's Introduction

Javascript Drum Sequencer

Drum sequencer made with Howler.js, node, and angular.

The project is still being built out/updated. Check back to see new additions in the future!

Description

The app is a single-page front end drum sequencer made with angular. The sequencer was built using Angular's controller methods, although the functions could have just as easily been server side. Angular's scope and ng-click were used heavily to get and set data from the user.

Node/Express hosted server

Although the app is largely built in the front end, it relies on Node.js and Express.js to run it's server.

Implementing Howler.js

Sound buffering was handled using Goldfire's Howler.js library. Sounds are buffered when the user loads the page, so that there is no load time when they are set to play in sequence with Javascript's setInterval. Sounds are loaded, and applied to the playback sequence when a user assigns them. The sequence is an object with keys for each sound node, containing values of arrays of sound objects. This enables mutliple sounds to be applied to the same note node, and multiple sounds are able to be played simultaneously.

Angular visualization

Once the playback was working correctly, one of the major problems was giving users visual feedback of their sound assignments, so they could confirm when they placed a sound. To correct this, I used ng-class to show elements based off their existence.

Questions/Comments

If you have any questions, have noticed any bugs, or have ideas for future implementation, please feel free to PM me!

License

Created by Gabriel Ratcliff 2016

angular_drumsequencer's People

Contributors

gratcliff avatar

Watchers

 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.