9

It would be better if you can directly record the sound using the client's microphone, but if that's not possible, a upload dialog similar to the image will be sufficient.

Sure all of questions in the pronunciación tag would benefit from that adition.

I think also the others X Language and Usage sites in the SE network will welcome that feature.

How it works

while writing an answer

First, the editor features a new button:

enter image description here

When the button is clicked, a dialog is shown:

enter image description here

The dialog function basically the same as the image dialog. Bonus points if the server supports automatic windows audio (wma produced by standard sound recorder) to mp3 conversion.

The url of the sound is referenced the same way as a regular link in markdown. I'm not too sure here about if

  • Markdown have any standard way to reference a sound (if not it looks like a nice adition, given the html5 standard sound support).
  • if not, then what's better

    • to reference it using the same exclamation sign like the images,
    • to use other char to identify the link as a sound, using similar syntax, for example:

      *[Pronunciación de **RAE**, acento centroaméricano][3]

while displaying an answer

The markdown to html converter will produce the needed markup to let the user hear the audio, for example:

    <figure>
      <audio controls>
        <source src="http://a.mp3ur.com/ueDY4.mp3" type="audio/mpeg">
        <figcaption>Pronunciación de <strong>RAE</strong>, acento centroaméricano<figcaption>
      </audio>
    </figure>

The answer then will look like this:

enter image description here

4
  • @Joul I wasn't aware of that player. I see it's not enabled for this site, and the other thing I see is the audio hosting site welcomes music, but I'm not sure about a small audio containing single words or sentences.
    – jachguate
    Dec 6 '12 at 15:52
  • 1
    +1 This is a great idea.
    – Joze
    Dec 7 '12 at 20:03
  • 1
    Marking as completed for now - even though it's not exactly how you proposed it. I like your proposed implementation better, as we begin graduating more language oriented sites, building something closer to what you described is something I'm definitely bringing up again.
    – Tim Post
    Jun 20 '13 at 15:34
5

We don't quite have this as you described, but we can easily enable SoundCloud for this purpose. You'd just need to record the sound byte, upload it to SoundCloud and then it would be easy to play from directly within a post.

I've enabled this for Spanish Stack Exchange now - you can use it right away (only SoundCloud, not YouTube) on a trial basis to see how it works for you. This is something we're considering enabling for language sites by default, we'd love for you to give it a try and let us know what you think.

Make sure to use http://, not https:// links to SoundCloud - a bug in the plugin won't recognize SSL links, we're working on it.

Note - it's not enabled here on your meta site, just on the main site.

5
  • Great!!! Thanks! :)
    – jachguate
    Jun 18 '13 at 22:24
  • Maybe I didn't understand well how this works, but I tried in this answer with no luck: spanish.stackexchange.com/questions/3138/como-se-pronuncia-rae/…
    – jachguate
    Jun 18 '13 at 22:34
  • @jachguate I'm looking into it now. That should have boxed with the playback button and stuff.
    – Tim Post
    Jun 19 '13 at 4:38
  • It's a minor glitch in the plugin - https:// links elude it, just use http:// (for now).
    – Tim Post
    Jun 20 '13 at 7:19
  • Got it, thanks again, it's a very nice work ;)
    – jachguate
    Jun 20 '13 at 15:30

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .