# Voice recording plugin

**URL:** https://meta.discourse.org/t/voice-recording-plugin/91885
**Category:** Plugin
**Tags:** deprecated
**Created:** [July 9, 2018, 2:06pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885 "2018-07-09T14:06:55Z")
**Posts on this page:** 20
**Page:** 1

<div class="post-metadata">

### Author: ![pawel](https://avatars.discourse-cdn.com/v4/letter/p/ecae2f/32.png) [@pawel](https://meta.discourse.org/u/pawel)
#### Post date: [July 9, 2018, 2:06pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/1 "2018-07-09T14:06:56Z")

</div>

> [@angus](#):
>
> This plugin is no longer compatible with the latest Discourse. The theme component has exactly the same functionality and is compatible with latest Discourse. It’s a porting of the plugin code.
> 
> Please make any comments there 🙂
> 
> [Voice Recorder Component](https://meta.discourse.org/t/voice-recorder-component/215621)

A simple voice recording plugin, that enables posting voice messages recorded directly in the browser of your desktop or mobile.

Check [english.best community forum](https://forum.english.best) to see it in action. The code is hosted [on Github](https://github.com/synweap15/discourse-voice-record).

The library uses a slightly modified version of [Microm](https://github.com/zzarcon/microm) library, which features RecordRTC and lamejs.

After the [standard installation](https://meta.discourse.org/t/install-a-plugin/19157), enable `composer_audio_upload_enabled` in the settings.

 ![image](https://global.discourse-cdn.com/meta/original/3X/4/5/4592e92a5feb0e1a09b3e2008c75f130972b1e5d.png)

When composing a new message, simply click on the microphone icon to start recording. After you’re done, your recording will be converted to mp3 for enhanced cross-browser compatibility.

 ![image](https://global.discourse-cdn.com/meta/original/3X/5/1/51bbcca472d096b5aa47550507fb7b6ec69543dc.png)

 ![image](https://global.discourse-cdn.com/meta/original/3X/c/5/c59653c0c24941de4ab67c0e1e6d55e21a63e447.png)

Currently the reencoding is done using lamejs, which isn’t optimal and can take some time for longer voice messages or on slower devices.

If for some reason it doesn’t work on your device, I’d be grateful if you could indicate the device, browser and system version. The testing wasn’t extremely extensive, but we have some users using it already. I count on some input and / or pull requests 🙂

---

<div class="post-metadata">

### Author: ![Bank\_Live](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/bank_live/32/75893_2.png) [@Bank\_Live](https://meta.discourse.org/u/Bank_Live)
#### Post date: [July 9, 2018, 3:33pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/2 "2018-07-09T15:33:58Z")

</div>

Thank you very much 😃

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [November 14, 2018, 8:36pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/3 "2018-11-14T20:36:24Z")

</div>

Cool! We regularly get asked for the ability to add a voice message or even a video recording directly to posts. I’ll try this out and let you know how it works out!

Some feedback:

- mp3, the file type of the uploaded audio recording, is by default not allowed as an upload type. suggest adding a note to the install instructions to enable mp3 uploads.
- an obvious admin setting to add would be to allow limiting the length of audio recording that can be uploaded. right now it seems that the recording can go on indefinitely though I have not tried it. A max of say 30 seconds or 2 minutes would be suitable for some communities. The utility of an audio recording diminishes the longer it gets, so some default max eg 5 minutes would be sensible.
- an admin setting to limit by trust level would be helpful
- a progress indicator during the recording would be helpful, to indicate long the recording is getting, as well as an audio level indicator to show that the audio recording is actually working.
- the file size of the saved recording is displayed in kilobytes, not megabytes, so eg a 3 minute recording is 2000+. It would be nice to see it in mb.
- as you indicated, it takes a while to save even a three minute recording, so a progress indicator of the saving process would be helpful.

Is there any scope or ability to add video recording to this plugin? It would be very welcome in my community.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [November 14, 2018, 9:44pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/4 "2018-11-14T21:44:36Z")

</div>

And a quick follow-up after spending a bit of time with this plugin. While looking at

> [@pawel](#):
>
> Check [english.best community forum](https://forum.english.best) to see it in action.

I looked around here but was not able to immediately find posts containing voice recordings (turns out it’s buried in [this topic](https://forum.english.best/t/natalie-from-australia/144676/32)). Some icon (maybe microphone?) indicating topics containing voice recordings might be a good idea, as well as the ability to filter by posts containing voice recordings in the search. Even searching mp3 did not take me straight to posts containing recordings. E.g. a filter to only return topics/posts that “include mp3 recordings”:

 ![06%20PM](https://global.discourse-cdn.com/meta/original/3X/8/2/82b07a90431020d4772e26712447d6862c5df407.png)

Also, just for giggles I recorded a 20 minute recording, then tried to upload it - but the upload failed because it was larger than the maximum size allowed. The recording was then lost, which in this case was no big deal.. it was only a recording of me taking a nap, after all. 💤 But if I had actually spent 20 minutes recording myself saying something important I would have been pretty sad to lose it! So ideally the plugin would stop the recording before the limit is reached, or at least provide a fallback method to save the recording to my device so I can upload it elsewhere and share the link as suggested by the error message.

 ![17%20PM](https://global.discourse-cdn.com/meta/original/3X/6/7/672773238b2cffd75aeff1130029f4f93a86b619.png)

Update: not sure this is a surprise but this plugin does not work on mobile, using chrome on ios. The record button just doesnt do anything.

Another update: occurs to me the record button could live in the composer options submenu. That would be better in my opinion.

---

<div class="post-metadata">

### Author: ![Openmind](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/openmind/32/88333_2.png) [@Openmind](https://meta.discourse.org/u/Openmind)
#### Post date: [January 13, 2019, 2:22pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/5 "2019-01-13T14:22:25Z")

</div>

Many thanks for all your feedback, we’ll try to implement some of your suggestions in the next update.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [January 13, 2019, 9:36pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/6 "2019-01-13T21:36:32Z")

</div>

Awesome! I remain very interested in this plugin. Let me know when you need more testing or feedback. 🚀

---

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [January 13, 2019, 10:11pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/7 "2019-01-13T22:11:19Z")

</div>

> [@tobiaseigen](#):
>
> Also, just for giggles I recorded a 20 minute recording, then tried to upload it - but the upload failed because it was larger than the maximum size allowed

Would it possible to allow the recording to be saved somewhere else and then link to that in the plugin.

Example. Say the member had a [soundcloud.com](http://soundcloud.com) account and the recording was sent to soundcloud as a private or public recording.

---

<div class="post-metadata">

### Author: ![terraboss](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/terraboss/32/381157_2.png) [@terraboss](https://meta.discourse.org/u/terraboss)
#### Post date: [January 14, 2019, 12:38am UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/8 "2019-01-14T00:38:14Z")

</div>

Intressting project, I really like it.

How about background recording in cases, to allow parallel note taking? This would be my killer feature 😉 Do you know the iOS App Notability? This is currently my way to combine notes with recordings. It’s awesome, because Notability is able to highlight all changes made while the voice is keep talking… I guess this might be too much here? 😜

---

<div class="post-metadata">

### Author: ![debryc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/debryc/32/101652_2.png) [@debryc](https://meta.discourse.org/u/debryc)
#### Post date: [May 30, 2019, 3:58pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/15 "2019-05-30T15:58:26Z")

</div>

> [@csmu](#):
>
> Would it possible to allow the recording to be saved somewhere else and then link to that in the plugin.
> 
> Example. Say the member had a [soundcloud.com](http://soundcloud.com) account and the recording was sent to soundcloud as a private or public recording.

I’d also like to support Keith’s idea of saving the recording elsewhere with one addition. Instead of each member needing a [soundcloud.com](http://soundcloud.com) account, I’d like to be able to create an admin soundcloud account so that all recordings are saved to that account. Will simplify things immensely.

---

<div class="post-metadata">

### Author: ![debryc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/debryc/32/101652_2.png) [@debryc](https://meta.discourse.org/u/debryc)
#### Post date: [June 14, 2019, 2:19pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/17 "2019-06-14T14:19:30Z")

</div>

> [@debryc](#):
>
> I’d also like to support Keith’s idea of saving the recording elsewhere with one addition. Instead of each member needing a [soundcloud.com](http://soundcloud.com) account, I’d like to be able to create an admin soundcloud account so that all recordings are saved to that account. Will simplify things immensely.

Update to this idea: I wonder if there’s a workflow that allows us to [SpeakPipe](https://www.speakpipe.com/voice-recorder) instead! It’s a free voice recorder that generates a URL that can be added to your post. It also doesn’t require people to create an account. At minimum, people could click on the microphone icon and text pops up with a link to and directions on how to use SpeakPipe.

@csmu and @pawel, this may be another topic all together. Should I split this topic?

---

<div class="post-metadata">

### Author: ![csmu](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/csmu/32/124581_2.png) [@csmu](https://meta.discourse.org/u/csmu)
#### Post date: [June 14, 2019, 8:16pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/18 "2019-06-14T20:16:03Z")

</div>

> [@debryc](#):
>
> It’s a free voice recorder that generates a URL that can be added to your post.

Is it free? If so then I think having it as an option would be excellent.

> [@debryc](#):
>
> I wonder if there’s a workflow that allows us to [SpeakPipe It also doesn’t require people to create an account.

Could the recording be stored on Amazon S3?

---

<div class="post-metadata">

### Author: ![debryc](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/debryc/32/101652_2.png) [@debryc](https://meta.discourse.org/u/debryc)
#### Post date: [June 17, 2019, 5:43pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/19 "2019-06-17T17:43:10Z")

</div>

> [@csmu](#):
>
> Is it free? If so then I think having it as an option would be excellent.

The recorder feature is free for any individual to use. They have a more robust product that does cost money, take a look for yourself!

> [@csmu](#):
>
> Could the recording be stored on Amazon S3?

There doesn’t seem to be a workflow that makes it happen automatically, though the person who makes the recording can download it and store the file somewhere else.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [June 17, 2019, 9:11pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/20 "2019-06-17T21:11:41Z")

</div>

Speakpipe does not seem to be “free as in freedom” like we get with discourse. My preference would be to avoid third party hosting of content, including these voice recordings.

You can set up your site to host all attachments on amazon s3 is that not a reasonable solution for those who may want to host longer recordings that take up more space?

---

<div class="post-metadata">

### Author: ![jimmymckinney](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/jimmymckinney/32/132840_2.png) [@jimmymckinney](https://meta.discourse.org/u/jimmymckinney)
#### Post date: [September 1, 2019, 11:35pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/31 "2019-09-01T23:35:54Z")

</div>

I’m so glad I found this plugin but I’m also hesitant to install it until there can be third-party hosting of recordings. Ideally there could be connectivity options to link it with a Google Drive, Dropbox, Vocaroo, or some other third party site in addition to self-hosting, but third party hosting would be especially beneficial for hosted communities that do not have a large amount of storage space. Looking forward to any future updates to this app and thanks Pawel for making it!

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 3, 2019, 4:32pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/32 "2019-09-03T16:32:21Z")

</div>

Hi Jimmy! Welcome. I’m glad you are also interested in this plugin. There’s a bit of discussion about third party hosting above, but I honestly disagree that it is a high priority or even relevant for this particular plugin.

> [@tobiaseigen](#):
>
> Speakpipe does not seem to be “free as in freedom” like we get with discourse. My preference would be to avoid third party hosting of content, including these voice recordings.
> 
> You can set up your site to host all attachments on amazon s3 is that not a reasonable solution for those who may want to host longer recordings that take up more space?

Maybe if enough people want it you can work on a different plugin, to work with Speakpipe or some other cloud based audio sharing site?

For this plugin, I think the priority should be to add an admin setting to limit the length of recordings. That way the file size won’t be too burdensome to store or play back, and the site won’t be littered with long meandering recordings nobody listens to. 😉

Meanwhile there is the ability to host attachments externally already (this is baked into discourse - see `enable s3 uploads` admin setting). But it is indeed not suitable for streaming content.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 3, 2019, 4:36pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/33 "2019-09-03T16:36:55Z")

</div>

> [@tobiaseigen](#):
>
> But it is indeed not suitable for streaming content.

I’m curious, why not?

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 3, 2019, 4:45pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/34 "2019-09-03T16:45:09Z")

</div>

I’ve seen conversations here about limitations around streaming video etc hosted on discourse but am not immediately finding them. 😉 Maybe somebody else can provide an answer while I dig a bit.

My own instinct is that smaller files are not a problem but when you get into the neighborhood of hours of movies, you want to move your content to a cloud streaming service like vimeo or youtube, and then provide a oneboxed view from within discourse posts to let people watch it without leaving the forum.

---

<div class="post-metadata">

### Author: ![Falco](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/falco/32/179432_2.png) [@Falco](https://meta.discourse.org/u/Falco)
#### Post date: [September 3, 2019, 4:51pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/35 "2019-09-03T16:51:52Z")

</div>

> [@tobiaseigen](#):
>
> video .. movies … watch

Isn’t the plugin here for voice recording?

A mono mp3 audio should be mostly under 10MB (10 minutes of mono audio at 44.1kHz/16bit/96kbps is 7.2MB), so it will be kinda like a large GIF and can certainly be used in conjunction with Object Storage (S3) plus a CDN.

---

<div class="post-metadata">

### Author: ![tobiaseigen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/tobiaseigen/32/539204_2.png) [@tobiaseigen](https://meta.discourse.org/u/tobiaseigen)
#### Post date: [September 3, 2019, 5:18pm UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/36 "2019-09-03T17:18:39Z")

</div>

Ah, we’re talking about the same thing. Apologies for being confusing.

People are coming in and advocating for third party hosting of audio recordings, and I am saying no we don’t need to worry about that for precisely the reason you give. Storing and playing back a small file is no problem.

However, currently this plugin allows people to start a recording and let it go indefinitely, which then fails upon save if they talked for too long and try to save a file size larger than allowed by the server.

---

<div class="post-metadata">

### Author: ![Nacho\_Caballero](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/nacho_caballero/32/130189_2.png) [@Nacho\_Caballero](https://meta.discourse.org/u/Nacho_Caballero)
#### Post date: [October 18, 2019, 9:41am UTC](https://meta.discourse.org/t/voice-recording-plugin/91885/37 "2019-10-18T09:41:38Z")

</div>

Like Tobias mentioned [here](https://thepavilion.io/t/maintenance-of-the-voice-recording-plugin/1433), this plugin has a number of important problems (mainly mobile issues and the lack of a timer or feedback while it’s saving the recording).

I’d love to see a native alternative approach. For me, the simplest option to allow my users to record and share audio is to use a service like [Clyp](https://clyp.it). It provides 360 minutes in the free plan and it gives you a direct link you can paste in Discourse (thanks to the magic of OneBox)

[https://clyp.it/ry03mt3o](https://clyp.it/ry03mt3o)

The only downside is that it doesn’t record on the iPad (you can only upload the audio file).

Other options for recording online in case people find them useful:

- [Poodll](https://recordmp3online.com/) - Downside: it only stores the files for 30 days
- [VirtualSpeech: Online Voice Recorder](https://virtualspeech.com/voice-recorder) - Downside: it doesn’t work on the iPad. On Android, it gives you .oga files, which don’t autoplay in Discourse (although .ogg files do. This might be a bug)

[Next page](https://meta.discourse.org/t/voice-recording-plugin/91885.md?page=2)
