In this video I’ll explain you how to create a piano roll in Unity with adjustable number of octaves. We’ll create the piano programmatically and generate some sounds when pressing on the keys with a custom sound generation script I’ve created for an university project. This is a very basic way of sound generation, in the next tutorial I’ll introduce a way on how to get more authentic piano sounds!
Hope you’ll learn some new stuff in this Unity tutorial and let me know about your opinion. Also if you have any questions, just post them in the comments.
--------------------------------------------
Timetable:
What we’ll create: (0:00)
Basics about a piano: (0:37)
Setup project: (1:45)
Create UI elements: (2:02)
Create scripts, add public variables: (4:45)
Create white piano tiles: (7:55)
Create white piano tiles: (28:00)
Create sounds: (34:06)
We’re done!: (35:50)
--------------------------------------------
Github project: ht
21 view
103
23
2 weeks ago 00:46:41 41
State of Play | February 12, 2025 [English]
3 weeks ago 00:13:22 2
Most Beautiful Moments - Women’s Pole Vault Golden Roof Challenge Innsbruck 2023 Athletics
3 weeks ago 00:09:44 1
Hot Beach Day in Zurich 4K-Switzerland Summer Hot Day 2024 HDR Flori Travel
3 weeks ago 00:04:06 2
Lord Conrad - Only You (Official Video) Shuffle/Freestyle Dance Music
3 weeks ago 03:00:00 1
ZEN GARDEN MUSIC: Japanese Melodies with Female Vocals and Relaxing Visuals
3 weeks ago 00:03:12 1
The “Turn Heads & Drop Jaws“ Maxi – Strapless, Sultry & Seriously Stunning! - YouTube
3 weeks ago 00:27:55 1
Alone Again?
3 weeks ago 00:03:01 2
Singing Ringing Tree, Burnley, Lancashire
3 weeks ago 00:02:33 5
💕🎸💞 Happy Valentine’s Day!💕🌞💖 Bird in Flight! by #vagotanulo & #botoslacibacsi