Voice messages for discourse

(Quenten) #1

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

(Pad Pors) #2

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

(cpradio) #3

I think this is it?

(Simon Cossar) #4

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.

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.

(Quenten) #5

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?

(Simon Cossar) #6

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.

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.