All Projects → ZaraclaJ → Audio_recorder

ZaraclaJ / Audio_recorder

Licence: other

Programming Languages

java
68154 projects - #9 most used programming language

Projects that are alternatives of or similar to Audio recorder

Framework7 Plugin 3d Panels
Framework7 plugin to add 3d effect for side panels
Stars: ✭ 56 (-64.1%)
Mutual labels:  plugin, mobile
Slinky
A light-weight, responsive, mobile-like navigation menu plugin
Stars: ✭ 649 (+316.03%)
Mutual labels:  plugin, mobile
Swipe
A plugin for Unreal Engine 4 that exposes swipes on mobile devices as events in blueprint.
Stars: ✭ 91 (-41.67%)
Mutual labels:  plugin, mobile
Metrica Plugin Xamarin
Xamarin plugin for Yandex AppMetrica SDK
Stars: ✭ 12 (-92.31%)
Mutual labels:  plugin, mobile
Nativescript Geolocation
Geolocation plugin to use for getting current location, monitor movement, etc
Stars: ✭ 127 (-18.59%)
Mutual labels:  plugin, mobile
Hardcoder
Hardcoder is a solution which allows Android APP and Android System to communicate with each other directly, solving the problem that Android APP could only use system standard API rather than the hardware resource of system.
Stars: ✭ 1,930 (+1137.18%)
Mutual labels:  mobile
Orgzly Android
Outliner for taking notes and managing to-do lists
Stars: ✭ 2,042 (+1208.97%)
Mutual labels:  mobile
Filepicker Plugin For Xamarin And Windows
FilePicker Plugin for Xamarin and Windows
Stars: ✭ 151 (-3.21%)
Mutual labels:  plugin
Godot Engine.easy Charts
A Godot Engine addon for plotting general purpose charts. A collection of Control, 2D and 3D Nodes to plot every chart possible.
Stars: ✭ 146 (-6.41%)
Mutual labels:  plugin
Ectranslation
Android Studio Plugin,Translate English to Chinese. Android Studio 翻译插件,可以将英文翻译为中文.
Stars: ✭ 1,842 (+1080.77%)
Mutual labels:  plugin
React Native Nav Transition
React Native Nav Transition
Stars: ✭ 154 (-1.28%)
Mutual labels:  mobile
Pul
PÜL - A carpooling app designed for students to help each other get more involved in their community.
Stars: ✭ 152 (-2.56%)
Mutual labels:  mobile
Advanced Achievements
🎆 Popular plugin that adds unique and challenging achievements to Minecraft servers.
Stars: ✭ 151 (-3.21%)
Mutual labels:  plugin
Gwt Polymer Elements
Polymer Web Components for GWT. A collection of Material Design widgets for desktop and mobile.
Stars: ✭ 153 (-1.92%)
Mutual labels:  mobile
Css Modal
A modal built with pure CSS, enhanced with JavaScript
Stars: ✭ 1,829 (+1072.44%)
Mutual labels:  plugin
Composer Lock Diff
See what has changed after a composer update
Stars: ✭ 154 (-1.28%)
Mutual labels:  plugin
Runwayml For Unity
RunwayML for Unity 🎯
Stars: ✭ 151 (-3.21%)
Mutual labels:  plugin
Negroni Authz
negroni-authz is an authorization middleware for Negroni
Stars: ✭ 152 (-2.56%)
Mutual labels:  plugin
Picodeploy
Deploy Pico-8 Carts as Standalone Applications on Desktop 🖥️(Electron) and Mobile 📱(Ionic) 📦👾
Stars: ✭ 153 (-1.92%)
Mutual labels:  mobile
Vue Cli Plugin Qiankun
🚀 qiankun plugin for vue-cli
Stars: ✭ 151 (-3.21%)
Mutual labels:  plugin

Audio recorder

pub package Build Status Coverage Status

Record audio and store it locally

Usage

To use this plugin, add audio_recorder as a dependency in your pubspec.yaml file.

Android

Make sure you add the following permissions to your Android Manifest

<uses-permission android:name="android.permission.RECORD_AUDIO" />
<uses-permission android:name="android.permission.WRITE_EXTERNAL_STORAGE" />

iOS

Make sure you add the following key to Info.plist for iOS

<key>NSMicrophoneUsageDescription</key>
<string>Record audio for playback</string>

Example

// Import package
import 'package:audio_recorder/audio_recorder.dart';

// Check permissions before starting
bool hasPermissions = await AudioRecorder.hasPermissions;

// Get the state of the recorder
bool isRecording = await AudioRecorder.isRecording;

// Start recording
await AudioRecorder.start(path: _controller.text, audioOutputFormat: AudioOutputFormat.AAC);

// Stop recording
Recording recording = await AudioRecorder.stop();
print("Path : ${recording.path},  Format : ${recording.audioOutputFormat},  Duration : ${recording.duration},  Extension : ${recording.extension},");

Encoding format

For now, the plugin only use the AAC compression to encode audio. You can specify the extension of the output audio file in the file path that you give to the start method. The recognized extensions are :

  • .m4a
  • .mp4
  • .aac

If the file path does not finish with these extensions, the ".m4a" extension is added by default.

Exceptions

The start method raise an exception if :

  • A file already exists at the given file path
  • The parent directory of the file path does not exist

Getting Started

For help getting started with Flutter, view our online documentation.

For help on editing plugin code, view the documentation.

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].