19/Audio en Moodle

De MoodleDocs

Nota: Pendiente de Traducir. ¡Anímese a traducir esta página!.     ( y otras páginas pendientes)

Este documento explica dos diferentes métodos para compartir 'audio en Moodle. Hay dos métodos fundamentales: simple y avanzado, El avanzado requiere un poco más de preparación, pero da más flexibilidad a los resultados. Sugerimos el método avanzado para cualquier archivo de audio que esté creando específicamente para Moodle. Pero para cualquier otro tipo de archivo de audio, el método simple será suficiente. También se dan unas pequeñas instrucciónes para la conversión de audio.


Método Simple

Los siguientes formatos son muy utilizados y si no están ya presentes en su equipo, es fácil encontrar un software para trabajar con ellos.

  • .mp3
  • .aac
  • .wma (Windows Media Audio)
  • .ra (Real Media)

Si puede escoger, es recomendable utilizar MP3. Es el formato más utilizado y es probable que sea reproducible en cualquier equipo moderno, dispositivo conectado a Internet o reproductor portátil. Si va a crear archivos de audio, o alguien lo hará para usted, en la siguiente sección le recomendaremos algunas opciones específicas para su archivo MP3.

Activando los fíltros multimedia

Moodle has a facility called Multimedia plugins (filtro) that can make the presentation of some kinds of downloaded audio and video files more streamlined. Turning this on is recommended, and is a job for your Moodle administrator. It can however, in some rare cases cause your MP3 files to sound faster and higher pitched, making normal speech sound like Minnie Mouse, or slower and lower pitched. If this is the case then you may need to follow the Advanced Method outlined below to prepare your audio files for use within Moodle. Alternatively, you can try to ensure that the media filter doesn't attempt to process the problematic file.

Moodle tiene un centro de Multimedia plugins (filtro) que puede hacer que archivos descargados de audio y vídeo puedan reproducirse directamente. Activar esta opción se recomienda, y es un trabajo para el administrador de Moodle. Sin embargo, puede que sus archivos MP3 se reproduzcan más rápidos y más agudos, como Minnie Mouse o más lenta y de tono bajo. Si este es el caso, entonces puede que tenga que seguir el método avanzado que se describe a continuación para prepararlos para su uso dentro de Moodle.

Método Avanzado

The Media Filters in Moodle use Flash to playback audio in the browser. Flash requires the audio to be in a fairly specific format and this happens to also ensure the widest possible compatibility in other situations e.g. playing on an iPod. The short version follows, it is explained in greater depth below:

  • MP3 format
  • with a sample rate of 11.025, 22.05 or 44.1 kHz
  • Constant Bit Rate (CBR) rather than Variable Bit Rate (VBR)
  • Joint-Stereo, rather than Mono or Full Stereo

Los filtros de Media en Moodule utilizan Flash para reproducir los archivos de audio en el navegador. Flash necesita que el archivo de audio esté en un formato específico para garantizar la compatibilidad en cualquier soporte donde se quiera reproducir, por ejemplo en una iPod. Una forma sencilla de preparar el formato de estos archivos sería: Formato MP3 con una frecuencia de muestreo de 11.025, 22,05 o 44,1 kHz Velocidad de bits constante (CBR) en lugar de velocidad de bits variable (VBR) Joint-Stereo, en lugar de mono o estéreo completo

Tenga en cuenta quela tasa de muestreo o la frecuencia, se mide en kilohertz (kHz), no es lo mismo que la velocidad de bits o bitrate, que se mide en kilobits por segundo (kbps). Esta última es una medida de tiempo y de tamaño del archivo de descarga y también una medida aproximada de la calidad. Entre 32 y 96 kbps es apropiado, con rendimientos decrecientes más allá de 128kbps.

La Frecuencia de muestreo es el número de veces por segundo que el sonido es grabado digitalmente. Debido a algo que se llama el teorema de Nyquist que necesita el doble de la frecuencia de los sonidos que desea grabar. 44,1 es probablemente el más compatible y una buena opción predeterminada, pero el 22 y 11kHz son adecuados para grabaciones de voz. A veces se puede encontrar archivos de audio MP3 en el 16, 32 y 48 kHz, pero estos pueden causar problemas con Moodle y en otros lugares. Lo ideal sería que se volvieran a codificar siguiendo las instrucciones que se indican a continuación.

Los archivos en VBR (Variable Bit RAte) se utilizan muy habitualmente porque proporcionan buena calidad, además de 'ahorrar' algunos bis Variable Bit Rate files are commonly used to get the best audio quality by 'saving up' bit on easily encoded sections such as silence or simple audio and then using them for difficult to encode noises such as applause, harpsichords or hi-hats. Constant Bit Rate mp3s can be seen therefore as wasteful as they use the same amount of bits for silence as they do for a full orchestra crescendo but are more compatible and easier to stream. If audio files report that they are much longer or shorter than they really are then VBR incompatibility is a likely cause. If audio sound faster or slower than it should, an you have ruled out the sample rate as a cause then VBR may be the culprit.

Mono files theoretically save bandwidth when the location of the audio is irrelevant (e.g. a single person talking), but joint-stereo mp3s can encode most stereo info with minimal quality loss and are smart enough to deal with primarily mono audio without wasting bits and unnecessarily increasing filesize and download time. Full or Real stereo is only necessary for the very highest quality of recording where stereo separation is regarded as important. Mono files are another potential cause for audio to playback at twice the expected speed.


Pros and cons of the advanced method

Pros

  • Ideal for shorter sound clips which can be flexibly embedded into a document, forums, quizzes, lessons etc.
  • Allows longer audio files to play instantly in the browser as they download in the background.
  • Widest possible compatibility (both software and hardware)
  • consistent user experience across platforms (Mac, PC, Linux) as it plays in the browser

Cons

  • Can require more preparation
  • The Media Filters can have issues with some mp3 audio files produced by third parties, that would play fine if downloaded

Conversion to compatible MP3

If you have audio in one of the other formats listed above but would prefer it in the widely compatible MP3 format detailed above then most can be easily be converted. The following instructions are for iTunes which is freely and easily available for both Mac and PC.

To change the settings used to create or convert audio files, open the iTunes option screen, then select:

Options -> Advanced -> Importing, then select MP3 Encoder then from Settings: select Custom...

  • Stereo Bit Rate: your choice. (see below for guidance)
  • Don't tick "Use Variable Rate Encoding"
  • Sample Rate: only choose either 44.100, 22.050, or 11.025 kHz (lower sample rate as you lower bitrate)
  • Channels: Stereo
  • Stereo Mode: Joint Stereo
  • Don't Tick "Smart Encoding Adjustments" (this doesn't have any effect unless you have left some settings at 'auto')
  • Tick "Filter frequencies Below 10 Hz" (this generally doesn't have any effect but doesn't really hurt and can increase quality)

If you have played the file in iTunes you should be able to find it in your library. After selecting the file you should find an option in the Advanced menu, called Convert Selection to MP3. If you have several files to convert you can select them all at the same time.

Choosing a bitrate

If you already have an existing file then you shouldn't change the bitrate without good reason. It is the equivalent of photocopying a photocopy and each copy introduces degradation and artefacts. If you're not going to reduce the bitrate by 50% or more you would probably be best leaving it as it is.

MP3 bitrates can range from 1 to 320kbps. You can experiment to find the right mix of size and quality appropriate for your content but anything over 128 kbps is probably a waste of time and space for anything other than recording high-quality music, as is anything higher than the bitrate you start with if converting from one format to another. From 32 to 96 kbps is roughly the right area for recording speech.