Skip to content
Uğur Güney edited this page Oct 31, 2016 · 12 revisions

Deploy to GitHub Pages

To deploy to GitHub Pages run npm run deploy. It uses the small useful script L33T-KR3W/push-dir: Push the contents of a directory to a remote branch.

Road Map

  • Work on system design. How to separate different functionalities into different classes etc.
  • Have an oscilloscope class
  • Have a spectrogram class
  • .
  • For pitch tracker visualization: Start from right side. Shift towards left with each new window.

Done

  • Trigger based on zero-crossing
  • Try Google's material view css and materialize and bootstrap material design
  • Import Web Audio API
  • Get sound via microphone. navigator.getUserMedia()
  • Play that sound
  • Look at AnalyserNode - Web APIs | MDN. I guess that's the way of having a buffer to visualize and do FFT etc.

Development Resources

Random wisdom:

- Babel needs a preset to be installed `npm install --save-dev babel-preset-es2015`
- [uglify\-js](https://www.npmjs.com/package/uglify-js) can't process es6. In release build the order of node development scripts should be `browserify > babel > uglify`.
- .babelrc is not working when babel is piped in between. Instead use `--presets es2015` option.
- When using watchify if you want to have some global variables in browser's developer console use `global` keyword(?) `global.global_variable_name = a_variable;`.
- [Material Design Lite](https://getmdl.io/styles/index.html) Font sizes for headers
- [kirupa\.com \- Resizing the HTML Canvas Element](https://www.kirupa.com/html5/resizing_html_canvas_element.htm)
- Deploy to `gh-pages` from a `dist` folder on the master branch. Useful for use with [yeoman](http://yeoman.io). https://gist.github.com/cobyism/4730490
- [L33T\-KR3W/push\-dir: Push the contents of a directory to a remote branch](https://github.com/L33T-KR3W/push-dir)

Misc

Old Home

Clone this wiki locally