The app is part of an assessment process and should not be considered a final product.
🚀 Try Live App 🚀
This is a simple React Native application designed to serve as a basic audio transcriber. The app accepts uses language audio and transcript metadata as inputs, plays the audio, and highlights the corresponding spoken phrases in real-time. The goal is to create an interactive experience where users can listen to the audio while the spoken phrases are visually emphasized on the screen.
Features
- Auido Play/pause web and native
- Phrase highlight based on current time
- Next button seeks to next phrase
- Prev button playbacks current phrase
- Prev button seeks to previous phrase if tapped under 700ms
Extra Features
- Phrase item playbacks by tapping on them
- Scroll to phrase being played if not already on screen
- smooth animations --
entry phrases
,entry panel
,phrase switch
,play button
Note: Android audio recorded through mic https://www.loom.com/share/09e2530114aa42f3b6413f7537289d4c?sid=1afbb1d3-0aea-4e78-89a8-e6b3201a8dd5
Note: Make sure you have completed the React Native - Environment Setup instructions till "Creating a new application" step, before proceeding.
First, you will need to start Metro, the JavaScript bundler that ships with React Native.
To start Metro, run the following command from the root of your React Native project:
# using npm
npm start
# OR using Yarn
yarn start
Let Metro Bundler run in its own terminal. Open a new terminal from the root of your React Native project. Run the following command to start your Android or iOS app:
# using npm
npm run android
# OR using Yarn
yarn android
# install pods if required
npx pod-install
# using npm
npm run ios
# OR using Yarn
yarn ios
If everything is set up correctly, you should see your new app running in your Android Emulator or iOS Simulator shortly provided you have set up your emulator/simulator correctly.
This is one way to run your app — you can also run it directly from within Android Studio and Xcode respectively.
To build and run the app for the web, follow the instructions below:
Before you can build the app for the web, you need to install Webpack and its dependencies.
Run the following command to install Webpack using Yarn:
# Using Yarn
yarn add webpack webpack-cli webpack-dev-server --dev
Once Webpack is installed, you can start the app on the web by running:
# Using Yarn
yarn web
This will launch the app in your default browser. The application will be live at http://localhost:8080 by default.
To package your app for production, use the following command to create an optimized build:
# Using Yarn
yarn web:build
This will generate a production-ready build of your app and output it in the build/ directory. You can then deploy this build to your web server or hosting service.