dougjohnston / angular-drum-machine Goto Github PK
View Code? Open in Web Editor NEWA drum machine built with AngularJS and other modern web components.
Home Page: https://drums.dojosto.com
A drum machine built with AngularJS and other modern web components.
Home Page: https://drums.dojosto.com
Add some visualizations of the machine as it's playing...a chance to play around with D3, Canvas, SVG, etc.
Remove the beat counter and have it highlight the current beat in the grid itself.
Remove bootstrap dependencies and replace it with Foundation 5.
Fix the stop button so that it doesn't clear the whole grid when pressed.
On initial load of the page, some of the template code is displayed prior to AngularJS kicking in and loading the grid. Fix this, please.
Add a reset button that will clear the grid when pressed.
@dougjohnston I'd like to know if there are some updates regarding the Angular 2 version.
Add media queries, etc. to enable better mobile support.
Take out the dependency on Sinatra and just use something like Grunt to do the preprocessing.
Calling drumMachine.init() inside the controller doesn't seem right. Look into initializing the drum machine with asynchronous data earlier in the process with a promise. Approach:
http://stackoverflow.com/questions/16286605/initialize-angularjs-service-with-asynchronous-data
New visitors to the page should only have to hit play in order to hear a fat beat.
Look into using system time to track intervals rather than setTimeout:
http://www.sitepoint.com/creating-accurate-timers-in-javascript/
You must disabled the play button after it is pressed. Error can see for yourself by clicking it a second time in demo.
Rather than being embedded into a service, move the current kit into a JSON file. While you're at it, add a few more kits to choose from.
Add support for 16th notes (optional)
Give users the ability to create a playlist of different loops. For example:
Loop 3 x2
Loop 4 x6
Loop 1 x2
This would allow users to essentially create a song.
Most likely using just local storage, let visitors save their drum loops and be able to recall/load them during a later visit.
I installed your app today and NPM module downloads gave me dependency error: "[email protected] wants [email protected] || >= 0.14.0-rc.0". Your package.json lists : "karma": "~0.12.0". The issue resolved itself when I ran a grunt-karma upgrade: "$ npm install [email protected]" So you might want to up the package.json karma version to 0.13.0 . . . although i am not yet sure what effect that will have on running grunt-karma (since I haven't done it yet).
Yesterday's update broke the width of the grid on smaller screens.
The move to Foundation messed up the vertical alignment of the row labels.
Remove the stop button all together and add a pause and reset button instead.
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.