how to coding the audio output in arduino

i need someone to guiding me about the code

What kind of audio? For basic square-wave tones, see the [u]tone()[/u].

The standard Arduino (Uno, etc.) doesn't have an analog output or DAC. If you want to play MP3 or WAV files, the best solution is to get an MP3 or WAV shield, which has the DAC, audio memory, and clock, etc.

Or, there is a [u]TMRpcm[/u] library but I don't think it gives great quality.