Need simple example for I2S sound generation

I have been unable to locate a simple, practical example for generating sound using the I2S interface. For example, a program that generates an audio tone (sine wave). I’m working with an Olimex LPC2378-STK.

I have read through the I2S documentation from NXP and others, but I can’t figure out exactly what values you’d write to the Transmit FIFO in order to generate the tone. Some form of PCM?

Sorry if this is totally obvious to everyone else. Some example code would be very helpful.