I want to build a program that reads a certain code (ex: deb_prel), and if the
url = "http://www.piano-midi.de/mp3/BFFCEDC41B391847DAE02F6A5EA1E1A8/" +code.text! +".mp3"
exists, plays after the search button is clicked, and with a play/pause and adjust volume.
I have already built the storyboard (easy part), but I am having difficulties to build this simple program. I don't known where to begin, can anyone help me?
I would suggest to dig deep in AVFoundation
here and AVAudioPlayerDelegate
here. Also check this as reference for playing/pausing and recording audio files.