ADAFRUIT-AUDIO-FX-creer-fichier
En cours de traduction/élaboration. |
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