Alerta - Environmental sound awareness iOS app

Category:

iOS App

Position:

Coder

Duration:

6 weeks

Technologies Used

Swift
SwiftUI
SwiftData
SoundAnalysis
AVFoundation

Tools & Platforms

Xcode
TestFlight

Alerta is an iPhone app built by a team of six that listens for important sounds around you and tells you about them through speech, audio cues and custom vibrations. I was one of the coders, responsible for the architecture underneath it all.

Project Overview

Situation

My team and I worked on Alerta to help users stay aware of their surroundings. By combining real time sound classification with dynamic vibrations and speech synthesis, we wanted to give people a new and safe way to understand their environment. Six of us collaborated across design, coding and project management, and the hardest part was the code nobody sees: an app that listens continuously has to be highly efficient, and audio, speech and haptics all had to share one phone without getting in each other’s way.

Task

  • Build a solid and clean architecture, because an app that listens all the time must be highly efficient.

  • Make audio processing and feedback delivery run smoothly, without slowing the phone down or draining the battery.

  • Combine the audio player, the speech synthesizer and the haptic engine into one app without them conflicting.

  • Make saving settings, slider values and custom vibration patterns fast and safe.

Action

  • Created unified manager classes for audio and haptics, so every sound and vibration goes through one place.

  • Built a central service that delivers all vibrations reliably.

  • Migrated data storage to SwiftData, so settings, slider values and recorded vibration patterns save quickly and safely.

  • Made changes apply instantly: when a user changes the voice speed or records a pattern, the app saves it without a manual save button.

  • Structured the code purely in SwiftUI, so layouts adapt to different screen sizes while memory usage stays very low.

Result

  • A fully working tool that detects important environmental sounds and alerts the user through audio cues and custom haptics.

  • A live awareness screen with a dynamic voice orb, sound direction indicators and live frequency bars.

  • A settings section where users adjust voice volume, choose custom alert sounds and record their own vibration patterns from scratch.

  • Native Apple frameworks like AVFoundation and SoundAnalysis kept the app highly optimized.