🧩 PianoView
An extension for MIT App Inventor 2.An advanced, realistic, Playable Without External Audio Files and customizable Piano Keyboard view for Android, designed for MIT App Inventor 2 and its distributions. developed by TechHamara using Fast
Find More Extension
Terms & Conditions
Find More On BuyMeCoffee Page.
Specifications
Package: io.th.pianoview
Size: 40.69 KB
Version: 1.0
Minimum API Level: 21
Updated On: 2026-01-26T18:30:00Z
Built & documented using: FAST v5.3.2
Library Used Thanks Aghajari For Your Piano Library.
Price - 5USD Buy on BuyMeCoffee
Demo
Demo Gif👇
Demo Video 
Blocks
Documentations
Events:
PianoView has total 2 events.
1. NotePlayed
Triggered when a note is played (key pressed).
| Parameter | Type |
|---|---|
| note | text |
2. NoteStopped
Triggered when a note is stopped (key released).
| Parameter | Type |
|---|---|
| note | text |
Methods:
PianoView has total 28 methods.
1. Initialize
Initialize inside an arrangement.
| Parameter | Type |
|---|---|
| arrangement | component |
2. PlayFurElise
Plays Fur Elise demonstration.
3. PlayDonyaye
Plays Donyaye demonstration.
4. PlayJanGanMan
Plays Jan Gan Man (Indian National Anthem).
5. PlayVandeMataram
Plays Vande Mataram.
6. PlayOldMacDonald
Plays Old MacDonald.
7. PlayLondonBridge
Plays London Bridge.
8. PlayTwinkleTwinkle
Plays Twinkle Twinkle Little Star.
9. PlayJingleBells
Plays Jingle Bells.
10. PlayHappyBirthday
Plays Happy Birthday.
11. PlayDaddyFinger
Plays Daddy Finger.
12. PlayItsyBitsySpider
Plays Itsy Bitsy Spider.
13. PlayWheelsOnTheBus
Plays Wheels On The Bus.
14. PlayAreYouSleeping
Plays Are You Sleeping.
15. PlayBaaBaaBlackSheep
Plays Baa Baa Black Sheep.
16. PlayYankeeDoodle
Plays Yankee Doodle.
17. PlayFingerFamily
Plays Finger Family.
18. PlayYouAreMySunshine
Plays You Are My Sunshine.
19. PlaySongOfJoy
Plays Song of Joy.
20. PlaySilentNight
Plays Silent Night.
21. PlayOldLongSyne
Plays Old Long Syne.
22. PlayOhSusannah
Plays Oh Susannah.
23. PlayIHaveADoll
Plays I Have A Doll.
24. PlayDoReMi
Plays Do Re Mi.
25. PlayTheCockroach
Plays The Cockroach.
26. StopSequence
Stop any playing sequence and release all keys.
27. ZoomIn
Zoom In (Increase key width).
28. ZoomOut
Zoom Out (Decrease key width).
Setters:
PianoView has total 11 setter properties.
1. PlayNote
Play a note by name (e.g., 'C4', 'A#5').
- Input type:
text
2. StopNote
Stop playing a note by name.
- Input type:
text
3. WhiteKeyColor
Set the color of white keys.
- Input type:
number
4. BlackKeyColor
Set the color of black keys.
- Input type:
number
5. PressedKeyColor
Set the highlight color when a key is pressed.
- Input type:
number
6. Enable3D
Enable or disable 3D style.
- Input type:
boolean
7. Instrument
Set the musical instrument (0=Piano, 1=Organ, 2=Flute, 3=Guitar).
- Input type:
number - Helper type:
Type - Helper enums:
Piano,Organ,Flute,Guitar
8. KeyWidth
Set key width manually.
- Input type:
number
9. ShowLabels
Show note names on keys.
- Input type:
boolean
10. LabelColor
Set the color of the note labels.
- Input type:
number
11. LabelTextSize
Set the text size of the labels.
- Input type:
number
Thanks
Feel free to contact us any quarry or suggestions.