Différences entre versions de « ADAFRUIT-AUDIO-FX-creer-fichier »

De MCHobby - Wiki
Sauter à la navigation Sauter à la recherche
(Page créée avec « {{ADAFRUIT-AUDIO-FX-NAV}} {{traduction}} Now you know it all works, you'll need to create your own audio files. The sound board does not support MP3 so if you have your a... »)
 
Ligne 2 : Ligne 2 :
  
 
{{traduction}}
 
{{traduction}}
Now you know it all works, you'll need to create your own audio files. The sound board does not support MP3 so if you have your audio clips in MP3 format you'll have to convert them to OGG or WAV
+
{{bloc-etroit|text=Now you know it all works, you'll need to create your own audio files. The sound board does not support MP3 so if you have your audio clips in MP3 format you'll have to convert them to OGG or WAV
  
 
You can use either OGG or WAV format, and you can 'mix and match' so some files are OGG and some are WAV
 
You can use either OGG or WAV format, and you can 'mix and match' so some files are OGG and some are WAV
Ligne 16 : Ligne 16 :
 
Generating audio files, especially if you want to keep them small, can take a little experimentation: higher bit rates and sample rates will sound 'better' but take more space. You can go with 44.1KHz sample rate which is basically audio CD quality, or down to maybe 8KHz for spoken word or low-rez effects.
 
Generating audio files, especially if you want to keep them small, can take a little experimentation: higher bit rates and sample rates will sound 'better' but take more space. You can go with 44.1KHz sample rate which is basically audio CD quality, or down to maybe 8KHz for spoken word or low-rez effects.
  
Another way you can save space is to convert stereo files to mono. The decoder supports stereo but if you only have a single speaker it doesn't matter if you have stereo output and stereo takes 2x plus de place.
+
Another way you can save space is to convert stereo files to mono. The decoder supports stereo but if you only have a single speaker it doesn't matter if you have stereo output and stereo takes 2x plus de place.}}
  
 
{{ADAFRUIT-AUDIO-FX-TRAILER}}
 
{{ADAFRUIT-AUDIO-FX-TRAILER}}

Version du 2 janvier 2016 à 13:34


MCHobby investit du temps et de l'argent dans la réalisation de traduction et/ou documentation. C'est un travail long et fastidieux réalisé dans l'esprit Open-Source... donc gratuit et librement accessible.
SI vous aimez nos traductions et documentations ALORS aidez nous à en produire plus en achetant vos produits chez MCHobby.

Now you know it all works, you'll need to create your own audio files. The sound board does not support MP3 so if you have your audio clips in MP3 format you'll have to convert them to OGG or WAV

You can use either OGG or WAV format, and you can 'mix and match' so some files are OGG and some are WAV

There's some pro's and con's to the two formats:

  • OGG is compressed, but still sounds great. It uses much less space so if you want to say store a full 2 or 3 minute song, you'll need to go with this. However, it does take a few milliseconds to start playing the file, so if you want to have perfectly looping audio, OGG will have a gap in between each play through
  • WAV is uncompressed, so its the highest quality. But it takes up a lot of space. Since it's uncompressed, it starts playing instantly, and if you're looping an effect, this will have no discernable gap.

There's tons of software that can generate OGG or WAV, we used this service and it worked very nicely without needing to install any software: http://audio.online-convert.com/convert-to-ogg

If you don't mind installing software, Audacity can do a lot of conversion and is free software. La plupart des distributions Linux inclus

Generating audio files, especially if you want to keep them small, can take a little experimentation: higher bit rates and sample rates will sound 'better' but take more space. You can go with 44.1KHz sample rate which is basically audio CD quality, or down to maybe 8KHz for spoken word or low-rez effects.

Another way you can save space is to convert stereo files to mono. The decoder supports stereo but if you only have a single speaker it doesn't matter if you have stereo output and stereo takes 2x plus de place.


Source: Adafruit Audio FX Sound board Crédit: AdaFruit Industries

Créé par Ladyada pour AdaFruit Industries.
Traduit par Meurisse D. pour MCHobby.

Toute référence, mention ou extrait de cette traduction doit être explicitement accompagné du texte suivant : «  Traduction par MCHobby (www.MCHobby.be) - Vente de kit et composants » avec un lien vers la source (donc cette page) et ce quelque soit le média utilisé.

L'utilisation commercial de la traduction (texte) et/ou réalisation, même partielle, pourrait être soumis à redevance. Dans tous les cas de figures, vous devez également obtenir l'accord du(des) détenteur initial des droits. Celui de MC Hobby s'arrêtant au travail de traduction proprement dit.

Traduit avec l'autorisation d'AdaFruit Industries - Translated with the permission from Adafruit Industries - www.adafruit.com