This lab project intends to simulate a 2D wave equation on a square mesh in real-time to produce drum-like sounds. The square mesh is generated by set of nodes arranged in a 2D planar surface. Each node exhibits the wave equation which incorporates the interaction between neighbouring nodes.
To generate a drum-like sound, an initial energy is supplied at the centre node within the mesh while all other nodes will have no energy initially. The energy then circulates through all other nodes radially outwards guided by the wave equation. The collective behaviour of all nodes together generates the drum-like sound.
One of the requirement of this project is to generate different timbers of the drums which can be selected by means of switches. Different timbers can be generated by varying the value of the physical parameter called rho (ρ) which uniquely generates different timbers. The value of rho (ρ) was made switch configurable to generate different timbers as required.