summaryrefslogtreecommitdiff
AgeCommit message (Collapse)Author
2018-02-03Added a 'start listening' button to the wasm frontendJustin Worthe
Also cleaned up some emscripten leftovers.
2018-02-03Renamed wasm interface file to reflect that it isn't just emscripten anymoreJustin Worthe
2018-02-02Fixed weird isizes that should have been usizesJustin Worthe
Really, why were those there? I seem to remember them breaking an example at some point, but it doesn't seem to anymore. Maybe it was an emscripten thing?
2017-12-28Added extra build instructions for wasmJustin Worthe
2017-12-28Updated WASM build to use the new wasm32-unknown-unknown targetJustin Worthe
It's only in the nightly compiler at the moment.
2017-12-26Refactored to use more extensive typingJustin Worthe
2017-12-26Updated GTK version and fixed linting issues from ClippyJustin Worthe
2017-12-26Moved overall model updating logic out of the GUI layerJustin Worthe
This will be useful eventually for sharing a bit more overall application logic with the wasm build.
2017-11-27Tweaked webaudio settings to decrease latency a little and remove incorrect ↵Justin Worthe
smoothing
2017-11-12Added loading and error indications for web UIJustin Worthe
2017-11-11Fixed incorrect stderr function name in javascriptJustin Worthe
2017-11-10Added polyfill for web audio apiJustin Worthe
2017-11-09Added docs to the complex parts of the rusty microphone javascriptJustin Worthe
Also refactored some stuff
2017-11-08Moved webassembly build automation to a makefileJustin Worthe
2017-11-05Fixed positioning of framerate labelJustin Worthe
2017-11-05Set up web interface to mimic GTK interfaceJustin Worthe
2017-11-04Updated calls from web to limit the window size to 512 samplesJustin Worthe
2017-11-04Changed wasm build to use release modeJustin Worthe
The performance difference was significant.
2017-11-03Added a connection to the microphone through the web, calling into RustJustin Worthe
2017-10-16Added correlation function which updated array in placeJustin Worthe
2017-10-16Added 'brew update' to travisci macos build scriptJustin Worthe
There's currently an error in the build on installing the dependencies from homebrew. From the comments here https://github.com/Homebrew/brew/issues/3299, looks like this might solve it.
2017-10-15Added emscripten calls for hz interpretationJustin Worthe
This also uncovered a weird compilation issue. Emscripten did NOT like me using the remainder operator with a floating point number.
2017-10-15Moved emscripten APIs to their own module and added stubs for other methodsJustin Worthe
2017-09-24Updated readme to include info a WASM buildJustin Worthe
2017-09-24Emscripten endpoint for finding fundamental frequencyJustin Worthe
IT'S ALIVE!
2017-09-24Cleaned up transforms apiJustin Worthe
- made things that didn't need to be public hidden - renamed find fundamental function to remove correlation (there isn't an alternative anymore)
2017-09-18Updated readme to include upcoming features planJustin Worthe
2017-09-10Merge branch 'master' of github.com:JWorthe/rusty_microphoneJustin Worthe
2017-09-10Removed unnecessary rounding of errorJustin Worthe
2017-09-10Added compile flags to disable anything that shouldn't end in a wasm buildJustin Worthe
- No GTK - No Portaudio
2017-08-12Fixed potential index out of bounds errorJustin Worthe
2017-08-12Merge branch 'master' of github.com:JWorthe/rusty_microphoneJustin Worthe
2017-08-12Added missing requirement for Mac build processJustin Worthe
2017-08-02Readded frame skippingJustin Worthe
This was becoming an issue on debug builds on the laptop. Really, it's for the best to skip frames rather than getting stuck in a perpetual time delay.
2017-08-02Added installation needed for base Fedora installJustin Worthe
2017-08-02Made OSX travis build required and updated readme to reflect requirementsJustin Worthe
2017-08-02Added missing portaudio dependency to MacOS buildJustin Worthe
Looks like the portaudio automagical download and build only works on Linux :(
2017-08-02Updated sharp/flat characters to use correct unicodeJustin Worthe
2017-08-02Removed unnecessary commentJustin Worthe
2017-08-02Experimenting with adding OSX travis buildJustin Worthe
2017-07-22Fixed incorrect type inferrence to a vector rather than a sliceJustin Worthe
2017-07-21Made changes suggested by ClippyJustin Worthe
2017-07-15Decreased window size and increased framerateJustin Worthe
The samller windows size has a few effects: 1. the frequency calculation will be less accurate, because less iterations of the binary search will be effective. 2. 'mixed signals', measures at the start or end of a note where half the signal is one thing and the other half is something else will have less impact, since they will be on the screen for less time. The higher frame rate also looks really nice.
2017-07-12Simplified loop for doing calculations from microphone samplesJustin Worthe
In the benchmarks, the correlation can be done in 0.5ms. I'm only expecting new samples from the microphone every 23ms at best. I don't need to worry about dropping frames at this point.
2017-07-12Added benchmark for finding fundamental with correlationJustin Worthe
2017-07-11Updated silence level and made no pitch's error show a 'perfect' pitch ↵Justin Worthe
background
2017-07-08Ignored audio device unit tests because Travis doesn't have audio devicesJustin Worthe
2017-07-08Attempt to enable dummy sound device on travisJustin Worthe
It's not clear online on if this will actually work or if it's disabled on Travis. It definitely was disabled in 2014, according to this issue https://github.com/travis-ci/travis-ci/issues/1754, but the comments at the bottom imply it may work now.
2017-07-08Refactoring of code to be more functionalJustin Worthe
If tests break on travis after this, it's because I reenabled some portaudio tests. I'm not sure if travis actually has sound available on their build servers.
2017-07-06Updated readme to indicate lack of Windows supportJustin Worthe