All Projects → Lorti → vue-dictaphone

Lorti / vue-dictaphone

Licence: MIT license
🎙️ Vue.js dictaphone component to record audio from the user

Programming Languages

Vue
7211 projects
javascript
184084 projects - #8 most used programming language
HTML
75241 projects

Projects that are alternatives of or similar to vue-dictaphone

fast-mixer
Mini recording and mixing studio for android
Stars: ✭ 47 (+113.64%)
Mutual labels:  audio-recorder
vue-loading
Loading bar for Vue.js apps using axios
Stars: ✭ 19 (-13.64%)
Mutual labels:  vue-component
simple-web-audio-recorder-demo
A simple HTML/JS demo that uses WebAudioRecorder.js to record audio on a web page
Stars: ✭ 141 (+540.91%)
Mutual labels:  audio-recorder
QuietVR
A Quiet Place in VR: Generate any 3D object with your voice. It's magic!
Stars: ✭ 17 (-22.73%)
Mutual labels:  audio-visualizer
JetTunes-Desktop-Music-Player
Material design music player made with javafx
Stars: ✭ 36 (+63.64%)
Mutual labels:  audio-visualizer
vue-ele-import
超简单、好用的 element-ui Excel 导入组件
Stars: ✭ 50 (+127.27%)
Mutual labels:  vue-component
audio-visualizer-with-controls
html5 audio visualizer with audio play controls
Stars: ✭ 83 (+277.27%)
Mutual labels:  audio-visualizer
vue-github-activity
A Vue based github feed activity component.
Stars: ✭ 28 (+27.27%)
Mutual labels:  vue-component
RecPlayer-iOS
A simple iOS application that records audio and plays it back. (+some animations)
Stars: ✭ 21 (-4.55%)
Mutual labels:  audio-visualizer
vue-telegram-login
Vue component for Telegram login
Stars: ✭ 73 (+231.82%)
Mutual labels:  vue-component
hermes-audio-server
An open source implementation of the audio server part of the Hermes protocol
Stars: ✭ 23 (+4.55%)
Mutual labels:  audio-recorder
vue-odometer
Vue.js(v2.x+) component wrap for Odometer.js
Stars: ✭ 63 (+186.36%)
Mutual labels:  vue-component
audiovisualizer
Another simple audio visualizer for android.
Stars: ✭ 33 (+50%)
Mutual labels:  audio-visualizer
vue-pattern-input
Use RegExp to limit input
Stars: ✭ 25 (+13.64%)
Mutual labels:  vue-component
reco
A simple audio recording app for modern Linux desktop environment like Pantheon
Stars: ✭ 47 (+113.64%)
Mutual labels:  audio-recorder
vue-drag-zone
Drag Zone component for @vuejs
Stars: ✭ 127 (+477.27%)
Mutual labels:  vue-component
vue-circle-choice
A circle color choice and navigation with Vue.js
Stars: ✭ 20 (-9.09%)
Mutual labels:  vue-component
vue-tiny-pagination
A Vue component for create a tiny pagination with Flexbox
Stars: ✭ 20 (-9.09%)
Mutual labels:  vue-component
layui-vue
layui - vue(谐音:类 UI) 是 一 套 Vue 3.0 的 桌 面 端 组 件 库
Stars: ✭ 112 (+409.09%)
Mutual labels:  vue-component
modular-led-controller-workstation
🎵 🌈 Real-time LED strip music visualization using Python and the ESP8266 or Raspberry Pi
Stars: ✭ 21 (-4.55%)
Mutual labels:  audio-visualizer

vue-dictaphone

Donate

🎙️ Vue.js dictaphone component to record audio from the user


Features

  • HTML/CSS is fully customizable via Scoped Slots
  • Spectrum analyser for visualising frequencies (Optional)
  • stop event returns an $event object containing
    • the audio blob ($event.blob) for further processing
    • and a data URL ($event.src) for immediate output to the user
  • Components emit an error event, when the browser does not support audio recording or the user has blocked microphone access.

Installation

npm install --save vue-dictaphone
yarn add vue-dictaphone

Usage

import VueDictaphone from "vue-dictaphone";
Vue.use(VueDictaphone);
<vue-dictaphone @stop="handleRecording($event)" 
                v-slot="{ isRecording, startRecording, stopRecording, deleteRecording }">
    <button v-if="!isRecording" @click="startRecording">Start recording</button>
    <button v-else @click="stopRecording">Stop recording</button>
</vue-dictaphone>

<vue-dictaphone-spectrum-analyser/>

<template v-if="audioSource">
  <audio :src="audioSource" controls></audio>
</template>
new Vue({
  // ... 
  data: {
    audioSource: null
  },
  methods: {
    handleRecording({ blob, src }) {
      this.audioSource = src;
    }
  }
  // ... 
});

File types

You can pass an optional mime-type prop on the vue-dictaphone element to change the MIME type of the recorded audio.

<vue-dictaphone @stop="handleRecording($event)" mime-type="audio/mp3">
  <!-- ... -->
</vue-dictaphone>

For a list of MIME types supported by major browsers take a look a Media formats for HTML audio and video on MDN.

Author

Manuel Wieser
https://manu.ninja/
https://twitter.com/manuelwieser
https://www.paypal.me/manuninja

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].