Ascending Song Alarm
TEXT
Ascending Song Alarm 1.0
by Gadget Hacks (gadgethacks.com)
Instructions:
Pick song when installing. If you don't pick one, it'll use whatever is already loaded in Music or something random. You can change the song later whenever you want.
To silence the song alarm, just turn the volume down a notch using the hardware buttons, Control Center, the Now Playing lock screen player controls, the Music widget, etc.

Text
NUMBER
0.01

Number
VARIABLES
Set variable
Num
to
Number
MEDIA
Set volume to
Num
MUSIC
SCRIPTING
Repeat
100 times

Repeat Results
SCRIPTING
Get the
Current Volume

Device Name
VARIABLES
Set variable
Vol
to
Current Volume
SCRIPTING
If
Vol
is less than
Calculation Result
NOW PLAYING
Play/Pause
on
iPhone
SCRIPTING
Exit shortcut with
Shortcut Input
SCRIPTING
Otherwise
MATHS
Vol
+
Num
Options Under Construction

Calculation Result
VARIABLES
Set variable
Vol
to
Calculation Result
MEDIA
Set volume to
Vol
MATHS
Calculation Result
-
0.02
Options Under Construction

Calculation Result
SCRIPTING
Wait
1 second
SCRIPTING
End If

If Result
SCRIPTING
End Repeat

Repeat Results
Showcuts