Git Product home page Git Product logo

sas-example-app's People

Contributors

somnaths09 avatar

Watchers

 avatar  avatar

sas-example-app's Issues

App crash case in AudioRecord

Reproducible steps:
Press Initialize
Press Set Path
Press Play Recording
App crashes

Need to check if same steps cause crash in media recorder

Autostop processing function clarification

Invalid state

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.

Recorder modes (Combining duration and autostop features)

Modes:

  1. Autostop - Disabled, Audio Recording Duration is specified when intantiating the recorder object
    Once recorder has started, it can be stopped by any of the following events
  • manually stopping the recorder
  • automatically stops when Audio Recording Duration is exceeded
  1. Autostop - Enabled, Audio Recording Duration is specified when intantiating the recorder object
    Once recorder has started, it can be stopped by any of the following events
  • manually stopping the recorder
  • automatically stops when Audio Recording Duration is exceeded
  • Autostop logic triggers stopping of recorder (Autostop logic identifies that user has started speaking and then stopped speaking)

MediaRecorder Audio quality issues

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

Recorder object boolean to keep track of events for AutoStop

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.

App crash case

Open App
Tap Create Recorder Instance
Press close button

ARL state prior to initialization

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.

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.