Simplified wave.
Use offset instead of index.