diff --git a/docs/tutorial/amp_skin.rst b/docs/tutorial/amp_skin.rst index 8b1e72bda3..9aaf84c753 100644 --- a/docs/tutorial/amp_skin.rst +++ b/docs/tutorial/amp_skin.rst @@ -55,9 +55,13 @@ For example:: You can also play WAV files using the Python ``wave`` module. You can get the wave module `here `_ and you will also need the chunk module available `here `_. Put these -on your pyboard (either on the flash or the SD card in the top-level -directory). You will need an 8-bit WAV file to play, such as -`this one `_. Then you can do:: +on your pyboard (either on the flash or the SD card in the top-level directory). You will need an +8-bit WAV file to play, such as `this one `_, +or to convert any file you have with the command:: + + avconv -i original.wav -ar 22050 -codec pcm_u8 test.wav + +Then you can do:: >>> import wave >>> from pyb import DAC