music synthesis

Generate a piece of music using a simple synthesizer in MATLAB,like "He's A Pirote" and "Dong Fang Hong". The synthesizer uses basic waveforms (sine, square, triangle) and allows for control over frequency, amplitude, and duration. The code includes functions to generate each waveform and play the sound using MATLAB's audio capabilities. This project serves as an introduction to digital sound synthesis and can be expanded with more complex waveforms and effects.