# Voice messages for discourse

**URL:** https://meta.discourse.org/t/voice-messages-for-discourse/62370
**Category:** Feature
**Created:** [2017年五月9日 15:57 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370 "2017-05-09T15:57:34Z")
**Posts on this page:** 16
**Page:** 1

<div class="post-metadata">

### Author: ![Aymane\_Shuichi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aymane_shuichi/32/63024_2.png) [@Aymane\_Shuichi](https://meta.discourse.org/u/Aymane_Shuichi)
#### Post date: [2017年五月9日 15:57 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/1 "2017-05-09T15:57:34Z")

</div>

Is there any plugin that allows users to post voice subjects?  
Is there anyone interested in such plugin?

---

<div class="post-metadata">

### Author: ![Pad\_Pors](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/pad_pors/32/52016_2.png) [@Pad\_Pors](https://meta.discourse.org/u/Pad_Pors)
#### Post date: [2017年五月9日 16:28 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/2 "2017-05-09T16:28:32Z")

</div>

this may help: I remember @simon has worked on “sound track upload”, but I couldn’t find it now via search.

---

<div class="post-metadata">

### Author: ![cpradio](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/cpradio/32/4970_2.png) [@cpradio](https://meta.discourse.org/u/cpradio)
#### Post date: [2017年五月9日 16:29 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/3 "2017-05-09T16:29:52Z")

</div>

I think this is it?  
[https://meta.discourse.org/t/plugins-for-audio-file-uploads/36313](https://meta.discourse.org/t/plugins-for-audio-file-uploads/36313)

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2017年五月9日 20:20 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/4 "2017-05-09T20:20:18Z")

</div>

