Piano Keyboard for iOS

High-performance code for multi-touch piano keyboard for iPhone and iPad. This MIDI enabled keyboard is ready to plug straight in to your App. View Pricing
scroll down for more

The Piano Keyboard for iOS is a professional grade soft keyboard for iPhone and iPad. It supports full multi touch tracking all 10 fingers simultaniously. It has a flexible design which makes it easy to customize the number of keys, the tuning of the keys and the style of the keys. Project comes setup up with a fully configured audio graph - the notes from the keyboard are synthazised using real piano samples.

Features

  • High performance touch tracking for up to 10 simultaneous touches
  • Easy integration, key-down and key-up commands are available in real-time
  • Flexible keyboard size
  • Keyboard scale can be easily changed
  • Easy to read Objective-C code with lots of comments
  • Look and feel of the keyboard can be changed by adding your own images
  • Notes can be assigned a MIDI number
  • The project provide includes an example of how the keyboard can be connected to an AUGraph to produce realistic piano sounds
  • Fully Swift compatible

Reviews

This keyboard has been used in hundreds of live app. Here what our customers have to say:

"I was quite impressed with the quality of this product. The final piano solution was full featured, very responsive to keystrokes, and sounded absolutely perfect. The code was minimal and introduced me to quite a few new concepts that I haven't encountered yet! 

It's not just that this component saved me money and time, I could have never created a product this well done on my own. I was completely unaware of a few of the technologies used in this product." Phillip Davis

 

"Excellent component! Must have if you are writing a piano component in your app"

Live apps

Here's an example of the keyboard in a live app designed by one of our many customers:

Pricing

14 day 14-day money-back guarantee

$59.99

Application License

  • Perpetual license

  • 1 application

  • Can distribute binary products only

  • Commercial use

$399.99

Enterprise License

  • Perpetual license

  • 999 projects

  • Can distribute code and binary products

  • Commercial use

Need custom services for this product? Get a quote

Installation Instructions

Add the piano keyboard classes to your project:

  • bKeyType.h
  • BPianoDelegate.h
  • BPianoKey.h
  • BPianoKey.m
  • BPianoView.h
  • BPianoView.m

Choose a view controller where you want to display the keyboard and add the following imports:

#import "BPianoKey.h" 
#import "BPianoView.h"
#import "BPianoDelegate.h"

Register the view controller as a piano delegate:

@interface BViewController : UIViewController<BPianoDelegate>

Add the relevant protocol methods to the implementation:

-(void) noteOn:(Byte)note {
}

-(void) noteOff:(Byte)note {
}

These will be called by the PianoView class when a key is pressed or released.

Finally, add the piano to your view. You need to choose the midi note number for the bottom note of the keyboard, the keyboard scale and the number of white notes to be rendered.

BPianoView * pianoView = [[BPianoView alloc] initWithNumberOfNotes:14 withScale: 0.654 withStartingNote:48];
pianoView.delegate = self;

[self.view addSubview:pianoView]; 

This will cause the keyboard to be rendered in the your view controller and all note-down or note-up commands will be sent to the relevant methods in the delegate.