August 2015
Intermediate to advanced
246 pages
4h 21m
English
Nowadays, the audio integration in our app is vital. You could not realize a video game without audio or an app that does not use multimedia. We will create a sample with just one button which when pressed plays an audio.
We need an audio file in this recipe in the traditional audio formats (mp3, mp4, wav, wma, b-mtp, ogg, spx, midi). If you do not have any, you always can get one from sites such as https://www.freesound.org.
We will use a simple Python file with just one widget to play the audio file. To complete the recipe, let's follow these steps:
kivy package.SoundLoader package.MyW() class.__init__() method.Play.Read now
Unlock full access