biggestt / toney Goto Github PK
View Code? Open in Web Editor NEWonline chinese tone helper
online chinese tone helper
The sums used for variances and covarianses could be calculated in the following way by using a JS library for matrices. Since these calculations are done roughly 60 times per second and have a high level of complexity they might be a good subject for future optimisation.
The first time the soundfile plays is works but when trying to replay it either doesn't play, does play but no line or it plays with line drawing. Might have to do with the ugly setTimeout hack in toneModel initialize function
Using Chrome Devtools heap snapshot tool it can be seen that the application while running gathers up increasing amount of data that doesn't gets garbage collected. Addy Osmanis post helped finding this issue.
http://addyosmani.com/blog/taming-the-unicorn-easing-javascript-memory-profiling-in-devtools/
Snapshot of the heapsnapshots constant increase:
Currently there is only a threshold value in frequency spectrun variance that decides if a sample is noise or speech. Options to look into:
With docco the comments can be interpreted as markdown and nice documents like the one for the javascript tuner will be produced.
To get the third tone the regression analysis needs to be segmented. The breakpoint could be for example when the lines k-value changes sign or when a confidence test gets below a certain threshold value.
Try adjust the parameters of the HPS algorithm so that it outputs a better toneline.
Currently the hack to solve the audioended playback bug, #1 , involves reloading the soundfile and resetting the soundfileInputNode.
Since we only are interested in the relative change in tone over time the microphone and the user's tonelines dont have to be plotted on the same scale.
Set up a demo of the current development version of Toney on the gh-pages.
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.