Logbook noting:
Firstly, I downloaded
three sample alarm musics in to computer and drop one of them into Xcode as my
audio alarm.
Figure 1: Download alarm music from internet
Then I wrote the code
shown below into Xcode:
Figure 2: Codes of setting music to be alarm voice
These lines of codes add
an interface into my program and it prepares an mp3 file for this program.
After this, the codes below will give alarm when necessary:
Figure 3: Give alarm if necessary
Comments:
The instruction of Chris online helped me a lot
in the step.

No comments:
Post a Comment