Ligne 105 : |
Ligne 105 : |
| | | |
| === Jouer une piste par numéro === | | === Jouer une piste par numéro === |
| + | Chaque piste dispose d'un numéro correspondant au moment ou le fichier à été copié sur la mémoire flash. La première piste porte le numéro 0, la numérotation suit l'ordre des fichiers tels qu'il sont affichés par la commande 'L' (liste des fichiers). |
| | | |
− | Each track has a number with respect to when it was copied onto the SD card, starting with track #0, these are in the order that the tracks are printed out when you send 'L' for list tracks.
| + | Le plus rapide pour jouer un fichier est de d'envoyer la commande '''#NN\n''' (symbole #, puis le numéro de la piste, et le caractère ''retour clavier'' pour finir). Par exemple, pour jouer la première piste (soit la piste 0), il faut envoyer la commande {{fname|#0\n}} et pour jouer la 11ieme piste il faut envoyer la commande {{fname|#10\n}} |
− | | |
− | The fastest way to play a track is by the track number, send '''#NN\n''' (# symbol, then the number of the track, and end with a new line). E.g. to play the first track (track #0) send #0\n and for the 11th track, send '''#10\n'''
| |
| | | |
| {{ADFImage|ADAFRUIT-AUDIO-FX-port-série-50.png}} | | {{ADFImage|ADAFRUIT-AUDIO-FX-port-série-50.png}} |
| | | |
− | If the file wasnt found, it will reply with '''NoFile\n'''
| + | Si le fichier n'a pas été trouvé, la carte son répondra '''NoFile\n''' |
| | | |
− | If the file is found, the sound board will reply with '''playNNNNNFILENAMEEXT\n'''
| + | Si le fichier est trouvé, la carte son répondra '''playNNNNNFILENAMEEXT\n''' |
| | | |
− | where NNNNN is the track number, and FILENAMEEXT is the 11-character file name (8.3 without the dot)
| + | Où: |
| + | * NNNNN est ne numéro de piste, |
| + | * FILENAMEEXT le nom de fichier en 11 caractères (sans point, 8 caractères pour le fichier, 3 pour l'extension) |
| | | |
− | When the file is done, it will print '''done\n''' to let you know
| + | Lorsque le fichier est joué, la carte son affiche '''done\n''' pour vous indiquer que l'opération est terminée |
| | | |
| === Jouer une piste par nom === | | === Jouer une piste par nom === |