Skip to main content

iGuitar

For the 2024 Swift Student Challenge I build a guitar emulator called iGuitar. To build iGuitar I utilized technologies such as AVFoundation and SwiftUI. AVFoundation is essential for each note of the guitar, playing seamless audio completely controlled by the user. Every note is powered by AVFoundation using sound files I recorded using GarageBand. I used SwiftUI to create the user interface to give the user an intuitive and familiar experience. Its power allowed me to build the fretboard to have all the frets and strings, and let the user scroll through it to reveal higher notes on the fretboard, and also play them.  Allowing the user to play not only clean guitar notes, but also add some rocking distortion was important to me, so I recorded two different note versions using GarageBand. Programmed lessons give the users the ability to follow along with the highlighted notes to learn two classic guitar songs, “Under the Bridge” by The Red Hot Chili Peppers and “Sweet Child O’ Mine” by Guns N’ Roses. The lessons give instant feedback if the user played the correct or incorrect notes, while also printing the fret and string positions to play to the user. This app lets the user free play to their own desire, or learn something new!

Leave a Reply