I've been using iOS's built in timer that stops whatever is playing in x min as a custom "pomodoro". Music helps me get into flow state and later when it is time for me to take a break, it stops playing to gently remind me. Unlike alarms, it doesn't break my flow state. Afterwards I write down how long I've worked.