Shaping a cos?

encoder audio's icon

Hi there guys,

Is there a simple method to shape the left cos to look something like the left waveform?