Skip to content

Generate procedural sounds / synthesized paino on run time in Unity3d

License

Notifications You must be signed in to change notification settings

IRCSS/Procedural-Sound

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

13 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Realtime Procedural Audio and Synthesized Piano in Unity 3D

This repo contains code for procedurally creating sounds for your game. The example I am using is a synthized piano. You can read an indepth post here: Realtime Procedural Audio and Synthesized Piano in Unity 3D

screenshot

To try out the program simply open the Concert Hall scene in the Scenes folder. When you press play you should here the piece Deck the Halls being played. You can adjust some settings on the Pianist class (attached as a component to the piano game object), such as tempo, and whether left or right hand (treble and bass) should play. You can also play some notes on the key board your self. Which keys are mapped is listed in the Pianist class.

There are a bunch of Test scenes and scripts. These are the simplified scripts doing very specific things. The piano class has all these functionialities in it.

Known Bug: You might hear some noise the first time you play the scene after lunching the editor. It will go away by the second time.

Releases

No releases published

Packages

No packages published