Home

Awesome

mini Piano

WWDC '18 Scholarship project - accepted submission

mini Piano is an interactive playground which lets you play the piano. With only two octaves you can play many songs and mini Piano presents how to play two songs.

When you press the piano's key you can see what tone was generated. It helps people who have never played the musical instrument.

You can define your own song by providing an array of Note enum and speed using the playSong() method from Piano class.

public func playSong(with notes: [Note], speed: TimeInterval, chosenSong: Song) { }
</p> <p align=center> <img src="https://img.shields.io/badge/WWDC-18-red.svg"> <img src="https://img.shields.io/badge/Swift-4.1-blue.svg"> <img src="https://img.shields.io/badge/Xcode-9.2-blue.svg"> <img src="https://img.shields.io/badge/status-accepted-brightgreen.svg"> </p>

Piano sounds were exported using iMovie from Free High Quality Sound FX channel under Creative Common License - https://youtu.be/dHb8R5gDvgM