somnaths09 / sas-example-app Goto Github PK
View Code? Open in Web Editor NEWExample App demonstrating use of SAS-Library
Example App demonstrating use of SAS-Library
In SASAudioRecordExample, which uses the library as an aar.
On first screen, have 2 buttons:
Create Media/Audio Recorder instance
For Media Recorder Instance, additional parameters available for access:
Reproducible steps:
Press Initialize
Press Set Path
Press Play Recording
App crashes
Need to check if same steps cause crash in media recorder
Use 200ms default value
Which function is supposed to be called when autostop mode is enabled?
OR
Code currently calls lower one. For what case is the upper one called for then?
If all buttons from top pressed sequentially (sunny day scenario) on pressing Stop Recording after Start recorder puts recorder in invalid state.
Have not managed to record at all due to this.
Modes:
Check MediaRecorder settings from HappyLingo. Quality is poor when recording here. Mostly bitrate is the issue. Also for MediaRecorder use the correct file extension (mp4) instead of .wav
Processing logic needs to know if it has already identified that the person has started speaking so that it can check if person has stopped speaking. If this state is not known, entire energy buffer will need to be processed to identify if the user has both started speaking and stopped speaking and processing time will vary based on how long the buffer is.
If the state of user having started speaking is known, one can just look back for a fixed duration to identify if the user has stopped speaking. Processing time will be constant in this case.
Open App
Tap Create Recorder Instance
Press close button
Why does the SAS state show: "Invalid" on creating recorder. It should show "Initial"?
If ARL is not initialized and if you try to set path, you get a toast indicating "Failed to set audio path". However, pressing on any of the other buttons "Prepare/Start Recording/Stop Recording" does not show that "ARL state: Invalid State.
Explanation: If already ARL is in invalid state, the ARL state is not updated.
No ready made function available like MediaRecorder here
Even though headphone is not connected
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.