If you enable audio filetypes for your forum, (mp3, ogg, wav, m4a) when audio files are uploaded, they should give you the browser’s default audio player.

 ![](https://global.discourse-cdn.com/meta/original/3X/0/2/02be2911514daa5eadb9a61b4ff04abb943fba24.png)

Audio files are very large, so you would probably only want to enable them if you are storing uploads externally.

Edit: with the `m4a` filetype enabled, I can upload audio directly from my Android phones voice recorder app. That might be close to what you are looking for.

---

<div class="post-metadata">

### Author: ![Aymane\_Shuichi](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/aymane_shuichi/32/63024_2.png) [@Aymane\_Shuichi](https://meta.discourse.org/u/Aymane_Shuichi)
#### Post date: [2017年五月10日 11:12 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/5 "2017-05-10T11:12:27Z")

</div>

Is there any way to limit the length of the audio to X seconds?  
Do users record their voice or need to upload the files?

---

<div class="post-metadata">

### Author: ![simon](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/simon/32/339122_2.png) [@simon](https://meta.discourse.org/u/simon)
#### Post date: [2017年五月10日 20:00 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/6 "2017-05-10T20:00:45Z")

</div>

> [@Aymane\_Shuichi](#):
>
> Is there any way to limit the length of the audio to X seconds?

No, but you can set the ‘max attachment size’ on Discourse to limit upload sizes. From my phone, a 1 minute audio recording is approximately 1000kb.

> [@Aymane\_Shuichi](#):
>
> Do users record their voice or need to upload the files?

They need to upload the file. On my phone it is quite straightforward. Clicking the upload button in the composer opens the phone’s ‘Choose an action’ menu. That lets me select the phone’s voice recorder app.

---

<div class="post-metadata">

### Author: ![Elena\_Lappen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elena_lappen/32/138721_2.png) [@Elena\_Lappen](https://meta.discourse.org/u/Elena_Lappen)
#### Post date: [2019年四月17日 23:50 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/9 "2019-04-17T23:50:33Z")

</div>

Following @simon’s suggestions, I get a player when a user uploads an audio file directly, but not when the audio file comes as an email attachment. In that case, a link to download the audio file is displayed. I’m testing Discourse as a ticketing system and our inboxes receive a good amount of voicemails to handle (forwarded from our phone line), so I’m interested in the player option when someone emails an audio file. Is there a way to configure this?

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年四月26日 09:54 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/10 "2019-04-26T09:54:23Z")

</div>

Can you send an audio file as an email attachment here by replying to this via email so that we can have a look?

---

<div class="post-metadata">

### Author: ![Elena\_Lappen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elena_lappen/32/138721_2.png) [@Elena\_Lappen](https://meta.discourse.org/u/Elena_Lappen)
#### Post date: [2019年四月29日 23:49 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/12 "2019-04-29T23:49:11Z")

</div>

I’ve tried to reply with an audio attachment but it appears that audio files are not authorized here ("authorized extensions: jpg, jpeg, png, gif, pdf, csv, gz, json, svg, mp4, txt, docx, mov, tex”).

Regardless, the same thing appears to happen with audio-only video files. Here is an .mp4 being sent as an email attachment.

[Test audio recording.mp4](https://global.discourse-cdn.com/meta/original/3X/8/e/8e7306c607f20cc86bfce8b578867bfca1278f95.mp4) (44.1 KB)

---

<div class="post-metadata">

### Author: ![Elena\_Lappen](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/elena_lappen/32/138721_2.png) [@Elena\_Lappen](https://meta.discourse.org/u/Elena_Lappen)
#### Post date: [2019年四月29日 23:49 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/13 "2019-04-29T23:49:57Z")

</div>

[https://global.discourse-cdn.com/meta/original/3X/8/e/8e7306c607f20cc86bfce8b578867bfca1278f95.mp4](https://global.discourse-cdn.com/meta/original/3X/8/e/8e7306c607f20cc86bfce8b578867bfca1278f95.mp4)

And here it is with the direct upload.

---

<div class="post-metadata">

### Author: ![zogstrip](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/zogstrip/32/512781_2.png) [@zogstrip](https://meta.discourse.org/u/zogstrip)
#### Post date: [2019年五月6日 16:21 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/14 "2019-05-06T16:21:10Z")

</div>

Thanks @Elena_Lappen.

@gerhard, can you see if we can improve [`attachment_markdown`](https://github.com/discourse/discourse/blob/5e546ba7d12a91f740696dccae63cf1823f24615/lib/email/receiver.rb#L1069-L1075) to check if we can onebox the upload?

---

<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: [2021年四月4日 20:56 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/19 "2021-04-04T20:56:08Z")

</div>

我重新提起这个话题，是因为我认为语音消息是一项重要的无障碍功能。我正在寻找以下特性的方案：

- 语音录制
- 对听障人士（包括聋人和重听人士）友好
- 因此可能需要通过自动转录实现
- 支持翻译
- 外部存储

我们在 Slack 上使用 VoiceText 来实现这一功能，效果非常好。  
[https://voicetext.presence.so/slack](https://voicetext.presence.so/slack)

我非常希望 Discourse 也能提供这一选项！虽然我不确定具体如何实现，但现有的工作流程非常理想。

对于 Discourse，或许一个中间步骤是在编辑器中添加一个按钮，点击后打开语音录制网站的链接。我已经尝试过不同的语音录制工具，以下是一些选项。虽然它们都不完美，但我很希望能听到大家对这个想法的反馈！

**Otter.ai**  
提供自动转录。需要登录，且每月使用超过 600 分钟后需要付费（不过这个时长已经相当多了！）

> **[Otter Meeting Agent - AI Notetaker, Transcription, Insights](https://otter.ai/u/mLSAYS3RRQO-OwCa39ofd7CPkIw)**
>
> Otter AI Meeting Agent supports real-time transcription, live chat, automated summaries, insights, and action items.

**Reverb**  
使用非常简单，无需登录。但不支持自动转录。

> **[Reverb Embed Te | Reverb Record](https://record.reverb.chat/s/ugrNAAiCTwez0apiOwnP)**
>
> Record and share voice notes and audio instantly without an account. Embeds to Twitter and websites. Share in messengers and email.

**SpeakPipe**  
同样非常简单，无需登录。不支持自动转录。每次录制限制为 5 分钟。界面不如 Reverb 美观。  
[https://www.speakpipe.com/voice-recorder/msg/vwqkow3n6hqloxe7](https://www.speakpipe.com/voice-recorder/msg/vwqkow3n6hqloxe7)

---

<div class="post-metadata">

### Author: ![kodred](https://avatars.discourse-cdn.com/v4/letter/k/ee7513/32.png) [@kodred](https://meta.discourse.org/u/kodred)
#### Post date: [2021年十一月14日 21:46 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/20 "2021-11-14T21:46:54Z")

</div>

我也对 Discourse 中的此功能非常感兴趣，目前的解决方法看起来不像我的用户会做的任何事情，因为我的一些用户可能会面临的复杂性。

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [2023年五月11日 08:42 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/21 "2023-05-11T08:42:10Z")

</div>

各位好

我来接手这个！我一直对这个功能很感兴趣，因为我主要想把我们员工的沟通方式转移到语音消息上。

我试过 Siri 的听写功能，但简直是一场噩梦（至少对德语来说是这样）。而且我用的是 Firefox，所以 Google Chrome 的听写功能也不是一个选项。

有人实现过类似的功能吗？

@debryc 你用 Discourse 实现过什么原生功能吗？我理想中的情况是，可以在编辑器内使用某个服务，这样完整的文字记录就能自动嵌入到帖子中了。

---

<div class="post-metadata">

### Author: ![denvergeeks](https://sea3.discourse-cdn.com/meta/user_avatar/meta.discourse.org/denvergeeks/32/327671_2.png) [@denvergeeks](https://meta.discourse.org/u/denvergeeks)
#### Post date: [2023年八月1日 03:10 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/24 "2023-08-01T03:10:47Z")

</div>

@jrgong 我也在关注这个。

这里有一个 @angus 的主题组件（目前已损坏）……

> [@Voice Recorder Component](https://meta.discourse.org/t/voice-recorder-component/215621):
>
> This is a working theme component based on the existing (broken) [voice recording plugin](https://meta.discourse.org/t/voice-recording-plugin/91885). The functionality is the same. Please make sure you’ve added mp3 to authorized extensions. hammer_and_wrenchRepository [GitHub - paviliondev/discourse-voice-recorder: Add voice recordings to Discourse posts](https://github.com/paviliondev/discourse-voice-recorder)questionInstall Guide [How to install a theme or theme component](https://meta.discourse.org/t/how-do-i-install-a-theme-or-theme-component/63682)open_bookNew to Discourse Themes? [Beginner’s guide to using Discourse Themes](https://meta.discourse.org/t/beginners-guide-to-using-discourse-themes/91966)

另外，这里有一个 @peter.be 的插件，现在可以正常工作了……

> [@Discourse Audio Message](https://meta.discourse.org/t/discourse-audio-message/270432):
>
> information_sourceSummary Discourse Audio Message allows users to directly record and attach audio messages to their posts.hammer_and_wrenchRepository Link [https://github.com/pbenkoe/discourse-audio-message](https://github.com/pbenkoe/discourse-audio-message)open_bookInstall Guide [How to install plugins in Discourse](https://meta.discourse.org/t/install-plugins-in-discourse/19157) This plugin was developed with the help of ChatGPT, as my background in backend/javascript development is limited. The implementation is very basic, but I hope it will help some people and maybe it can ser…

主题组件通常更好、更灵活，所以 @angus 的主题组件可能是最好的解决方案！也许我们可以凑钱请一位开发者来修复这个主题组件。

@jrgong 还有这个，它实际上非常酷且稳定开源……我可能会考虑将其打包成一个主题组件。

> **[Soundcite](https://soundcite.knightlab.com/)**
>
> Seamless inline audio.

---

<div class="post-metadata">

### Author: ![jrgong](https://avatars.discourse-cdn.com/v4/letter/j/c57346/32.png) [@jrgong](https://meta.discourse.org/u/jrgong)
#### Post date: [2023年八月2日 21:27 UTC](https://meta.discourse.org/t/voice-messages-for-discourse/62370/26 "2023-08-02T21:27:30Z")

</div>

Soundcite 因其开源特性而显得很有趣 🙂  
下一步显然是将其原生嵌入到 Discourse 帖子中。

> [@denvergeeks](#):
>
> 也许我们可以凑钱请一位开发者来修复主题组件。

是的，给我发私信，我对此感兴趣 🙂
