Code Monkey home page Code Monkey logo

js-audio-recording's Introduction

  • ๐Ÿ‘‹ Hi, Iโ€™m @ralzohairi
  • ๐Ÿ‘€ Iโ€™m interested in Front-end Web Development
  • ๐Ÿ“ซ You can reach me on LinkedIn

js-audio-recording's People

Contributors

ralzohairi avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar  avatar  avatar

js-audio-recording's Issues

Could you add a license?

Technically, repositories without a license can't be used by anyone, if that's what you intended that's fine.

If it's not though, it would be a good idea to add a license, something like MIT or public domain is what I usually use for sample code.

"Unhandled Promise Rejection" error when trying to play audio in Safari

Hi, the following error is triggered in Safari when trying to play the recorded audio:

Unhandled Promise Rejection: NotAllowedError: The request is not allowed by the user agent or the platform in the current context, possibly because the user denied permission.

The issue seems to be Safari being a bit tougher on what it is seeing as an auto-playing audio file, although a button is being clicked to stop the audio recording the stopAudioRecording function then automatically calls playAudio(audioAsblob) but Safari seems to see this process as the audio trying to autoplay (perhaps because the playAudio function creates the audio HTML element dynamically at that point?).

I was wondering if there was any way to work around this error by adding a completely separate Play button to trigger playback of the audio?

Thanks!

Upload recorded file to the server

Would it be hard to upload recorded file to server?

I am thinking about building a project where people would be building an audio together (something like "singing/chanting together"). I would record the initial audio. Next person would record the audio over it. I would merge both files together with ffmpeg on server and the next person would be able to record his version on the top of both files.

I think the best idea to start is "5 minute chanting for peace" because peace is what the world needs right now. I looks like I will start with "forking this project". Thanks for posting the article and code publicly!

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.