Audio no Moodle: Difference between revisions

From MoodleDocs
Line 23: Line 23:
* Joint-Stereo, melhor que Mono ou Stereo
* Joint-Stereo, melhor que Mono ou Stereo


Note que 'taxa de amostragem' ou frequencia, medida em kiloHertz (kHz), não é o mesmo que 'taxa de bits', medido em kilobits por segundo (kbps). O último é uma medida de tamanho de arquivo e tempo de download e também uma medida grosseira de qualidade. Algum ponto entre 32 e 96 kbps é apropriado com diminuição de retorno acima de 128kbps.
Note que 'taxa de amostragem' ou frequencia, medida em kiloHertz (kHz), não é o mesmo que 'taxa de bits (bitrate)', medido em kilobits por segundo (kbps). O último é uma medida de tamanho de arquivo e tempo de download e também uma medida grosseira de qualidade. Algum ponto entre 32 e 96 kbps é apropriado com diminuição de retorno acima de 128kbps.


Sample rate is the number of times per second that the sound is digitally recorded. Due to something called the Nyquist Theorem you need twice the frequency of the sounds you wish to record. 44.1kHz is probably the most compatible and a good default choice but 22 and 11kHz are fairly standard too. You might sometimes find MP3 audio files at 16, 32 and 48 kHz but these can cause problems with Moodle and elsewhere and so ideally should be re-encoded following the instructions given below.
Taxa de amostragem é o número de vezes por segundo que o som é digitalmente gravado. Devido a alguma coisa chamada Teorema de Nyquist você necessita de duas vezes a frequencia dos sons que voce deseja gravar. 44.1kHz é provavelmente a melhor e mais compativel escolha mas 22 and 11kHz são também adotadas. Algumas vezes voce encontrará arquivos de áudio MP3 em 16, 32 and 48 kHz mas estes podem causar problemas com o Moodle e outros, assim deveriam ser recodificados seguindo as instruções apresentadas abaixo.


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.
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.

Revision as of 13:41, 9 August 2010

Este documento explica dois métodos para preparar e compartilhar áudio no Moodle. São eles o Simples e o Avançado. Sugerimos que seja usado o Método Avançado que demanda uma preparação um pouco maior, mas permite maior flexibilidade. Entretanto, se o arquivo de áudio já está criado então o Método Simples irá funcionar na maioria dos casos. Também são apresentadas orientações para converter um arquivo de áudio já existente para um dos formatos adotados pelo Moodle.


Filtros Multimidia

O Moodle tem um recurso de nome Plugins Multimídia que faz com que a apresentação de alguns tipos de arquivo de áudio e vídeo fique mais natural. É recomendavel ativar este recruso, o que deve ser feito pelo administrador do Moodle. No entanto, isto pode causar, em alguns raros casos, que o seus arquivos MP3 sejam tocados mais rápido e em tom mais alto, fazendo com que uma fala normal soe como do desenho animado do Mickey Mouse, ou mais lento e em um tom mais baixo. Se isto acontecer então voce deverá seguir o Método Avançado, descrito mais abaixo, para preparar os seus arquivos de áudio para usar no Moodle. Uma alternativa é não deixar que o filtro de mídia não atue no arquivo problemático.

Método Simples

Os formatos seguintes são amplamente utilizados e se ainda não estão presentes no computador, programas fáceis de usar podem ser trazidos e instalandos sem custo algum.

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

Se for possível escolher nós sugerimos que voce escolha o formato MP3. É o formato mais utilizado e provavelmente tocará em qualquer computador, equipamento conectado a internet ou dispositivo portátil. Se voce está criando arquivos de áudio, ou alguém está criando para voce nós sugerimos algumas configurações específicas para o seu arquivo MP3 na seção seguinte.

Método Avançado

Os filtros de mídia no Moodle usam Flash para tocar áudio no navegador. Flash requer que o áudio esteja em um formato bem específico e isto assegura também a maior compatibilidade em outras situações p. ex. tocando em um iPod. A versão resumida deste formato é dada a seguir e explicada com mais detalhes depois:

  • Formato MP3
  • Com uma taxa de amostragem de 11.025, 22.05 ou 44.1 kHz
  • Taxa de Bits (bitrate) Constante (CBR) ao invés de Taxa de Bit Variável (VBR)
  • Joint-Stereo, melhor que Mono ou Stereo

Note que 'taxa de amostragem' ou frequencia, medida em kiloHertz (kHz), não é o mesmo que 'taxa de bits (bitrate)', medido em kilobits por segundo (kbps). O último é uma medida de tamanho de arquivo e tempo de download e também uma medida grosseira de qualidade. Algum ponto entre 32 e 96 kbps é apropriado com diminuição de retorno acima de 128kbps.

Taxa de amostragem é o número de vezes por segundo que o som é digitalmente gravado. Devido a alguma coisa chamada Teorema de Nyquist você necessita de duas vezes a frequencia dos sons que voce deseja gravar. 44.1kHz é provavelmente a melhor e mais compativel escolha mas 22 and 11kHz são também adotadas. Algumas vezes voce encontrará arquivos de áudio MP3 em 16, 32 and 48 kHz mas estes podem causar problemas com o Moodle e outros, assim deveriam ser recodificados seguindo as instruções apresentadas abaixo.

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.

Prós do Método Avançado

  • 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

Contras do Método Avançado

  • Pode requerer uma maior preparação
  • Os Filtros de Midia podem ter problemas com alguns arquivos de áudio MP3 produzidos por terceiros, que tocariam bem se fosse feito o download

Conversão para MP3 compativel

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.


Escolhendo uma velocidade de bits

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 artifacts. 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.

Módulos de Audio & programas

Please see the complete list under See also. The information in this page maybe moved to their own pages in the future.

Using Audacity to Convert audio and Record voice

Audacity is free, open source software for recording and editing sounds. It is available for Mac OS X, Microsoft Windows, GNU/Linux, and other operating systems. Learn more about Audacity... Also check our Wiki and Forum for more information.

  • Note: Audacity may not be suitable for encoding MP3s for use with Flash Player at the default sample rate settings. At lower bit rates, it uses sample rates that are not a multiple of 11.025 kHz and the resulting MP3 files may either play at an incorrect speed, the chipmunk effect, or not play at all. See the Audacity documentation on how to set the sample rates.

Caracteristicas

  • Record live audio.
  • Convert tapes and records into digital recordings or CDs.
  • Edit Ogg Vorbis, MP3, WAV or AIFF sound files.
  • Cut, copy, splice or mix sounds together.
  • Change the speed or pitch of a recording.
  • And more! See the complete list of features.


Ajuda e tutoriais para o Audacity

Veja também

MoodleDoc Links:

Modules and Plugs at Moodle:

Freeware or almost:

      • Gong integrates with Moodle (requires a Java server)
  • SUPER - a Windows-only general media encoder that offers full control over media file parameters and supports all major audio and video file types.
  • Amadeus Pro for both recording & editing; not freeware but close.