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 months ago 00:08:10 1
AI Agents Will Create MILLIONAIRES in 2025 – Are You Ready
2 months ago 00:04:49 1
Play To Earn🔥This New Play to Earn Game is About to Make a Lot of People RICH
2 months ago 00:02:01 1
Mission: Impossible – The Final Reckoning | Teaser Trailer (2025 Movie) - Tom Cruise
2 months ago 00:06:21 1
Richie Sambora Deep Purple cover When A Blind Man Cries LG — «Momentos»
2 months ago 00:01:00 1
Big Fails 😂😂😂
2 months ago 01:21:24 1
The Dark Exploitation of La Toya Jackson | Full Documentary (4K 2160p) | the detail.
2 months ago 00:21:40 1
La Toya Jackson On Michael’s Allegations | What Changed Her Mind? | the detail.